0

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?

Valence
  • 201
  • 1
  • 3
  • 8

0 Answers0