TaurusModelSelectorTree

- class TaurusModelSelectorTree(parent=None, selectables=None, buttonsPos=None, designMode=None)[source]
Import from
taurus.qt.qtgui.panel
as:from taurus.qt.qtgui.panel import TaurusModelSelectorTree
- UpdateAttrs
- addModels
- getListedModels()[source]
returns the list of models that have been added
- Parameters:
asMimeData (bool) – If False (default), the return value will be a list of models. If True, the return value is a QMimeData containing at least TAURUS_MODEL_LIST_MIME_TYPE and text/plain MIME types. If only one model was selected, the mime data also contains a TAURUS_MODEL_MIME_TYPE.
- Returns:
the type of return depends on the value of asMimeData
- Return type:
list<str> or QMimeData
- classmethod getQtDesignerPluginInfo()[source]
Returns pertinent information in order to be able to build a valid QtDesigner widget plugin.
The dictionary returned by this method should contain at least the following keys and values:
‘module’ : a string representing the full python module name (ex.: ‘taurus.qt.qtgui.base’)
‘icon’ : a string representing valid resource icon (ex.: ‘designer:combobox.png’)
- ‘container’a bool telling if this widget is a container widget or
not.
This default implementation returns the following dictionary:
{ 'group' : 'Taurus [Unclassified]', 'icon' : 'logos:taurus.png', 'container' : False }
- Returns:
a map with pertinent designer information
- Return type:
- isSingleModelMode()[source]
Returns True if the selection is limited to just one model. Returns False otherwise.
- Returns:
- Return type: