forked from qt-creator/qt-creator
Utils: Add a PathListEditor::setPlaceholderText
Change-Id: I517dfec9d57b6965a3e40c786aa238f04fc69546 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -196,6 +196,11 @@ void PathListEditor::setFileDialogTitle(const QString &l)
|
|||||||
d->fileDialogTitle = l;
|
d->fileDialogTitle = l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PathListEditor::setPlaceholderText(const QString &placeholder)
|
||||||
|
{
|
||||||
|
d->edit->setPlaceholderText(placeholder);
|
||||||
|
}
|
||||||
|
|
||||||
void PathListEditor::clear()
|
void PathListEditor::clear()
|
||||||
{
|
{
|
||||||
d->edit->clear();
|
d->edit->clear();
|
||||||
|
@@ -57,6 +57,7 @@ public:
|
|||||||
void setPathList(const QStringList &l);
|
void setPathList(const QStringList &l);
|
||||||
void setPathList(const QString &pathString);
|
void setPathList(const QString &pathString);
|
||||||
void setFileDialogTitle(const QString &l);
|
void setFileDialogTitle(const QString &l);
|
||||||
|
void setPlaceholderText(const QString &placeholder);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void changed();
|
void changed();
|
||||||
|
Reference in New Issue
Block a user