def __init__(self, name, color, parent=None, pmapColor=None): ListElement.__init__(self, name, parent) self._brushColor = color if pmapColor is None: self._pmapColor = color else: self._pmapColor = pmapColor
def __init__(self, name, color, parent = None, pmapColor=None): ListElement.__init__(self, name,parent) self._brushColor = color if pmapColor is None: self._pmapColor = color else: self._pmapColor = pmapColor
def __init__(self, name, color, density=0.0, fontsize=12, linewidth=2, fontcolor=QColor(255,255,255), parent = None): ListElement.__init__(self, name, parent) self._density = density self._color = color self._fontsize=fontsize self._linewidth=linewidth self._fontcolor=fontcolor self._fixvalue=self._density # a fixed box should have this set to a particular value self._isFixed=False self._register_signals()
def __init__(self, name, color, density=0.0, fontsize=12, linewidth=2, fontcolor=QColor(255, 255, 255), parent=None): ListElement.__init__(self, name, parent) self._density = density self._color = color self._fontsize = fontsize self._linewidth = linewidth self._fontcolor = fontcolor self._fixvalue = self._density # a fixed box should have this set to a particular value self._isFixed = False self._register_signals()