TaurusGroupWidget

Inheritance diagram of TaurusGroupWidget
class TaurusGroupWidget(parent=None, designMode=False)[source]

Bases: taurus.qt.qtgui.container.qcontainer.QGroupWidget, taurus.qt.qtgui.container.taurusbasecontainer.TaurusBaseContainer

This is a taurus.qt.qtgui.container.QGroupWidget that additionally accepts a model property. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import *
from taurus.qt.qtgui.display import *

widget = QGroupWidget(title="Example")
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.useParentModel = True
stateWidget.model = '/state'
applyPendingChanges()[source]
classmethod getQtDesignerPluginInfo()[source]
model

Returns the model name for this component.

Return type:str
Returns:the model name.
modelChanged
resetPendingChanges()[source]
showQuality

Returns if showing the quality as a background color

Return type:bool
Returns:True if showing the quality or False otherwise
useParentModel

Returns whether this component is using the parent model

Return type:bool
Returns:True if using parent model or False otherwise