Commit d5b49609 authored by Tobias Hunger's avatar Tobias Hunger

EnvironmentKitInformation: Add tooltip to environment editor

Add a tooltip with basic usage hints.

Task-number: QTCREATORBUG-14808
Change-Id: Ibc416a0a173d36925e857ea1db06745fbd63f66b
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>
parent e5193fe2
......@@ -432,6 +432,10 @@ void KitEnvironmentConfigWidget::editEnvironmentChanges()
m_dialog->setWindowTitle(tr("Edit Environment Changes"));
QVBoxLayout *layout = new QVBoxLayout(m_dialog);
m_editor = new QPlainTextEdit;
m_editor->setToolTip(tr("Enter one variable per line with the variable name "
"separated from the variable value by \"=\".<br>"
"Environment variables can be referenced with ${OTHER}."));
QDialogButtonBox *buttons = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Apply|QDialogButtonBox::Cancel);
layout->addWidget(m_editor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment