Ejemplo n.º 1
0
    def on_new_project_action_triggered(self):
        pdc = ProjectDialog(parent=self)
        try:
            path = os.path.dirname(self.signal_tab_controller.signal_frames[0].signal.filename)
        except (IndexError, AttributeError, TypeError):
            path = None

        if path:
            pdc.set_path(path)
        pdc.finished.connect(self.on_project_dialog_finished)
        pdc.show()
Ejemplo n.º 2
0
    def on_new_project_action_triggered(self):
        pdc = ProjectDialog(parent=self)
        try:
            path = os.path.dirname(self.signal_tab_controller.signal_frames[0].signal.filename)
        except (IndexError, AttributeError, TypeError):
            path = None

        if path:
            pdc.set_path(path)
        pdc.finished.connect(self.on_project_dialog_finished)
        pdc.show()
Ejemplo n.º 3
0
 def show_project_settings(self):
     pdc = ProjectDialog(new_project=False,
                         project_manager=self.project_manager,
                         parent=self)
     pdc.finished.connect(self.on_project_dialog_finished)
     pdc.show()
Ejemplo n.º 4
0
 def on_new_project_action_triggered(self):
     self.close_project()
     pdc = ProjectDialog(parent=self)
     pdc.finished.connect(self.on_project_dialog_finished)
     pdc.show()
Ejemplo n.º 5
0
 def show_project_settings(self):
     pdc = ProjectDialog(new_project=False, project_manager=self.project_manager, parent=self)
     pdc.finished.connect(self.on_project_dialog_finished)
     pdc.show()
Ejemplo n.º 6
0
 def on_new_project_action_triggered(self):
     pdc = ProjectDialog(parent=self)
     pdc.finished.connect(self.on_project_dialog_finished)
     pdc.show()