RTC Toolkit 4.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
modecmdswidget.ModeCmdsWidget Class Reference

Provides controller for the widget declared in modecmdswidget_ui. More...

Inheritance diagram for modecmdswidget.ModeCmdsWidget:

Public Member Functions

def __init__ (self, parent=None, designMode=False)
 Initializes the Widget.
 
def setModel (self, model)
 Sets the model, a URI that indicates which TaurusDevice this widget will connect to.
 
def on_refreshPushButton_clicked (self)
 This method invokes the GetAvailableModes, GetActiveModes and GetDeferredModes commands and fills the TableWidget.
 
def on_setModesPushButton_clicked (self)
 Slot for commandExecuted signal.
 
def on_setDeferredModesPushButton_clicked (self)
 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.
 

Detailed Description

Provides controller for the widget declared in modecmdswidget_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.

Constructor & Destructor Documentation

◆ __init__()

def modecmdswidget.ModeCmdsWidget.__init__ (   self,
  parent = None,
  designMode = False 
)

Initializes the Widget.

This widget takes its UI definition from a Qt UI file.

Parameters
[in]parentQWidget that will be the parent of this widget
[in]designModeUsed by the Qt Designer to avoid undesirable interactions.

Member Function Documentation

◆ on_refreshPushButton_clicked()

def 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.

◆ on_setDeferredModesPushButton_clicked()

def modecmdswidget.ModeCmdsWidget.on_setDeferredModesPushButton_clicked (   self)

Slot for commandExecuted signal.

It gets invoked when the command defined in recoverTaurusCommandButton 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.

◆ on_setModesPushButton_clicked()

def modecmdswidget.ModeCmdsWidget.on_setModesPushButton_clicked (   self)

Slot for commandExecuted signal.

It gets invoked when the command defined in idleTaurusCommandButton 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.

◆ setModel()

def modecmdswidget.ModeCmdsWidget.setModel (   self,
  model 
)

Sets the model, a URI that indicates which TaurusDevice this widget will connect to.

Parameters
[in]modelstr with the URI of the TaurusDevice/RTC Component.

Member Data Documentation

◆ commandReplied

Signal modecmdswidget.ModeCmdsWidget.commandReplied = Signal(str)
static

Used to propagate a string with the result of an RR call.

◆ ui

modecmdswidget.ModeCmdsWidget.ui

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