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! :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With