TaurusDbTableWidget

Inheritance diagram of TaurusDbTableWidget
class TaurusDbTableWidget(parent=None, designMode=False, with_filter_widget=True, perspective=None, proxy=None)[source]

Bases: taurus.qt.qtgui.table.taurustable.TaurusBaseTableWidget

A class:taurus.qt.qtgui.tree.TaurusBaseTableWidget that connects to a taurus.core.taurusauthority.TaurusAuthority model. It can show the list of database elements in two different perspectives:

  • device : a device list based perspective
  • server : a server list based perspective

Filters can be inserted into this widget to restrict the items that are seen.

DftPerspective = 3
KnownPerspectives = {8: {'model': [<class 'taurus.qt.qtcore.model.taurusdatabasemodel.TaurusDbServerProxyModel'>, <class 'taurus.qt.qtcore.model.taurusdatabasemodel.TaurusDbPlainServerModel'>], 'icon': 'application-x-executable', 'tooltip': 'View by server', 'label': 'Servers'}, 3: {'model': [<class 'taurus.qt.qtcore.model.taurusdatabasemodel.TaurusDbDeviceProxyModel'>, <class 'taurus.qt.qtcore.model.taurusdatabasemodel.TaurusDbBaseModel'>], 'icon': 'applications-system', 'tooltip': 'View by device', 'label': 'Devices'}}
getModelClass()[source]
classmethod getQtDesignerPluginInfo()[source]
sizeHint()[source]