trigger.utils.shape_transfer.ui =============================== .. py:module:: trigger.utils.shape_transfer.ui Attributes ---------- .. autoapisummary:: trigger.utils.shape_transfer.ui.LOG trigger.utils.shape_transfer.ui.WINDOWNAME Classes ------- .. autoapisummary:: trigger.utils.shape_transfer.ui.DoubleSlider trigger.utils.shape_transfer.ui.MainUI trigger.utils.shape_transfer.ui.ProtocolWidget Functions --------- .. autoapisummary:: trigger.utils.shape_transfer.ui.launch Module Contents --------------- .. py:class:: DoubleSlider(*args, **kargs) Bases: :py:obj:`trigger.ui.Qt.QtWidgets.QSlider` .. py:method:: emitDoubleValueChanged() .. py:method:: map_to_original(value) map the value from slider range (0-100) to the original range .. py:method:: map_to_slider(value) map the value from original range to the slider range (0-100) .. py:method:: setMaximum(value) .. py:method:: setMinimum(value) .. py:method:: setSingleStep(value) .. py:method:: setValue(value) .. py:method:: set_original_maximum(value) .. py:method:: set_original_minimum(value) .. py:method:: singleStep() .. py:method:: value() .. py:attribute:: doubleValueChanged .. py:class:: MainUI(parent=None) Bases: :py:obj:`trigger.ui.Qt.QtWidgets.QMainWindow` .. py:method:: build_bars() Build the menu and status bars. .. py:method:: build_buttons() Build command buttons. .. py:method:: build_commons() Build the commons section. .. py:method:: build_general_settings() Build generic settings. .. py:method:: build_transfer_tabs() Create a tabbed layout for the transfer protocols. .. py:method:: build_ui() Build the UI. .. py:method:: on_preview(state) Set the preview mode on the transfer handler. .. py:method:: on_source_visibility(value) Set visibility of all sources on all protocols. .. py:method:: on_target_visibility(value) Set visibility of all sources on all protocols. .. py:method:: on_transfer() Run the transfer and inform the user about the progress and result. .. py:method:: set_protocol(*args, **kwargs) Set the active protocol on shape_transfer object according to the active tab and protocol combo box. .. py:class:: ProtocolWidget(protocol_object) Bases: :py:obj:`trigger.ui.Qt.QtWidgets.QWidget` Custom Layout for protocol properties. .. py:method:: build_layout() Build the layout. .. py:method:: initialize_values() Get the values from the protocol object and update the widgets. .. py:method:: setVisible(visible) Override the setVisible method to set the layout visible and the protocol visible. .. py:attribute:: excluded_property_names :value: ['visibility', 'source_visibility', 'target_visibility'] .. py:function:: launch(force=True) .. py:data:: LOG .. py:data:: WINDOWNAME :value: 'Shape Transfer v1.0.0'