I have a QWidget (with mouse tracking enabled) that does not occupy my whole computer screen. I want to know the mouse pointer global position every time it moves, even if it moves out of the QWidget. So far I can manage to do this only inside the widget (by overriding mouseMoveEvent
in the widget code). How can I track the pointer when it is outside of the widget?
Asked
Active
Viewed 263 times
0

Valence
- 201
- 1
- 3
- 8
-
1[This answer](http://stackoverflow.com/a/19231037/625350) seems to indicate that it's not possible using only Qt. – titusjan Nov 13 '15 at 18:11
-
@titusjan thank you for your useful comment. – Valence Nov 19 '15 at 02:19