[Qt-interest] setMouseTracking
"Alexander Carôt"
alexander_carot at gmx.net
Wed Jan 5 23:29:58 CET 2011
> window I setMouseTracking to true. Does this help to clarify the problem ?
>
> Try setting it on every widget, not just the main window.
... allright, this results in in the following: The mouseMoveEvent-Handler is only triggered whenever the mouse moves within the widgets but not in the remaining areas of the main window.
At least that's progress but if anyone knows how this works for the whole application window and *ideally* also for the whole screen even if the mouse is not within an app window, so please let me know.
In fact what I want to achieve is grabbing the current mouse coordinates no matter how large or where my app window is. I wonder if this is possible at all.
Thanks and best
Alex
--
http://www.carot.de
http://www.triologue.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the Qt-interest-old
mailing list