You can't - your operating system controls that. But you can react to resize events in a smart way. When you receive a resize event start a timer that will fire after say... 1 second. If you see another resize event before it timeouts - restart the timer so that you have another second. Now for the best part - the timer should also set a flag that the widget is being resized and the timeout slot should reset that flag (and call update() on the widget). Then, in your paint event check if the flag is set. If it is - you know are during a resize. In that case don't regenerate the complex drawing, instead draw something simple like "please wait" text.
The outcome will be that your widget will be repainted one second after the resize is complete.
Bookmarks