TaurusValuesFrame

Inheritance diagram of TaurusValuesFrame
class TaurusValuesFrame(parent=None, designMode=False)[source]

This is a container specialized into containing TaurusValue widgets. It should be used Only for TaurusValues

Import from taurus.qt.qtgui.panel as:

from taurus.qt.qtgui.panel import TaurusValuesFrame
getModel(**kwargs)[source]

Returns the model name for this component.

Parameters:

key (object) – the model key. Defaults to first element of .modelKeys

Returns:

the model name.

Return type:

str

classmethod getQtDesignerPluginInfo()[source]

we don’t want this widget in designer

getTaurusValueByIndex(index)[source]

returns the TaurusValue item at the given index position

getTaurusValues()[source]

returns the list of TaurusValue Objects contained by this frame

model
resetModel(**kwargs)[source]

Sets the model name to the empty string

Parameters:

key (object) – the model key. Defaults to first element of .modelKeys

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) where i is the index of the corresponding model name in the model sequence.

Parameters:
  • model (str (or sequence of str if key is MLIST)) – the new model name. If key is MLIST, model is expected to be a sequence of model names.

  • key (object) – the model key. Defaults to first element of .modelKeys