|
cut 3.3.0
|
A widget that converts timestamp to desired reference frame and displays it according to desired formatting. More...
Public Member Functions | |
| __init__ (self, parent=None, designMode=False) | |
| Initializes the object with defaults values, and obtains the appropiate controller. | |
| controller (self) | |
| Returns the controller object for this widget. | |
| isReadOnly (self) | |
| This widget is only capable of displaying data, but not writing. | |
| setModel (self, m) | |
| Setter for the model property. | |
| getModelIndexValue (self) | |
| Gets the value of the modelIndex property. | |
| getModelIndex (self) | |
| Getter for the modelIndex property. | |
| setModelIndex (self, modelIndex) | |
| Getter for the modelIndex property. | |
| resetModelIndex (self) | |
| Getter for the bgRole property. | |
| getBgRole (self) | |
| Getter for the bgRole property. | |
| setBgRole (self, bgRole) | |
| Setter for the bgRole property. | |
| resetBgRole (self) | |
| Resets to the default value the bgRole property. | |
| getFgRole (self) | |
| Getter for the fgRole property. | |
| setFgRole (self, fgRole) | |
| Setter for the fgRole property. | |
| resetFgRole (self) | |
| Resets to the default value the fgRole property. | |
Static Public Attributes | |
| model | |
| This property holds the unique URI string representing the model name with which this widget will get its data from. | |
| modelIndex = Qt.Property("QString", getModelIndex, setModelIndex, resetModelIndex) | |
| This property holds the index inside the model value that should be displayed. | |
| fgRole | |
| This property holds the foreground role. | |
| bgRole | |
| This property holds the background role. | |
A widget that converts timestamp to desired reference frame and displays it according to desired formatting.
This widget presents a timestamp as UTC time with HHMMSS formatting. It uses its parent class QeClock for rendering, conversion and formatting, its parent class TaurusBaseWidget for data access.
The bgRole (background color) is automatically assign to the quality of the attribute.
| taurus.taurusclock.TaurusClock.__init__ | ( | self, | |
| parent = None, | |||
| designMode = False ) |
Initializes the object with defaults values, and obtains the appropiate controller.
| parent | Parent Widget. |
| designMode | Indicates if the widget is started within the Qt Designer |
| taurus.taurusclock.TaurusClock.controller | ( | self | ) |
Returns the controller object for this widget.
|
static |
This property holds the background role.
Valid values are None, "quality", "state"
Access functions:
|
static |
This property holds the foreground role.
Valid values are:
Access functions:
|
static |
This property holds the unique URI string representing the model name with which this widget will get its data from.
Access functions:
|
static |
This property holds the index inside the model value that should be displayed.
Access functions: