TaurusTreeDeviceFamilyItem

digraph inheritance259115de1f { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "TaurusBaseTreeItem" [URL="taurus.qt.qtcore.model-TaurusBaseTreeItem.html#taurus.qt.qtcore.model.TaurusBaseTreeItem",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,target="_top",tooltip="A generic node"]; "TaurusTreeDbBaseItem" [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]; "TaurusBaseTreeItem" -> "TaurusTreeDbBaseItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusTreeDeviceFamilyItem" [URL="#taurus.qt.qtcore.model.TaurusTreeDeviceFamilyItem",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,target="_top",tooltip="A node designed to represent a the family part of a device name"]; "TaurusTreeDevicePartItem" -> "TaurusTreeDeviceFamilyItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusTreeDevicePartItem" [URL="taurus.qt.qtcore.model-TaurusTreeDevicePartItem.html#taurus.qt.qtcore.model.TaurusTreeDevicePartItem",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,target="_top",tooltip="A node designed to represent a 'part' (or totality) of a device name"]; "TaurusTreeDbBaseItem" -> "TaurusTreeDevicePartItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class TaurusTreeDeviceFamilyItem(model, data, parent=None)[source]

A node designed to represent a the family part of a device name

Import from taurus.qt.qtcore.model as:

from taurus.qt.qtcore.model import TaurusTreeDeviceFamilyItem
DisplayFunc

alias of str

role()[source]

Returns the prefered role for the item. This implementation returns taurus.core.taurusbasetypes.TaurusElementType.Unknown

This method should be able to return any kind of python object as long as the model that is used is compatible.

Returns

the role in form of element type

Return type

taurus.core.taurusbasetypes.TaurusElementType