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. [SOLVED] Find the source of endless repaints?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Find the source of endless repaints?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 946 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    I have a QGraphicsWidget, which wraps a QGraphicsTextItem subclass. For some reason, I get tons of repaints (like several dozens a second) in my parent QGraphicsWidget, and I have no idea where they are coming from. I have checked that my code never calls update().

    How do I find the cause of the repaints?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #2

      Set a breakpoint in QGraphicsItem::update() and see where it's coming from.

      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