Definition of the QNonScalableGraphicsTextItem class.
QRectF boundingRect() const override
Returns the bounding rectangle of the text item.
QNonScalableGraphicsTextItem(QGraphicsItem *parent=nullptr)
Constructor using a QGraphicsTextItem.
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
Paints the text item.
~QNonScalableGraphicsTextItem() override