All I can find is "whenever the widget needs to be painted."
When is that, specifically?
When you call updateGL()
on your widget (or update()
), or just Qt decides to redraw your widget. Reasons why Qt might choose to ask for a redraw include:
In short, you have very little control about when Qt asks for a repaint. Just be sure to paint fast! :-)