RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
rtccomponentwidget.RtcComponentTVReadWidget Class Reference

Implements the Read widget of the RtcComponentWidget. More...

Inheritance diagram for rtccomponentwidget.RtcComponentTVReadWidget:

Public Member Functions

 __init__ (self, parent=None, designMode=False)
 Initialises the Widget, setting the parent.
 
 setModel (self, str model)
 Sets the model, a URI that indicates which TaurusDevice this widget will connect to.
 
 handleEvent (self, TaurusDevice evt_src, TaurusEventType evt_type, TaurusModelValue evt_value)
 

Public Attributes

 ui = Ui_RtcComponentWidget()
 
 dynamic_widget_list = list()
 

Static Public Attributes

 layoutAlignment = Qt.AlignTop
 
dict interface_to_widget
 

Detailed Description

Implements the Read widget of the RtcComponentWidget.

This widget is used by the TaurusForm class to create the widget that belongs to the "Read" column of the grid layout of the TaurusForm.

Constructor & Destructor Documentation

◆ __init__()

rtccomponentwidget.RtcComponentTVReadWidget.__init__ ( self,
parent = None,
designMode = False )

Initialises the Widget, setting the parent.

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

◆ handleEvent()

rtccomponentwidget.RtcComponentTVReadWidget.handleEvent ( self,
TaurusDevice evt_src,
TaurusEventType evt_type,
TaurusModelValue evt_value )

◆ setModel()

rtccomponentwidget.RtcComponentTVReadWidget.setModel ( self,
str model )

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

After the model is set, it will request the list of implemented interfaces in the TaurusDevice/RTC Component, and add their specific widget implementation to a scrollarea.

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

Member Data Documentation

◆ dynamic_widget_list

rtccomponentwidget.RtcComponentTVReadWidget.dynamic_widget_list = list()

◆ interface_to_widget

dict rtccomponentwidget.RtcComponentTVReadWidget.interface_to_widget
static
Initial value:
= {
"::rtctkif::AlertCmds": AlertCmdsWidget,
"::rtctkif::FuncCmds": FuncCmdsWidget,
"::rtctkif::RecoverCmds": RecoverCmdsWidget,
"::rtctkif::UpdateCmds": UpdateCmdsWidget,
"::rtctkif::LoopCmds": LoopCmdsWidget,
"::rtctkif::MeasCmds": MeasCmdsWidget,
"::rtctkif::OptCmds": OptCmdsWidget,
"::rtctkif::SuspCmds": SuspCmdsWidget,
"::rtctkif::ModeCmds": ModeCmdsWidget,
"::rtctkif::WriteBackCmds": WriteBackCmdsWidget,
"::stdif::StdCmds": StdCmdsWidget,
}

◆ layoutAlignment

rtccomponentwidget.RtcComponentTVReadWidget.layoutAlignment = Qt.AlignTop
static

◆ ui

rtccomponentwidget.RtcComponentTVReadWidget.ui = Ui_RtcComponentWidget()

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