CustomProjectWizard Class

(ProjectExplorer::CustomProjectWizard)

The CustomProjectWizard class provides a custom project wizard. More...

Header: #include <CustomProjectWizard>
Inherits: ProjectExplorer::CustomWizard

Static Public Members

bool postGenerateOpen(const int &l, QString *errorMessage = nullptr)

Reimplemented Protected Functions

virtual Core::BaseFileWizard *create(QWidget *parent, const Core::WizardDialogParameters &parameters) const override

Detailed Description

Presents a CustomProjectWizardDialog (Project intro page and fields page) for wizards of type "project". Overwrites postGenerateFiles() to open the project files according to the file attributes. Also inserts '%ProjectName%' into the base replacement map once the intro page is left to have it available for QLineEdit-type fields' default text.

Member Function Documentation

[override virtual protected] Core::BaseFileWizard *CustomProjectWizard::create(QWidget *parent, const Core::WizardDialogParameters &parameters) const

Can be reimplemented to create custom project wizards.

initProjectWizardDialog() needs to be called.

[static] bool CustomProjectWizard::postGenerateOpen(const int &l, QString *errorMessage = nullptr)

Opens the projects and editors for the files that have the respective attributes set.