-
many connect
Hi, I have 8 tabs in a tabwidget; every tab contains 3 spinboxes (8x3=24 spinboxes).
When I change spinbox values I need calls a SLOT (the same slot for all spinboxes).
For reduce the number of connect I tried to use buttonGroupBox, but someone said me spinboxes, with buttonGroupBox) doesn't trigger signals; how to do to avoid 24 connect???
-
Re: many connect
You can't avoid them. You can centralise them by implementing a signal proxy, but you'll have to connect all of them to the proxy anyway.
-
Re: many connect
What do u want to say with signal proxy? Where can I find its explanation ? (I need also know who is the sender)
-
Re: many connect
Using QSignalMapper I guess... Or signal multiplexer, depending on the effect you want to achieve.