Hello,

I plan to use menus in my applications. There are many menus and sub menus. Only one sub menu needs one specified status. When I click other menus or sub menus I hope to change the status to normal one. But I do not hope to connect all of the menus or sub menus to the triggered signal.

Is there some smarter ways to resolve this problem? I mean just one line.

just like this:

if (x is triggered)
status changs
else
status changes back