When my main dialog opens another dialog, do I need additional code to let the new dialog that is displayed to talk with the implementation class? Here is what I do to display a new dialog:
Code:
Form1 *frmMain;
frmMain = new Form1();
frmMain->show();
When the new dialog is shown I can't seem to have the dialog to use the implementation class. It still uses the class that QT generated.
My implementation class goes as follows:
Header File
Code:
class frmMainImpl : public Form1
{
//more code here
}
Source File
Code:
frmMainImpl::frmMainImpl(QWidget *parent, const char *name) : Form1(parent, name)
{
}
Thanks...
Gnarg