mickey
24th February 2006, 13:30
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:
#include <qfile.h>
#include <mainform.h>
class MainForm;
void optionDialog::saveOptions()
{
MainForm* m;
m->toolBox->show(); //access to mainform
}
But this don't compile. Is there a way?
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:
#include <qfile.h>
#include <mainform.h>
class MainForm;
void optionDialog::saveOptions()
{
MainForm* m;
m->toolBox->show(); //access to mainform
}
But this don't compile. Is there a way?