Hi everybody,
my old qt3 application had to draw on a qmainwindow outside the paintevent. It happened outside the main loop as well. Now everything changes.
Are QWidget::updates() and QWidget::repaint() valid only inside the main loop ?
I the repaint() heavier and slower than update() ?
Thank you for your attention !


Reply With Quote


By using update(), the paint system can 'accumulate' a region that needs repainting and thus optimize painting somewhat. There is overhead invovled in setting up to paint in the acquisition and release of system resources.
Bookmarks