I want to create a SLOT()
that creates a QPushButton (or a QLineEdit) widget on my Gui (on the same frame) whenever a SIGNAL(clicked())
is emitted from a specific PushButton on my Gui. for example: when I press on "exit" a new "thanks" button appears on the same frame.
so, how do I create a new PushButton using c++ code and not the Qt-GUI tools ?