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