FileWizardPage Class

(Utils::FileWizardPage)

The FileWizardPage class is a standard wizard page for a single file letting the user choose name and path. More...

Header: #include <FileWizardPage>
Inherits: Utils::WizardPage

Properties

Public Functions

FileWizardPage(QWidget *parent = nullptr)
~FileWizardPage() override
QString fileName() const
bool forceFirstCapitalLetterForFileName() const
bool isComplete() const override
QString path() const
void setFileNameLabel(const QString &label)
void setForceFirstCapitalLetterForFileName(bool b)
void setPathLabel(const QString &label)

Public Slots

void setFileName(const QString &name)
void setPath(const QString &path)

Signals

void activated()
void pathChanged()

Static Public Members

bool validateBaseName(const QString &name, QString *errorMessage = nullptr)

Detailed Description

The FileWizardPage class is a standard wizard page for a single file letting the user choose name and path.

The name and path labels can be changed. By default they are simply "Name:" and "Path:".

Property Documentation

fileName : QString

Access functions:

QString fileName() const
void setFileName(const QString &name)

path : QString

Access functions:

QString path() const
void setPath(const QString &path)

Member Function Documentation

FileWizardPage::FileWizardPage(QWidget *parent = nullptr)

Default constructs an instance of FileWizardPage.

FileWizardPage::~FileWizardPage()

Destroys the instance of FileWizardPage.

[signal] void FileWizardPage::activated()

bool FileWizardPage::forceFirstCapitalLetterForFileName() const

See also setForceFirstCapitalLetterForFileName().

bool FileWizardPage::isComplete() const

[signal] void FileWizardPage::pathChanged()

void FileWizardPage::setFileNameLabel(const QString &label)

void FileWizardPage::setForceFirstCapitalLetterForFileName(bool b)

See also forceFirstCapitalLetterForFileName().

void FileWizardPage::setPathLabel(const QString &label)

[static] bool FileWizardPage::validateBaseName(const QString &name, QString *errorMessage = nullptr)