void setGeometry(const QRect &r) override
pure virtual in QLayoutItem
Layout item showing a text.
QRect areaGeometry() const override
void paintAll(QPainter &painter) override
Call paintAll, if you want the background and the frame to be drawn before the normal paint() is invo...
void paint(QPainter *) override
void positionHasChanged() override
QRect geometry() const override
pure virtual in QLayoutItem
void positionChanged(TextArea *)
virtual void paintIntoRect(QPainter &painter, const QRect &rect)
Draws the background and frame, then calls paint().