diff options
author | Aurindam Jana <aurindam.jana@digia.com> | 2013-05-17 12:16:09 +0200 |
---|---|---|
committer | Aurindam Jana <aurindam.jana@digia.com> | 2013-05-17 16:16:38 +0200 |
commit | 3f39943a37821cc2c4559560ab7eb2bb1649ef38 (patch) | |
tree | ac912358aefa7226a05f0c3781a26285256073df /src/plugins/projectexplorer/customwizard/customwizardpage.h | |
parent | 7e0dd72252b0696b4bf924c3249d8810f966c174 (diff) | |
download | qt-creator-3f39943a37821cc2c4559560ab7eb2bb1649ef38.tar.gz |
CustomWizard: Add a placeholder field for QLineEdit
The XML file now has a placeholdertext attribute that sets
the place holder text for the corrsponding QLineEdit.
Change-Id: I537721a5e5be796f4f88054751e66e557e718948
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/customwizard/customwizardpage.h')
-rw-r--r-- | src/plugins/projectexplorer/customwizard/customwizardpage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/customwizard/customwizardpage.h b/src/plugins/projectexplorer/customwizard/customwizardpage.h index 766845268d..21ded031c5 100644 --- a/src/plugins/projectexplorer/customwizard/customwizardpage.h +++ b/src/plugins/projectexplorer/customwizard/customwizardpage.h @@ -128,9 +128,10 @@ protected: void clearError(); private: struct LineEditData { - explicit LineEditData(QLineEdit* le = 0, const QString &defText = QString()); + explicit LineEditData(QLineEdit* le = 0, const QString &defText = QString(), const QString &pText = QString()); QLineEdit* lineEdit; QString defaultText; + QString placeholderText; QString userChange; }; struct TextEditData { |