tonnot
9th February 2012, 12:16
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 :
connect (widget,SIGNAL(mouse_click)), other_widget->visible= !(other_widget->visible));
I could be possible?
Any trick....
Thanks
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 :
connect (widget,SIGNAL(mouse_click)), other_widget->visible= !(other_widget->visible));
I could be possible?
Any trick....
Thanks