PathChooser Class

(Utils::PathChooser)

The PathChooser class is a control that lets the user choose a path, consisting of a QLineEdit and a "Browse" button. More...

Header: #include <PathChooser>

Public Functions

class QString baseDirectory() const
Utils::FilePath baseFileName() const
QStringList commandVersionArguments() const
QColor errorColor() const
Utils::PathChooser::Kind expectedKind() const
Utils::FilePath fileName() const
bool isReadOnly() const
QColor okColor() const
class QString path() const
class QString promptDialogFilter() const
class QString promptDialogTitle() const
void setBaseDirectory(const class QString &directory)
void setBaseFileName(const Utils::FilePath &base)
void setCommandVersionArguments(const QStringList &arguments)
void setExpectedKind(Utils::PathChooser::Kind expected)
void setPromptDialogFilter(const class QString &filter)
void setPromptDialogTitle(const class QString &title)
void setReadOnly(bool b)

Public Slots

void setErrorColor(const QColor &errorColor)
void setFileName(const Utils::FilePath &)
void setOkColor(const QColor &okColor)
void setPath(const class QString &)

Signals

void pathChanged(const class QString &path)

Detailed Description

This class has some validation logic for embedding into QWizardPage.