コード例 #1
0
ファイル: app.py プロジェクト: nxsofsys/dice-dev
    def load_internal(self):
        """
        Called before load(). Do not override this method, as it is needed by the app system.
        This is an internal method, not intended for other uses.

        All connections needed by the BasicApp need to be created here, so they are in the QML thread.
        """
        QMLHelper.load_internal(self)
        self.instance_name_changed.connect(self.on_instance_name_changed)
        self.status_changed.connect(self.on_status_changed)
        self.input_apps_changed.connect(self.on_input_apps_changed)
        self.call_finished.connect(self.process_finished_call, type=Qt.QueuedConnection)
コード例 #2
0
ファイル: app.py プロジェクト: dicehub/dice-dev-legacy
    def load_internal(self):
        """
        Called before load(). Do not override this method, as it is needed by the app system.
        This is an internal method, not intended for other uses.

        All connections needed by the BasicApp need to be created here, so they are in the QML thread.
        """
        QMLHelper.load_internal(self)
        self.instance_name_changed.connect(self.on_instance_name_changed)
        self.status_changed.connect(self.on_status_changed)
        self.input_apps_changed.connect(self.on_input_apps_changed)
        self.call_finished.connect(self.process_finished_call,
                                   type=Qt.QueuedConnection)
コード例 #3
0
ファイル: app.py プロジェクト: dicehub/dice-dev-legacy
    def __init__(self, parent, instance_name, status):
        QObject.__init__(self, parent)
        QMLHelper.__init__(self)
        VisApp.__init__(self)

        self.__instance_name = instance_name
        self.__status = status

        self.__callbacks = {}

        self.__tmp_path = None

        self.__input_apps = []
        self.__output_apps = []

        self.config = None

        self.__in_loop = False
        self.__iteration = 1

        self.__worker = AppWorker(self)
        self.__worker.start()

        self.running_procs = []
コード例 #4
0
ファイル: app.py プロジェクト: nxsofsys/dice-dev
    def __init__(self, parent, instance_name, status):
        QObject.__init__(self, parent)
        QMLHelper.__init__(self)
        VisApp.__init__(self)

        self.__instance_name = instance_name
        self.__status = status

        self.__callbacks = {}

        self.__tmp_path = None

        self.__input_apps = []
        self.__output_apps = []

        self.config = None

        self.__in_loop = False
        self.__iteration = 1

        self.__worker = AppWorker(self)
        self.__worker.start()

        self.running_procs = []