[Qt-interest] QMainWindow: Prevent mouse from leaving.

Martin Guillon MGuillon at movea.com
Tue Oct 27 16:20:16 CET 2009


Hi,

I have an application which aim is to change the volume as you move your mouse.if you go up it will raise the volume ...
My problem is that I don't want the mouse to leave the application window until we quit the application(let s say with ESC).
I don't see anything to do that in QT. I have the windows clip cursor function but it's not cross plateform.

Does anyone has any on how to do that in QT? or even with a code that would be cross-plateform?

THanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091027/fc35f5e7/attachment.html 


More information about the Qt-interest-old mailing list