Пример #1
0
    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
    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)