When the layout of a static text will be recalculated?

  • Greetings.

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.