def __init__(self, name, handle): self.handle = handle self.handle.set_color_cycle(self.colors) self.config = Config.Instance().view('plot.' + name)
def __init__(self): self._materials = {} self.config = Config.Instance()
def __init__(self, name, parent): super(BasePlotOptionWidget, self).__init__(parent) ui_name = name if name.isupper() else name.title() uic.loadUi('gui/plots/ui_plot' + ui_name + '.ui', self) self.config = Config.Instance().view('plot.' + name) self.initialise_options()
def __init__(self, parent): self.parent = parent self.materials = MaterialLibrary.Instance() self.config = Config.Instance() super(Wizard, self).__init__()