cut  1.2.2-pre1
Public Member Functions | Static Public Attributes | List of all members
taurus.TaurusHmsLabel.TaurusHmsLabel Class Reference

A widget that render an angle expressed in radians as HH:MM:SS.sss notation. More...

Inheritance diagram for taurus.TaurusHmsLabel.TaurusHmsLabel:

Public Member Functions

def __init__ (self, parent=None, designMode=False)
 
def controller (self)
 
def handleEvent (self, evt_src, evt_type, evt_value)
 
def isReadOnly (self)
 
def setModel (self, m)
 
def getModelIndexValue (self)
 
def getModelIndex (self)
 
def setModelIndex (self, modelIndex)
 
def resetModelIndex (self)
 
def getBgRole (self)
 
def setBgRole (self, bgRole)
 
def resetBgRole (self)
 
def getFgRole (self)
 
def setFgRole (self, fgRole)
 
def resetFgRole (self)
 
def getQtDesignerPluginInfo (cls)
 

Static Public Attributes

string DefaultBgRole = 'quality'
 
string DefaultFgRole = 'value'
 
bool DefaultShowText = True
 
 DefaultModelIndex = None
 
 model
 
 useParentModel
 
 modelIndex
 
 fgRole
 
 bgRole
 

Detailed Description

A widget that render an angle expressed in radians as HH:MM:SS.sss notation.

This widget presents a number in radians, as its notation in DD:MM:SS.sss. It uses its parent class QeHmsLabel for rendering, its parent class TaurusBaseWidget for data access.

The user may only need to set the model property of an object of this class to an appropiate URI that identifies a scalar float or double.

The bgRole (background color) is automatically assign to the quality of the attribute.

See also
QeHmsLabel https://taurus-scada.org/devel/api/taurus.qt.qtgui.base-TaurusBaseWidget.html

Constructor & Destructor Documentation

◆ __init__()

def taurus.TaurusHmsLabel.TaurusHmsLabel.__init__ (   self,
  parent = None,
  designMode = False 
)

Member Function Documentation

◆ controller()

def taurus.TaurusHmsLabel.TaurusHmsLabel.controller (   self)

◆ getBgRole()

def taurus.TaurusHmsLabel.TaurusHmsLabel.getBgRole (   self)

◆ getFgRole()

def taurus.TaurusHmsLabel.TaurusHmsLabel.getFgRole (   self)

◆ getModelIndex()

def taurus.TaurusHmsLabel.TaurusHmsLabel.getModelIndex (   self)

◆ getModelIndexValue()

def taurus.TaurusHmsLabel.TaurusHmsLabel.getModelIndexValue (   self)

◆ getQtDesignerPluginInfo()

def taurus.TaurusHmsLabel.TaurusHmsLabel.getQtDesignerPluginInfo (   cls)

◆ handleEvent()

def taurus.TaurusHmsLabel.TaurusHmsLabel.handleEvent (   self,
  evt_src,
  evt_type,
  evt_value 
)

◆ isReadOnly()

def taurus.TaurusHmsLabel.TaurusHmsLabel.isReadOnly (   self)

◆ resetBgRole()

def taurus.TaurusHmsLabel.TaurusHmsLabel.resetBgRole (   self)

◆ resetFgRole()

def taurus.TaurusHmsLabel.TaurusHmsLabel.resetFgRole (   self)

◆ resetModelIndex()

def taurus.TaurusHmsLabel.TaurusHmsLabel.resetModelIndex (   self)

◆ setBgRole()

def taurus.TaurusHmsLabel.TaurusHmsLabel.setBgRole (   self,
  bgRole 
)

◆ setFgRole()

def taurus.TaurusHmsLabel.TaurusHmsLabel.setFgRole (   self,
  fgRole 
)

◆ setModel()

def taurus.TaurusHmsLabel.TaurusHmsLabel.setModel (   self,
  m 
)

◆ setModelIndex()

def taurus.TaurusHmsLabel.TaurusHmsLabel.setModelIndex (   self,
  modelIndex 
)

Member Data Documentation

◆ bgRole

taurus.TaurusHmsLabel.TaurusHmsLabel.bgRole
static
Initial value:
= Qt.pyqtProperty("QString", getBgRole, setBgRole,
resetBgRole,
#doc="background role"
)

◆ DefaultBgRole

string taurus.TaurusHmsLabel.TaurusHmsLabel.DefaultBgRole = 'quality'
static

◆ DefaultFgRole

string taurus.TaurusHmsLabel.TaurusHmsLabel.DefaultFgRole = 'value'
static

◆ DefaultModelIndex

taurus.TaurusHmsLabel.TaurusHmsLabel.DefaultModelIndex = None
static

◆ DefaultShowText

bool taurus.TaurusHmsLabel.TaurusHmsLabel.DefaultShowText = True
static

◆ fgRole

taurus.TaurusHmsLabel.TaurusHmsLabel.fgRole
static
Initial value:
= Qt.pyqtProperty("QString", getFgRole, setFgRole,
resetFgRole,
#doc="foreground role"
)

◆ model

taurus.TaurusHmsLabel.TaurusHmsLabel.model
static
Initial value:
= Qt.pyqtProperty("QString", TaurusBaseWidget.getModel, setModel,
TaurusBaseWidget.resetModel)

◆ modelIndex

taurus.TaurusHmsLabel.TaurusHmsLabel.modelIndex
static
Initial value:
= Qt.pyqtProperty(
"QString", getModelIndex, setModelIndex, resetModelIndex)

◆ useParentModel

taurus.TaurusHmsLabel.TaurusHmsLabel.useParentModel
static
Initial value:
= Qt.pyqtProperty("bool", TaurusBaseWidget.getUseParentModel,
TaurusBaseWidget.setUseParentModel,
TaurusBaseWidget.resetUseParentModel)

The documentation for this class was generated from the following file: