Beispiel #1
0
 def __init__(self, base_xml_widget, base_file_widget, tab_widget, project):
     AbstractManager.__init__(self, base_xml_widget, tab_widget, project,
                              'data_manager')
     self.xml_controller = XmlController_DataTools(self)
     self.file_tree = FileController_OpusData(self,
                                              self.project.data_path(),
                                              base_file_widget)
 def __init__(self,
              xml = '<opus_project> <manager /> </opus_project>',
              manager_node_path = 'manager',
              opus_project = None):
     self.app = QtGui.QApplication([], True)
     base_widget = QtGui.QWidget()
     base_widget.setLayout(QtGui.QVBoxLayout())
     base_tab_widget = QtGui.QTabWidget(base_widget)
     project = MockupOpusProject(xml) if not opus_project else opus_project
     AbstractManager.__init__(self, base_widget, base_tab_widget, project, manager_node_path)
Beispiel #3
0
 def __init__(self,
              xml='<opus_project> <manager /> </opus_project>',
              manager_node_path='manager',
              opus_project=None):
     self.app = QtGui.QApplication([], True)
     base_widget = QtGui.QWidget()
     base_widget.setLayout(QtGui.QVBoxLayout())
     base_tab_widget = QtGui.QTabWidget(base_widget)
     project = MockupOpusProject(xml) if not opus_project else opus_project
     AbstractManager.__init__(self, base_widget, base_tab_widget, project,
                              manager_node_path)
Beispiel #4
0
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project,
                              'general')
     self.xml_controller = XmlController_General(self)
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project, "model_manager")
     self.xml_controller = XmlController_Models(self)
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project,
                              'results_manager')
     self.resultBrowser = None
     self.xml_controller = XmlController_Results(self)
 def __init__(self, base_xml_widget, base_file_widget, tab_widget, project):
     AbstractManager.__init__(self, base_xml_widget, tab_widget, project, 'data_manager')
     self.xml_controller = XmlController_DataTools(self)
     self.file_tree = FileController_OpusData(self, self.project.data_path(), base_file_widget)
Beispiel #8
0
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project,
                              'scenario_manager')
     self.xml_controller = XmlController_Scenarios(self)
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project, 'general')
     self.xml_controller = XmlController_General(self)
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project,
                              'scenario_manager')
     self.xml_controller = XmlController_Scenarios(self)
 def __init__(self, base_widget, tab_widget, project):
     AbstractManager.__init__(self, base_widget, tab_widget, project,
                              'model_manager')
     self.xml_controller = XmlController_Models(self)