QWizard *FormWizard::createWizardDialog(QWidget *parent,
                                        const QString &defaultPath,
                                        const WizardPageList &extensionPages) const
{
    FormFileWizardDialog *wizardDialog = new FormFileWizardDialog(extensionPages, parent);
    wizardDialog->setPath(defaultPath);
    return wizardDialog;
}
示例#2
0
QWizard *FormWizard::createWizardDialog(QWidget *parent,
                                        const Core::WizardDialogParameters &wizardDialogParameters) const
{
    FormFileWizardDialog *wizardDialog = new FormFileWizardDialog(wizardDialogParameters.extensionPages(),
                                                                  parent);
    wizardDialog->setPath(wizardDialogParameters.defaultPath());
    return wizardDialog;
}