Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to use InverseMouseArea?



  • Hi all:
    I have a item ,I want to do something when mouse click outside of the item .I google it ,find that inversemousearea may help me ,I use it but it never work .Anyone have used InverseMouseArea ? help me



  • On_mouse_click you can compare the clicked position with the item boundaries. if clicked position outside the boundaries you can do what you want.


Log in to reply