[solved] Dynamic Signal/ Slot example ?
-
Is there any minimalistic example for using dynamic signal slots ?
-
What do you mean with dynamic??
Signals/slots may be connect() or disconnect() in real time, so it's easy and simple. No examples are present I presume. -
I want to connect signal to slot at runtime as described
"here":http://doc.qt.digia.com/qq/qq16-dynamicqobject.htmlwhat do you mean with "in real time" ?
-
This documentation is very old. What Qt version do you use?
-
4.8
-
Then, take a look to "Signals & Slots":http://qt-project.org/doc/qt-4.8/signalsandslots.html they are already dynamic and you can connect or disconnect them when ever you want.
-
thank you very much, you saved me wasting a lot of time.
-
That's what I mend. Real time means: run time / execute time etc etc. So when the program runs you are able to set and disconnect the signal/slots ;-)