RTC Toolkit 4.0.1
|
Provides controller for the widget declared in meascmdswidget_ui. More...
Public Member Functions | |
def | __init__ (self, parent=None, designMode=False) |
Initializes the Widget. | |
def | on_messagePlainTextEdit_textChanged (self) |
Slot to set the JSON Payload in the TaurusCommandButton. | |
def | setModel (self, model) |
Sets the model, a URI that indicates which TaurusDevice this widget will connect to. | |
def | on_measureTaurusCommandButton_commandExecuted (self, object) |
Slot for commandExecuted signal. | |
Public Attributes | |
ui | |
Static Public Attributes | |
Signal | commandReplied = Signal(str) |
Used to propagate a string with the result of an RR call. | |
Provides controller for the widget declared in meascmdswidget_ui.
It is a TaurusWidget implementation, that uses a TaurusDevice model. The initializator sets all Taurus childrens model to the same as this.
This means that all TaurusCommandButton have access to the methods from the TaurusDevice: aka: RTC Component.
def meascmdswidget.MeasCmdsWidget.__init__ | ( | self, | |
parent = None , |
|||
designMode = False |
|||
) |
Initializes 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. |
def meascmdswidget.MeasCmdsWidget.on_measureTaurusCommandButton_commandExecuted | ( | self, | |
object | |||
) |
Slot for commandExecuted signal.
It gets invoked when the command defined in runTaurusCommandButton finishes execution.
This method is automatically connected to the matching button during the self.ui.setupUi(self) in the init method. This is called autoconnections.
[in] | object | Python object (any) that is the return value of the command. |
def meascmdswidget.MeasCmdsWidget.on_messagePlainTextEdit_textChanged | ( | self | ) |
Slot to set the JSON Payload in the TaurusCommandButton.
This method is automatically connected to the matching button during the self.ui.setupUi(self) in the init method. This is called autoconnections.
def meascmdswidget.MeasCmdsWidget.setModel | ( | self, | |
model | |||
) |
Sets the model, a URI that indicates which TaurusDevice this widget will connect to.
[in] | model | str with the URI of the TaurusDevice/RTC Component. |
|
static |
Used to propagate a string with the result of an RR call.
meascmdswidget.MeasCmdsWidget.ui |