Take a look at http://doc.trolltech.com/4.5.1/qwidget.html#paintEvent
It says that slow or complex widgets can use PaintEvent::region() to optimize its drawing operation. It returns a rectangular area that must be actually updated. Then you can set a clipping area with QPainter::setClipRegion() so the surrounding area remains unaffected, thus not flickering.
Bookmarks