Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
When the layout of a static text will be recalculated?
isaacEnrique last edited by
The title fully expressed my doubt, however, I particularly interested in the following case:
In the implementation of the function
paint(QPainter* painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
in a subclass of QGraphicsItem, by modifying the pen of painter (with painter->setPen()), it will cause the layout of a QStaticText (a QStaticText member of the subclass) will be recalculated?
Thanks in advance for any response.