ProjectIntroPage Class

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

Public Functions

QString description() const
Utils::FilePath filePath() const
bool forceSubProject() const
QString projectName() const
void setForceSubProject(bool force)
bool useAsDefaultPath() const

Public Slots

void setDescription(const QString &description)
void setFilePath(const Utils::FilePath &path)
void setProjectName(const QString &name)
void setUseAsDefaultPath(bool u)

Detailed Description

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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.