TaurusTextAttributeItem

digraph inheritancef46d2e8624 { rankdir=UD; ratio=compress; size="8.0, 12.0"; "BaseConfigurableClass" [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 base class defining the API for configurable objects."]; "Logger" [color=dodgerblue1,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,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "QGraphicsItem" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "wrapper" -> "QGraphicsItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QGraphicsItemGroup" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "QGraphicsItem" -> "QGraphicsItemGroup" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QGraphicsTextBoxing" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Display a text inside a virtual box. Support horizontal and vertical alignment"]; "QGraphicsItemGroup" -> "QGraphicsTextBoxing" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusBaseComponent" [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 Taurus component."]; "TaurusListener" -> "TaurusBaseComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseConfigurableClass" -> "TaurusBaseComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusGraphicsAttributeItem" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="This class show value->text conversion in label widgets."]; "TaurusGraphicsItem" -> "TaurusGraphicsAttributeItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusGraphicsItem" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Base class for all Taurus Graphics Items"]; "TaurusBaseComponent" -> "TaurusGraphicsItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusListener" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="TaurusListener Interface"]; "Logger" -> "TaurusListener" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusTextAttributeItem" [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 QGraphicsItem that represents a text related to an attribute value"]; "QGraphicsTextBoxing" -> "TaurusTextAttributeItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusGraphicsAttributeItem" -> "TaurusTextAttributeItem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "simplewrapper" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "wrapper" [color=dodgerblue1,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 TaurusTextAttributeItem(name=None, parent=None, scene=None)[source]

Bases: taurus.qt.qtgui.graphic.taurusgraphic.QGraphicsTextBoxing, taurus.qt.qtgui.graphic.taurusgraphic.TaurusGraphicsAttributeItem

A QGraphicsItem that represents a text related to an attribute value

paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)[source]