QDictionaryEditor
- class QDictionaryEditor(parent=None, designMode=None, title=None)[source]
Import from
taurus.qt.qtgui.table
as:from taurus.qt.qtgui.table import QDictionaryEditor
- getModelClass(**kwargs)[source]
Return the class object for the widget. Default behavior is to do a ‘best effort’ to determine which model type corresponds to the current model name. Overwrite as necessary.
- Parameters:
key (object) – the model key. Defaults to first element of .modelKeys
- Returns:
The class object corresponding to the type of Taurus model this widget handles or None if no valid class is found.
- Return type:
class TaurusModel or None
- setModel(model, **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.