[Qt-interest] QGraphics View Updates
Sean Harmer
sean.harmer at maps-technology.com
Thu Jul 2 09:23:07 CEST 2009
On Thursday 02 Jul 2009 00:42:58 Willy P wrote:
> Hey,
> Does the QGraphicsView frame work have some sort of "clever" updating.
>
> I'm making a custom progress bar and it's catching all the updates but
> not repainting until its finished. Wondering if it delaying
> repainting when it rapidly gets told to repaint itself. Is there a
> way I can force it to repaint before moving on?
Have you tried calling QGraphicsItem::update() to trigger a paint event? Does
the part of your app that updates the progress bar actually allow control to
return to the event loop so that events can be handled?
Sean
More information about the Qt-interest-old
mailing list