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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.