Guys,
I have QDialog that I want to put inside a QWizardPage, is this possible? I have tried testing it QDialog won't stay inside the wizard page . Is there any way I can manage to put this dialog inside the page?
Qt Code:
#include "wizard.h" :QWizard(parent) { //ctor addPage(new firstPage(this)); } Wizard::~Wizard() { //dtor } void Wizard::accept(void) {} :QWizardPage(parent) { //ctor setTitle(tr("Class Information")); setSubTitle(tr("Specify basic information about the class for which you " "want to generate skeleton source code files.")); lo->addWidget(dialog);// i thought this will bring the dialog in the page dialog->show(); // i tried bypassing this but I can't see the dialog dlo->addWidget(btn); setLayout(lo); }To copy to clipboard, switch view to plain text mode
this is my test code
baray98
Bookmarks