DefaultLabelWidget

Inheritance diagram of DefaultLabelWidget
class DefaultLabelWidget(*args)[source]

Bases: taurus.qt.qtgui.display.tauruslabel.TaurusLabel

The base class used by default for showing the label of a TaurusValue.

Note

It only makes sense to use this class as a part of a TaurusValue, since it assumes that it can get a reference to a TaurusValue via the getTaurusValueBuddy() member

contextMenuEvent(event)[source]

The label widget will be used for handling the actions of the whole TaurusValue

see QWidget.contextMenuEvent()

getDisplayValue(cache=True, fragmentName=None)[source]

Reimplementation of getDisplayValue

getModelMimeData()[source]

reimplemented to use the taurusValueBuddy model instead of its own model

classmethod getQtDesignerPluginInfo()[source]
setModel(model)[source]
sizeHint()[source]