A class representing a text.
A Widget which displays a QwtText.
virtual QSize sizeHint() const override
Return a size hint.
void setText(const QString &, QwtText::TextFormat textFormat=QwtText::AutoText)
virtual void paintEvent(QPaintEvent *) override