taurus taurus

Previous topic

TaurusFallBackWidget

Next topic

TaurusLCDValue

This Page

TaurusLCD

Inheritance diagram of TaurusLCD

class TaurusLCD(parent=None, designMode=False)

Bases: PyQt4.QtGui.QLCDNumber, taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget

DefaultBgRole = 'quality'
DefaultFgRole = 'value'
DefaultModelIndex = None
DefaultShowText = True
bgRole

This property holds the background role. Valid values are ‘’/’None’, ‘quality’, ‘state’

Access functions:

controller()
fgRole

This property holds the foreground role. Valid values are:

  1. ‘’/’None’ - no value is displayed
  2. ‘value’ - the value is displayed
  3. ‘w_value’ - the write value is displayed

Access functions:

getBgRole()
getFgRole()
getModelIndex()
getModelIndexValue()
classmethod getQtDesignerPluginInfo()
handleEvent(evt_src, evt_type, evt_value)
isReadOnly()
model

This property holds the unique URI string representing the model name with which this widget will get its data from. The convention used for the string can be found here.

In case the property useParentModel is set to True, the model text must start with a ‘/’ followed by the attribute name.

Access functions:

See also

model concept

modelIndex

This property holds the index inside the model value that should be displayed

Access functions:

See also

model concept

resetBgRole()
resetFgRole()
resetModelIndex()
setBgRole(bgRole)
setFgRole(fgRole)
setModel(m)
setModelIndex(modelIndex)
useParentModel

This property holds whether or not this widget should search in the widget hierarchy for a model prefix in a parent widget.

Access functions:

  • TaurusBaseWidget.getUseParentModel()
  • TaurusBaseWidget.setUseParentModel()
  • TaurusBaseWidget.resetUseParentModel()

See also

model concept