I'd like to know what happens exactly when I call a QWidget's update() method.
Here is the documentation:
http://doc.trolltech.com/4.5/qwidget.html#update
This function does not cause an immediate repaint; instead it schedules a paint event for processing when Qt returns to the main event loop. This permits Qt to optimize for more speed and less flicker than a call to repaint() does.
I see from the Qt source code that a QUpdateLaterEvent is created and post with type QEvent::UpdateLater
In this part of the documentation http://doc.trolltech.com/4.5-snapshot/qevent.html
QEvent::UpdateLater: The widget should be queued to be repainted at a later time.
What does 'later time' mean?
Are my all emited queued signals and the events in the event queue processed before the paint?
Thanks,
Gabor