Unsolved How to detect mouse click outside the application
-
Hello all, I want to detect when you click on the application mouse, alternating hide and show with each time you click outside the application
-
Hi and welcome to devnet,
Do you mean when the application looses focus ?
-
@SGaist yes, I need eventFilter or a method that listens for mouse events to be able to hide or show the application
-
Why do you want to hide your application if somebody clicks outside of it ? And then how would you show it again ?
-
Qt::pop flag will help you to hide your application if you click outside the application.