Hi,
I'd code a SLOT in Mainform.ui (from Designer) and I the Connect in myWidget() class constructor.
I call emit mySignal() and starts the SLOT in mainform.
But I can make instead of "emit mySignal()" mainForm->function() (without signal). The result it's the same! and then, what do I use?
Wich in the different?
Thanks