The problem is the window resize does not come from the application, it comes 
from the OS/Window Manager.



________________________________
 From: "william.croc...@analog.com" <william.croc...@analog.com>
To: interest@qt-project.org 
Sent: Monday, February 24, 2014 8:46 PM
Subject: Re: [Interest] Finished resizing a window?
 


>
> 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.
>

Could you use this to watch for (then paint on) the mouse release?

     Qt::MouseButtons QApplication::mouseButtons() [static]

Bill


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to