Commit d10b5274 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Make custom process step and custom exectuable step UI more similar



Change-Id: I7d3c5109ac56f5d4627ad590d8e13e235433fe59
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent ee76110c
......@@ -7,13 +7,16 @@
<x>0</x>
<y>0</y>
<width>262</width>
<height>66</height>
<height>85</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="commandLabel">
<property name="text">
......@@ -24,25 +27,25 @@
<item row="0" column="1">
<widget class="Utils::PathChooser" name="command" native="true"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="workingDirecoryLabel">
<item row="2" column="0">
<widget class="QLabel" name="commandArgumentsLabel">
<property name="text">
<string>Working directory:</string>
<string>Arguments:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Utils::PathChooser" name="workingDirectory" native="true"/>
<item row="2" column="1">
<widget class="QLineEdit" name="commandArgumentsLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="commandArgumentsLabel">
<item row="3" column="0">
<widget class="QLabel" name="workingDirecoryLabel">
<property name="text">
<string>Command arguments:</string>
<string>Working directory:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="commandArgumentsLineEdit"/>
<item row="3" column="1">
<widget class="Utils::PathChooser" name="workingDirectory" native="true"/>
</item>
</layout>
</widget>
......
......@@ -62,7 +62,7 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
m_executableChooser = new Utils::PathChooser(this);
m_executableChooser->setExpectedKind(Utils::PathChooser::Command);
m_executableChooser->setEnvironment(rc->environment());
layout->addRow(tr("Executable:"), m_executableChooser);
layout->addRow(tr("Command:"), m_executableChooser);
m_commandLineArgumentsLineEdit = new QLineEdit(this);
m_commandLineArgumentsLineEdit->setMinimumWidth(200); // this shouldn't be fixed here...
......
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