TaurusDbBaseModel

Inheritance diagram of TaurusDbBaseModel
class TaurusDbBaseModel(parent=None, data=None)[source]

The base class for all Taurus database Qt models. By default, this model represents a plain device perspective of the underlying database.

Import from taurus.qt.qtcore.model as:

from taurus.qt.qtcore.model import TaurusDbBaseModel
ColumnNames = ('Device', 'Alias', 'Server', 'Class', 'Alive', 'Host')
ColumnRoles = ((3, 3), 4, 8, 2, 11, 12)
columnIcon(column)[source]
columnSize(column)[source]
columnToolTip(column)[source]
createNewRootItem()[source]
mimeData(self, indexes: Iterable[QModelIndex]) Optional[QMimeData][source]
mimeTypes(self) List[str][source]
pyData(index, role)[source]
refresh(refresh_source=False)[source]
roleIcon(taurus_role)[source]
roleSize(taurus_role)[source]
roleToolTip(taurus_role)[source]
setupModelData(data)[source]