|
RTC Toolkit 6.0.0
|
Provides controller for the widget declared in modecmdswidget_ui. More...
Public Member Functions | |
| __init__ (self, parent=None, designMode=False) | |
| Initialises the Widget. | |
| on_refreshPushButton_clicked (self) | |
| This method invokes the GetAvailableModes, GetActiveModes and GetDeferredModes commands and fills the TableWidget. | |
| on_setModesPushButton_clicked (self) | |
| Collect data from TableWidget and prepares JSON payload for SetModes Command. | |
| on_setDeferredModesPushButton_clicked (self) | |
| Collect data from TableWidget and prepares JSON payload for SetDeferredModes Command. | |
Public Attributes | |
| ui = Ui_ModeCmdsWidget() | |
Provides controller for the widget declared in modecmdswidget_ui.
It is a TaurusWidget implementation, that uses a TaurusDevice model. The initialise method sets all Taurus children models to the same one as this.
IMPORTANT This widget does not use TaurusCommandButton intentionally.
Multiples invocations to different methods and the parsing of their replies are required. This is the reason it does not use RtctkBaseWidget.
| modecmdswidget.ModeCmdsWidget.__init__ | ( | self, | |
| parent = None, | |||
| designMode = False ) |
Initialises the Widget.
This widget takes its UI definition from a Qt UI file.
| [in] | parent | QWidget that will be the parent of this widget |
| [in] | designMode | Used by the Qt Designer to avoid undesirable interactions. |
| modecmdswidget.ModeCmdsWidget.on_refreshPushButton_clicked | ( | self | ) |
This method invokes the GetAvailableModes, GetActiveModes and GetDeferredModes commands and fills the TableWidget.
This method is automatically connected to the matching button during the self.ui.setupUi(self) in the init method. This is called autoconnections.
| modecmdswidget.ModeCmdsWidget.on_setDeferredModesPushButton_clicked | ( | self | ) |
Collect data from TableWidget and prepares JSON payload for SetDeferredModes Command.
This method is automatically connected to the matching button during the self.ui.setupUi(self) in the init method. This is called autoconnections.
| modecmdswidget.ModeCmdsWidget.on_setModesPushButton_clicked | ( | self | ) |
Collect data from TableWidget and prepares JSON payload for SetModes Command.
This method is automatically connected to the matching button during the self.ui.setupUi(self) in the init method. This is called autoconnections.
| modecmdswidget.ModeCmdsWidget.ui = Ui_ModeCmdsWidget() |