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