|
cut 3.3.0
|
TaurusCommonModel class, it provides a quick way to set every children widget that is also a TaurusBaseWidget to a common OLDB URI prefix. More...
Public Member Functions | |
| __init__ (self, Qt.QWidget parent=None) | |
| Initializes the TaurusCommonModel object. | |
| str | getModel (self) |
| Gets the current model. | |
| setModel (self, str model) | |
| Sets/unsets the model name TaurusCommonModel. | |
| resetModel (self) | |
| Sets the model property back to its default value: an empty string. | |
Static Public Attributes | |
| modelChanged = baseSignal("modelChanged", "QString") | |
| Signal that indicates the model has changed. | |
| model = Qt.Property("QString", getModel, setModel, resetModel, notify=modelChanged) | |
| This property holds the unique URI string representing the model name with which this widget will get its data from. | |
TaurusCommonModel class, it provides a quick way to set every children widget that is also a TaurusBaseWidget to a common OLDB URI prefix.
This class inherits from TaurusBaseContainer as its provides the taurusChildren() method.
| tauruscommonmodel.TaurusCommonModel.__init__ | ( | self, | |
| Qt.QWidget | parent = None ) |
Initializes the TaurusCommonModel object.
| [in] | parent | A reference to a parent QWidget |
| str tauruscommonmodel.TaurusCommonModel.getModel | ( | self | ) |
Gets the current model.
| tauruscommonmodel.TaurusCommonModel.resetModel | ( | self | ) |
Sets the model property back to its default value: an empty string.
Emits the modelChanged signal.
| tauruscommonmodel.TaurusCommonModel.setModel | ( | self, | |
| str | model ) |
Sets/unsets the model name TaurusCommonModel.
Emits the modelChanged signal.
| model | string with the new model name. |
|
static |
This property holds the unique URI string representing the model name with which this widget will get its data from.
Access functions: