TaurusBaseContainer

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

Bases: taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget

Base class for the Taurus container widgets. 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 = TaurusWidget()
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.useParentModel = True
stateWidget.model = '/state'
defineStyle()[source]
getPendingOperations()[source]
handleEvent(evt_src, evt_type, evt_value)[source]
hasPendingOperations()[source]
isReadOnly()[source]
resetPendingOperations()[source]
sizeHint()[source]
taurusChildren(objs=None)[source]

returns a list of all taurus children of this taurus container (recurses down skipping non-taurus widgets)

Parameters:objs (list <objects>) – if given, the search starts at the objects passed in this list
Return type:list <TaurusBaseWidget>
Returns:
updateStyle()[source]