ProjectIntroPage Class
(Utils::ProjectIntroPage)The ProjectIntroPage class is the standard wizard page for a project, letting the user choose its name and path. More...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Properties
|
|
Public Functions
| ProjectIntroPage(QWidget *parent = 0) | |
| virtual | ~ProjectIntroPage() |
| QString | description() const |
| bool | forceSubProject() const |
| void | insertControl(int row, QWidget *label, QWidget *control) |
| virtual bool | isComplete() const |
| QString | path() const |
| int | projectIndex() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| void | setProjectDirectories(const QStringList &directoryList) |
| void | setProjectList(const QStringList &projectList) |
| bool | useAsDefaultPath() const |
| bool | validateProjectName(const QString &name, QString *errorMessage) |
- 3 public functions inherited from Utils::WizardPage
Public Slots
| void | setDescription(const QString &description) |
| void | setPath(const QString &path) |
| void | setProjectName(const QString &name) |
| void | setProjectNameRegularExpression(const QRegularExpression ®Ex) |
| void | setUseAsDefaultPath(bool u) |
Signals
| void | activated() |
- 1 signal inherited from Utils::WizardPage
Detailed Description
The ProjectIntroPage class is the standard wizard page for a project, letting the user choose its name and path.
Looks similar to FileWizardPage, but provides additional functionality:
- Contains a description label at the top for displaying introductory text.
- Does on the fly validation (connected to changed()) and displays warnings and errors in a status label at the bottom (the page is complete when fully validated, validatePage() is thus not implemented).
Note: Careful when changing projectintropage.ui. It must have main geometry cleared and QLayout::SetMinimumSize constraint on the main layout, otherwise, QWizard will squeeze it due to its strange expanding hacks.
Property Documentation
description : QString
Access functions:
| QString | description() const |
| void | setDescription(const QString &description) |
forceSubProject : bool
Access functions:
| bool | forceSubProject() const |
| void | setForceSubProject(bool force) |
path : QString
Access functions:
| QString | path() const |
| void | setPath(const QString &path) |
projectName : QString
Access functions:
| QString | projectName() const |
| void | setProjectName(const QString &name) |
useAsDefaultPath : bool
Access functions:
| bool | useAsDefaultPath() const |
| void | setUseAsDefaultPath(bool u) |
Member Function Documentation
ProjectIntroPage::ProjectIntroPage(QWidget *parent = 0)
Default constructs an instance of ProjectIntroPage.
[virtual] ProjectIntroPage::~ProjectIntroPage()
Destroys the instance of ProjectIntroPage. The destructor is virtual.