Esempio n. 1
0
    def __init__(self):

        self.app = QApplication.instance()

        print("INITIALISING SET LAYER SURFACE CLASS")
        self.proj = get_current_project()
        layer_tree = self.get_layer_tree()
        self.selected_idxs = layer_tree.selectedIndexes()
Esempio n. 2
0
def submitToDeadline():
    global proj
    proj = mochaProject.get_current_project()
    if proj == None:
        QMessageBox.critical(
            None, "Error",
            "No project is open. Please open a Mocha project before submitting a job to Deadline."
        )
        return

    form = DeadlineDialog()
    form.exec_()
Esempio n. 3
0
 def __init__(self, parent=main_window):
     if sys.version[0] == 3:
         super().__init__(parent)  # initialise using Python 3
     else:
         super(FrameJump,
               self).__init__(parent)  # initialise using Python 2
     self._widgets = dict()
     self.create_widgets()
     self.create_layout()
     self.create_connections()
     self.proj = get_current_project()
     self.setWindowFlags(Qt.Tool)
Esempio n. 4
0
 def __init__(self, parent=None):
     self.proj = get_current_project()