How to use the harvesters._private.frontend.pyqt5.attribute_controller.AttributeController function in harvesters

To help you get started, we’ve selected a few harvesters examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github genicam / harvesters / harvesters / _private / frontend / pyqt5 / attribute_controller.py View on Github external
self._view.collapseAll()

    def resize_column_width(self):
        for i in range(self._model.columnCount()):
            self._view.resizeColumnToContents(i)

    def action_on_expand_all(self):
        self.expand_all()

    def action_on_collapse_all(self):
        self.collapse_all()


if __name__ == '__main__':
    app = QApplication(sys.argv)
    about = AttributeController()
    about.show()
    sys.exit(app.exec_())
github genicam / harvesters / src / harvesters / frontend / pyqt5.py View on Github external
#
        self.iam.thread_image_acquisition = PyQtThread(
            parent=self, mutex=self.mutex
        )
        self.iam.thread_statistics_measurement = PyQtThread(
            parent=self, mutex=self.mutex
        )

        self.iam.updated_statistics = self._signal_update_statistics
        self.iam.signal_stop_image_acquisition = self._signal_stop_image_acquisition

        try:
            if self.iam.device.node_map:
                self._widget_attribute_controller = \
                    AttributeController(
                        self.iam.device.node_map,
                        parent=self
                    )
        except AttributeError:
            pass

        #
        self.canvas.iam = self.iam
github genicam / harvesters / harvesters / frontend / pyqt5.py View on Github external
#
        self.iam.thread_image_acquisition = PyQtThread(
            parent=self, mutex=self.mutex
        )
        self.iam.thread_statistics_measurement = PyQtThread(
            parent=self, mutex=self.mutex
        )

        self.iam.updated_statistics = self._signal_update_statistics
        self.iam.signal_stop_image_acquisition = self._signal_stop_image_acquisition

        try:
            if self.iam.device.node_map:
                self._widget_attribute_controller = \
                    AttributeController(
                        self.iam.device.node_map,
                        parent=self
                    )
        except AttributeError:
            pass

        #
        self.canvas.iam = self.iam