taurus taurus

Previous topic

TaurusLed

Next topic

TaurusStateLed

This Page

TaurusStateLabel

Inheritance diagram of TaurusStateLabel

class TaurusStateLabel(parent=None, designMode=False)

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

getFormatedToolTip(cache=True)

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

classmethod getQtDesignerPluginInfo()
model

Returns the model name for this component.

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

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’