Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. When the layout of a static text will be recalculated?
Qt 6.11 is out! See what's new in the release blog

When the layout of a static text will be recalculated?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 371 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    isaacEnrique
    wrote on last edited by
    #1

    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.

    Isaac Pérez
    Programming is understanding.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved