TaurusDbPlainDeviceModel

digraph inheritance0cc3f4cb7c { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "Logger" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="The taurus logger class. All taurus pertinent classes should inherit"]; "Object" -> "Logger" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Object" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "QAbstractItemModel" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="QAbstractItemModel(parent: QObject = None)"]; "QObject" -> "QAbstractItemModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QObject" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="QObject(parent: QObject = None)"]; "wrapper" -> "QObject" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusBaseModel" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="The base class for all Taurus Qt models."]; "QAbstractItemModel" -> "TaurusBaseModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Logger" -> "TaurusBaseModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusDbBaseModel" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="The base class for all Taurus database Qt models."]; "TaurusBaseModel" -> "TaurusDbBaseModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusDbPlainDeviceModel" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A Qt model that structures device elements in 1 level tree. Device"]; "TaurusDbBaseModel" -> "TaurusDbPlainDeviceModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "simplewrapper" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "wrapper" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "simplewrapper" -> "wrapper" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class TaurusDbPlainDeviceModel(parent=None, data=None)[source]

Bases: taurus.qt.qtcore.model.taurusdatabasemodel.TaurusDbBaseModel

A Qt model that structures device elements in 1 level tree. Device nodes will have attribute child nodes if the device is running.

ColumnNames = ('Device', 'Alias', 'Server', 'Class', 'Alive', 'Host')
ColumnRoles = ((3, 3, 13), 4, 8, 2, 11, 12)
setupModelData(data)[source]