forked from qt-creator/qt-creator
ExternalTools: Use tool tip for effective arguments
Having the same line twice is confusing Change-Id: Ib85afeb1867cb5bb3fbbdff584fb63f4fe496ea8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
2c68c80196
commit
d8b6c19fef
@@ -609,6 +609,6 @@ void ExternalToolConfig::addCategory()
|
||||
|
||||
void ExternalToolConfig::updateEffectiveArguments()
|
||||
{
|
||||
ui->effectiveArguments->setText(Utils::QtcProcess::expandMacros(ui->arguments->text(),
|
||||
ui->arguments->setToolTip(Utils::QtcProcess::expandMacros(ui->arguments->text(),
|
||||
Core::VariableManager::instance()->macroExpander()));
|
||||
}
|
||||
|
||||
@@ -131,37 +131,20 @@
|
||||
<widget class="QLineEdit" name="arguments"/>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="effectiveArgumentsLabel">
|
||||
<property name="text">
|
||||
<string>Effective arguments:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLineEdit" name="effectiveArguments">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="workingDirectoryLabel">
|
||||
<property name="text">
|
||||
<string>Working directory:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<item row="3" column="1">
|
||||
<widget class="Utils::PathChooser" name="workingDirectory">
|
||||
<property name="expectedKind">
|
||||
<enum>Utils::PathChooser::Directory</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="outputLabel">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body>
|
||||
@@ -174,7 +157,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<item row="4" column="1">
|
||||
<widget class="QComboBox" name="outputBehavior">
|
||||
<item>
|
||||
<property name="text">
|
||||
@@ -193,7 +176,7 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="errorOutputLabel">
|
||||
<property name="toolTip">
|
||||
<string><html><head><body>
|
||||
@@ -208,7 +191,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<item row="5" column="1">
|
||||
<widget class="QComboBox" name="errorOutputBehavior">
|
||||
<item>
|
||||
<property name="text">
|
||||
@@ -227,7 +210,7 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<item row="6" column="1">
|
||||
<widget class="QCheckBox" name="modifiesDocumentCheckbox">
|
||||
<property name="toolTip">
|
||||
<string>If the tool modifies the current document, set this flag to ensure that the document is saved before running the tool and is reloaded after the tool finished.</string>
|
||||
@@ -237,7 +220,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="inputLabel">
|
||||
<property name="toolTip">
|
||||
<string>Text to pass to the executable via standard input. Leave empty if the executable should not receive any input.</string>
|
||||
@@ -247,7 +230,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<item row="7" column="1">
|
||||
<widget class="QPlainTextEdit" name="inputText">
|
||||
<property name="lineWrapMode">
|
||||
<enum>QPlainTextEdit::NoWrap</enum>
|
||||
|
||||
Reference in New Issue
Block a user