digraph inheritance582378e380 {
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"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)"];
"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
QGraphicsTextBoxing
(parent=None, scene=None)[source]
Bases: PyQt5.QtWidgets.QGraphicsItemGroup
Display a text inside a virtual box. Support horizontal and vertical alignment
-
brush
()[source]
-
paint
(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)[source]
-
pen
()[source]
-
setAlignment
(alignment)[source]
-
setBrush
(brush)[source]
-
setDefaultTextColor
(color)[source]
-
setFont
(font)[source]
-
setHtml
(html)[source]
-
setPen
(pen)[source]
-
setPlainText
(text)[source]
-
setRect
(x, y, width, height)[source]
-
setValidBackground
(color)[source]
-
toPlainText
()[source]