How to check if mouse button is pressed anywhere on screen , even outside of my mainwindow?
Solved
General and Desktop
-
Is it possible to detect mouse buttons pressed inside and outside of my application window in Qt, i guess there is a way to detect mouse clicks inside my application window , but what about detecting clicks inside+outside of main window ?
-
@learnist
Not directly with Qt.
The only thing which comes close to it is to create a transparent window spanning widget and dont accept the mouse event in the handler. -
@raven-worx Thanks for the answer
2/3