예제 #1
0
 def __init__(self, name, handle):
     self.handle = handle
     self.handle.set_color_cycle(self.colors)
     self.config = Config.Instance().view('plot.' + name)
예제 #2
0
 def __init__(self):
     self._materials = {}
     self.config = Config.Instance()
예제 #3
0
 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()
예제 #4
0
 def __init__(self, parent):
     self.parent = parent
     self.materials = MaterialLibrary.Instance()
     self.config = Config.Instance()
     super(Wizard, self).__init__()