TaurusTreeDeviceDomainItem
¶
digraph inheritanceb693052804 {
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"TaurusBaseTreeItem" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A generic node"];
"TaurusTreeDbBaseItem" [color=dodgerblue1,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)"];
"TaurusTreeDeviceDomainItem" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A node designed to represent a the domain part of a device name"];
"TaurusTreeDevicePartItem" -> "TaurusTreeDeviceDomainItem" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TaurusTreeDevicePartItem" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A node designed to represent a 'part' (or totality) of a device name"];
"TaurusTreeDbBaseItem" -> "TaurusTreeDevicePartItem" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class
TaurusTreeDeviceDomainItem
(model, data, parent=None)[source]¶ Bases:
taurus.qt.qtcore.model.taurusdatabasemodel.TaurusTreeDevicePartItem
A node designed to represent a the domain part of a device name
-
DisplayFunc
¶ alias of
builtins.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.
Return type: TaurusElementType
Returns: the role in form of element type
-