[Interest] Finished resizing a window?

Jason H scorp1us at yahoo.com
Tue Feb 25 02:50:40 CET 2014


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



________________________________
 From: "william.crocker at analog.com" <william.crocker at analog.com>
To: interest at 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 at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140224/5f85a939/attachment.html>


More information about the Interest mailing list