|
cut 3.3.0
|
Taurus widget for QeStateDetailed that implementes Taurus databinding. More...
Public Member Functions | |
| __init__ (self, Qt.QWidget parent=None) | |
| Initializes the TaurusStateDetailed widget. | |
| TaurusBaseController | controller (self) |
| Returns the controller object for this widget. | |
| handleEvent (self, Attribute evt_src, TaurusEventType evt_type, TaurusAttrValue evt_value) | |
| Events sent to the widget are checked for the value, and set as the stateString of the QeStateDetailed widget. | |
| isReadOnly (self) | |
| This widget is read only. | |
| 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. | |
| getQtDesignerPluginInfo (cls) | |
| Provides Qt Designer with widget information. | |
Public Member Functions inherited from QeStateDetailed | |
| QeStateDetailed (QWidget *parent=nullptr) | |
| Constructor for the QeStateDetailed class. | |
| QString | getStateString () |
| Gets the stateString property. | |
| QString | getState () |
| Returns the parsed state. | |
| QStringList | getOrthogonalStates () |
| Returns a list of strings that contains the separated orthogonal state. | |
| QString | getOrthogonalSep () |
| Returns the separator used to parse between Orthogonal regions. | |
| QString | getSubstateSep () |
| Returns the separator used to parse between States whithin an orthogonal region. | |
| QStringList | getSubStates () const |
| Returns list of parsed sub states. | |
| int | spacing () const |
| Returns the ammount of pixels left as spacing between states. | |
| QString | getPositiveWords () const |
| Gets the list of positive words. | |
| QString | getWarningWords () const |
| Gets the list of warning words. | |
| QString | getNegativeWords () const |
| Gets the list of negative words. | |
| QString | getNeutralWords () const |
| Gets the list of neutral words. | |
| QString | getOffWords () const |
| Gets the list of off words. | |
| QString | getInitialisingWords () const |
| Gets the list of initialiasing words. | |
| bool | getPopupMode () const |
| Returns if this instance of the widget is acting as a popup. | |
| void | setSubstateSep (QString newValue) |
| Defines which separator is to be used between Substates. | |
| void | setSpacing (int spacing) |
| Sets the spacing property. | |
| void | setPositiveWords (QString positiveWords) |
| Sets the positve words property. | |
| void | setWarningWords (QString warningWords) |
| Sets the warning words property. | |
| void | setNegativeWords (QString negativeWords) |
| Sets the negative words property. | |
| void | setNeutralWords (QString neutralWords) |
| Sets the neutral words property. | |
| void | setOffWords (QString offWords) |
| Sets the off words property. | |
| void | setInitialisingWords (QString initialisingWords) |
| Sets the initialising words property. | |
| void | setPopupMode (bool popupMode) |
| Sets the operation mode for the widget. | |
Static Public Attributes | |
| model = Qt.Property("QString", TaurusBaseWidget.getModel, setModel, TaurusBaseWidget.resetModel) | |
| This property holds the unique URI string representing the model name with which this widget will get its data from. | |
| fgRole = Qt.Property("QString", getFgRole, setFgRole, resetFgRole, doc="foreground role") | |
| This property holds the foreground role. | |
| bgRole = Qt.Property("QString", getBgRole, setBgRole, resetBgRole, doc="background role") | |
| This property holds the background role. | |
Additional Inherited Members | |
Public Slots inherited from QeStateDetailed | |
| void | setStateString (QString newValue) |
| Main setter of the QeState widget. | |
| void | setOrthogonalSep (QString newValue) |
| Defines which separator is to be used between Orthogonal regions. | |
Signals inherited from QeStateDetailed | |
| void | stateStringChanged (QString newValue) |
| Indicates a change in the stateString property. | |
| void | stateChanged (QString newValue) |
| Indicates a change in the state property. | |
| void | orthogonalStatesChanged (QStringList newValue) |
| Indicates a change in the orthogonalStates property. | |
| void | orthogonalSepChanged (QString newValue) |
| Indicates a change in the orthogonal separator property. | |
| void | substateSepChanged (QString newValue) |
| Indicates a change in the substate separator property. | |
| void | subStatesChanged (QStringList subStates) |
| Indicates a change in the substates property. | |
| void | positiveWordsChanged (QString positiveWords) |
| Indicates a change in the positiveWords property. | |
| void | warningWordsChanged (QString warningWords) |
| Indicates a change in the warningWords property. | |
| void | negativeWordsChanged (QString negativeWords) |
| Indicates a change in the negativeWords property. | |
| void | neutralWordsChanged (QString neutralWords) |
| Indicates a change in the neutralWords property. | |
| void | offWordsChanged (QString offWords) |
| Indicates a change in the offWords property. | |
| void | initialisingWordsChanged (QString initialisingWords) |
| Indicates a change in the initialisingWords property. | |
| void | popupModeChanged (bool popupMode) |
| Indicates when the popupMode has changed. | |
Properties inherited from QeStateDetailed | |
| QString | stateString |
| Communicates the widget of the string that contains the state information. | |
| QString | state |
| Read-only property that contains the state of the component/application after interpretation of the stateString. | |
| QStringList | orthogonalStates |
| Orthogonal regions states, in a list. | |
| QStringList | subStates |
| Substates in a list. | |
| QString | orthogonalSep |
| Orthogonal Regions separator. | |
| QString | substateSep |
| Substates separator. | |
| int | spacing |
| Separation in pixels between one state and the next. | |
| QString | initialisingWords |
| Words considered for Initialising color (normally yellow), space separated. | |
| QString | positiveWords |
| Words considered for Positive color (normally green), space separated. | |
| QString | warningWords |
| Words considered for Warning color (normally orange), space separated. | |
| QString | negativeWords |
| Words considered for Negative color (normally red), space separated. | |
| QString | neutralWords |
| Words considered for Neutral color (normally blue), space separated. | |
| QString | offWords |
| Words considered for Off color (normally grey), space separated. | |
| bool | popupMode |
| Identifies this widget as a popup to a particular QeState. | |
Taurus widget for QeStateDetailed that implementes Taurus databinding.
The bgRole (background color) is automatically assign to the quality of the attribute.
| taurus.taurusstatedetailed.TaurusStateDetailed.__init__ | ( | self, | |
| Qt.QWidget | parent = None ) |
Initializes the TaurusStateDetailed widget.
| parent | Parent QWidget |
| TaurusBaseController taurus.taurusstatedetailed.TaurusStateDetailed.controller | ( | self | ) |
Returns the controller object for this widget.
| taurus.taurusstatedetailed.TaurusStateDetailed.getQtDesignerPluginInfo | ( | cls | ) |
Provides Qt Designer with widget information.
Return: dict Dictionary with values for keys: icon, module, container, tool_tip and xml.
| taurus.taurusstatedetailed.TaurusStateDetailed.handleEvent | ( | self, | |
| Attribute | evt_src, | ||
| TaurusEventType | evt_type, | ||
| TaurusAttrValue | evt_value ) |
Events sent to the widget are checked for the value, and set as the stateString of the QeStateDetailed widget.
Overrides TaurusBaseWidget.handleEvent()
| evt_src | Source of the event (taurus.Attribute) |
| evt_type | Type of the event |
| evt_value | Value of the event |
|
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: