taurus taurus

Previous topic

SelectionToolBar

Next topic

taurus.qt.qtgui.panel

This Page

TaurusBaseModelWidget

Inheritance diagram of TaurusBaseModelWidget

class TaurusBaseModelWidget(designMode=False, perspective=None, proxy=None)

Bases: taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget

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

DftPerspective = None
KnownPerspectives = {}
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.

In case the property useParentModel is set to True, the model text must start with a ‘/’ followed by the attribute name.

Access functions:

  • TaurusBaseWidget.getModel()
  • TaurusBaseWidget.setModel()
  • TaurusBaseWidget.resetModel()

See also

model concept

onSwitchPerspective(perspective)
perspective()
setModel(m)