TaurusStateLabel

Inheritance diagram of TaurusStateLabel

class TaurusStateLabel(parent=None, designMode=False)[source]

Bases: taurus.qt.qtgui.display.taurusvaluelabel.TaurusValueLabel

Deprecated since version Use: taurus.qt.qtgui.display.TaurusLabel instead.

getFormatedToolTip(cache=True, **notused)[source]

The tooltip should refer to the device and not the state attribute. That is why this method is being rewritten

classmethod getQtDesignerPluginInfo()[source]
model

Returns the model name for this component.

Return type::class:~`str`
Returns:the model name.
setModel(model)[source]

Added to allow setModel(device_name); assuming that State attribute is the desired model. To inherit the parent model but with a non ‘State’ named attribute, use slash: ‘/TheAttribute’