|
cut 3.3.0
|
A widget that provides a generic solution to interact with MAL servers. More...
Public Member Functions | |
| on_send_clicked (self) | |
| Slot invoked when user clicks 'Send' button. | |
| on_current_text_changed (self, current_command) | |
| Slot invoked when user selects command from ComboBox. | |
| send_command (self, command, param=[]) | |
| Send command using command_inout from TaurusMalDevice. | |
| save_last_sent_param (self, param) | |
| Saves sent parameter in paramsComboBox. | |
| setModel (self, str new_model) | |
| Calls the parent's class setModel, and then uses the modelObj to gain access to the resulting TaurusDevice. | |
| getQtDesignerPluginInfo (cls) | |
| Provides Qt Designer with widget information. | |
A widget that provides a generic solution to interact with MAL servers.
It supports displaying the list of available commands in a QComboBox, entering parameters if nedded, and requesting the command execution to the server.
| taurus.tauruscommandcombobox.TaurusCommandComboBox.getQtDesignerPluginInfo | ( | cls | ) |
Provides Qt Designer with widget information.
Return: dict Dictionary with values for keys: icon, module, container, tool_tip and xml.
| taurus.tauruscommandcombobox.TaurusCommandComboBox.on_current_text_changed | ( | self, | |
| current_command ) |
Slot invoked when user selects command from ComboBox.
| current_command | Command selected in commandsComboBox |
| taurus.tauruscommandcombobox.TaurusCommandComboBox.save_last_sent_param | ( | self, | |
| param ) |
Saves sent parameter in paramsComboBox.
| param | The most recent argument that has been sent |
| taurus.tauruscommandcombobox.TaurusCommandComboBox.send_command | ( | self, | |
| command, | |||
| param = [] ) |
Send command using command_inout from TaurusMalDevice.
| command | command to be executed |
| param | parameters to be passed |
| taurus.tauruscommandcombobox.TaurusCommandComboBox.setModel | ( | self, | |
| str | new_model ) |
Calls the parent's class setModel, and then uses the modelObj to gain access to the resulting TaurusDevice.
When sucessfull, fills queries the devices for its methods and fills the combobox