Reputation: 123
All I can find is "whenever the widget needs to be painted."
When is that, specifically?
Upvotes: 10
Views: 10943
Reputation: 22826
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! :-)
Upvotes: 19