cut 3.3.0
Loading...
Searching...
No Matches
taurus.tauruscommandcombobox.TaurusCommandComboBox Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ getQtDesignerPluginInfo()

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.

◆ on_current_text_changed()

taurus.tauruscommandcombobox.TaurusCommandComboBox.on_current_text_changed ( self,
current_command )

Slot invoked when user selects command from ComboBox.

Parameters
current_commandCommand selected in commandsComboBox

◆ save_last_sent_param()

taurus.tauruscommandcombobox.TaurusCommandComboBox.save_last_sent_param ( self,
param )

Saves sent parameter in paramsComboBox.

Parameters
paramThe most recent argument that has been sent

◆ send_command()

taurus.tauruscommandcombobox.TaurusCommandComboBox.send_command ( self,
command,
param = [] )

Send command using command_inout from TaurusMalDevice.

Parameters
commandcommand to be executed
paramparameters to be passed

◆ setModel()

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


The documentation for this class was generated from the following file: