TaurusBaseModelWidget
- class TaurusBaseModelWidget(designMode=False)[source]
A class:taurus.qt.qtgui.base.TaurusBaseWidget that connects to a taurus model. It must be used together with class:~taurus.qt.qtgui.base.QBaseModelWidget
Import from
taurus.qt.qtgui.model
as:from taurus.qt.qtgui.model import TaurusBaseModelWidget
- 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.
Access functions:
TaurusBaseWidget.getModel()
TaurusBaseWidget.setModel()
TaurusBaseWidget.resetModel()
See also
- setModel(m, **kwargs)[source]
Sets/unsets the model name for the given key. If key is MLIST, a model is set for each name in the model sequence, new model keys are automatically added to the object’s
modelList
attribute and the corresponding models are attached using those keys. The new keys are of the form(MLIST, i)
wherei
is the index of the corresponding model name in the model sequence.