[Interest] Finished resizing a window?

André Somers andre at familiesomers.nl
Wed Feb 26 17:49:50 CET 2014


John Weeks schreef op 24-2-2014 22:56:
> We have windows in our application that are potentially expensive to 
> repaint, so when the user resizes a window we may need to put off 
> repainting until the resizing is finished. It seems that we don't get 
> mouse down/mouse up events when the user clicks in the window 
> frame/resize grip area, so I can't wait until mouse up.
>
> Is that correct?
> Is there a solution to this?
>
Others have already suggested timers. I usually use this [1] solution 
for this and similar problems.

André

[1] http://qt-project.org/wiki/Delay_action_to_wait_for_user_interaction





More information about the Interest mailing list