CustomWizard Class
(ProjectExplorer::CustomWizard)The CustomWizard class is a base class for custom wizards based on file templates and an XML configuration file (share/qtcreator/templates/wizards). More...
| Header: | #include <CustomWizard> |
| Inherits: | Core::BaseFileWizardFactory |
| Inherited By: |
Public Types
| typedef | FieldReplacementMap |
Public Functions
- 28 public functions inherited from Core::IWizardFactory
- 31 public functions inherited from QObject
Static Public Members
| QList<IWizardFactory *> | createWizards() |
| void | setVerbose(int) |
| int | verbose() |
- 1 static public member inherited from Core::BaseFileWizardFactory
- 8 static public members inherited from Core::IWizardFactory
- 10 static public members inherited from QObject
Protected Types
| typedef | CustomWizardContextPtr |
| typedef | CustomWizardParametersPtr |
Protected Functions
| CustomWizardContextPtr | context() const |
| Core::GeneratedFiles | generateWizardFiles(QString *errorMessage) const |
| CustomWizardParametersPtr | parameters() const |
| FieldReplacementMap | replacementMap(const QWizard *w) const |
- 5 protected functions inherited from Core::BaseFileWizardFactory
- 3 protected functions inherited from Core::IWizardFactory
- 9 protected functions inherited from QObject
Static Protected Members
| CustomWizard * | createWizard(const CustomWizardParametersPtr &p) |
- 2 static protected members inherited from Core::BaseFileWizardFactory
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The CustomWizard class is a base class for custom wizards based on file templates and an XML configuration file (share/qtcreator/templates/wizards).
Presents CustomWizardDialog (fields page containing path control) for wizards of type "class" or "file". Serves as base class for project wizards.
Member Type Documentation
typedef CustomWizard::CustomWizardContextPtr
typedef CustomWizard::CustomWizardParametersPtr
typedef CustomWizard::FieldReplacementMap
Member Function Documentation
CustomWizard::CustomWizard()
Default constructs an instance of CustomWizard.
[protected] CustomWizardContextPtr CustomWizard::context() const
[static protected] CustomWizard *CustomWizard::createWizard(const CustomWizardParametersPtr &p)
[static] QList<IWizardFactory *> CustomWizard::createWizards()
Reads share/qtcreator/templates/wizards and creates all custom wizards.
As other plugins might register factories for derived classes, call it in extensionsInitialized().
Scans the subdirectories of the template directory for directories containing valid configuration files and parse them into wizards.
[protected] Core::GeneratedFiles CustomWizard::generateWizardFiles(QString *errorMessage) const
[protected] CustomWizardParametersPtr CustomWizard::parameters() const
[protected] FieldReplacementMap CustomWizard::replacementMap(const QWizard *w) const
[static] void CustomWizard::setVerbose(int)
See also verbose().
[static] int CustomWizard::verbose()
See also setVerbose().