Hi,
I have a optAction in Mainform that calls an optionDialog (designed from qtDesigner).
In optionDialog when I pusk on save button start the SLOT saveOptions()
I like to do this inside optiondialog.ui.h file:
But this don't compile. Is there a way?Code:
#include <qfile.h> #include <mainform.h> class MainForm; void optionDialog::saveOptions() { MainForm* m; m->toolBox->show(); //access to mainform }