RemoteLinux: Use remote path choosers for gdbserver and qml paths

Change-Id: Ibf65b08bc1cb9d92a6e7561bd1e97a3e13ea5a7d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2022-12-13 15:27:39 +01:00
parent eca7044361
commit bf060b426f
4 changed files with 25 additions and 12 deletions

View File

@@ -530,6 +530,16 @@ void PathChooser::setDefaultValue(const QString &defaultValue)
d->m_lineEdit->validate();
}
void PathChooser::setPlaceholderText(const QString &placeholderText)
{
d->m_lineEdit->setPlaceholderText(placeholderText);
}
void PathChooser::setToolTip(const QString &toolTip)
{
d->m_lineEdit->setToolTip(toolTip);
}
FancyLineEdit::ValidationFunction PathChooser::defaultValidationFunction() const
{
return std::bind(&PathChooser::validatePath, this, std::placeholders::_1, std::placeholders::_2);