friend class TestGraphicElement
Text(QGraphicsItem *parent=nullptr)
Constructs a Text element.
void updateTheme() override
Refreshes the empty-state hint's color alongside the base label/port theming.
void labelContentChanged() override
QRectF boundingRect() const override
Returns a bounding rect that includes the label text, not just the pixmap.