Hi,
I'm developing an application toolbar and I would like to change the click behaviour of the menu button. So basically I'd like the menu button to open when the user clicks on it and stay open until the user clicks on it again (second click on it will close it).
So I started off by adding a mouse click eventfilter to the menu button. This all seems to work good, but when I click somewhere else on the screen (not on the menu) the menu will auto close. The mouse event filter is not triggered when I click somewhere else. How can I keep the menu open until the user clicks on it a second time?
Thanks