I have a lot of buttons to view/hide elements.
Each time I have to write the code I have to connect signal & slots. (I must to create a slot for a simple code... )
I'd like to write a simple :
Qt Code:
  1. connect (widget,SIGNAL(mouse_click)), other_widget->visible= !(other_widget->visible));
To copy to clipboard, switch view to plain text mode 
I could be possible?
Any trick....
Thanks