I want to use the connect function to connect from a dialog class called Dialog to my mainwindow.
I am new to signal/slot.
how do I go about it ?