Hi all.
I am having trouble getting my QWizard to work.
I have the following QAction:
Code:
newAction->setStatusTip(tr("Create new profile")); connect(newAction, SIGNAL(triggered()), this, SLOT(newSlot()));
and the newSlot, slot:
Code:
void MainWindow::newSlot() { NewWizard wizard; wizard.show(); }
And my NewWizard class:
Code:
{ addPage(new IntroPage); addPage(new InformationPage); setWindowTitle(tr("New profile")); } { setTitle(tr("Introduction")); label->setWordWrap(true); layout->addWidget(label); setLayout(layout); } { setTitle(tr("Information")); label->setWordWrap(true); layout->addWidget(label); setLayout(layout); }
But when I go to the menu and choose the new action, the wizard is not displayed. What am I doing wrong?

