AppFwk : Add placeholder text to line edit

This commit is contained in:
Magne Sjaastad
2019-10-24 09:44:51 +02:00
parent bbfc6188e9
commit 1935451242
2 changed files with 7 additions and 0 deletions

View File

@@ -136,6 +136,11 @@ void PdmUiLineEditor::configureAndUpdateUi(const QString& uiConfigName)
{
m_lineEdit->setMaximumWidth(leab.maximumWidth);
}
if (!leab.placeholderText.isEmpty())
{
m_lineEdit->setPlaceholderText(leab.placeholderText);
}
}
bool fromMenuOnly = true;