Extending Qt Creator Manual | FileWizardPage

Extending Qt Creator Manual 4.6.2

# 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

- List of all members, including inherited members

## Properties

- fileName : QString
- path : QString

## Public Functions

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

- 3 public functions inherited from Utils::WizardPage

## Public Slots

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

## Signals

void | activated()
void | pathChanged()

- 1 signal inherited from Utils::WizardPage

## Static Public Members

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

## 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 = 0)

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 = 0)