def __init__(self, parent=None, showVolumesFrame=False, activeTools=("DefaultTool", "DrawEffect", "RectangleEffect", "EraseLabel", "PreviousCheckPoint", "NextCheckPoint")): """Constructor. Just invokes the parent's constructor""" self.activeTools = activeTools # self.__masterVolume__ = scalarNode # self.__labelmapVolume__ = labelmapNode EditorWidget.__init__(self, parent, showVolumesFrame)
def __init__(self, parent=None, showVolumesFrame=True, activeTools=("DefaultTool", "PaintEffect", "DrawEffect", "LevelTracingEffect", "RectangleEffect", "EraseLabel", "PreviousCheckPoint", "NextCheckPoint")): """Constructor. Just invokes the parent's constructor""" self.activeTools = activeTools EditorWidget.__init__(self, parent, showVolumesFrame)