forked from qt-creator/qt-creator
Make custom process step and custom exectuable step UI more similar
Change-Id: I7d3c5109ac56f5d4627ad590d8e13e235433fe59 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -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,26 +27,26 @@
|
|||||||
<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="commandArgumentsLabel">
|
||||||
|
<property name="text">
|
||||||
|
<string>Arguments:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QLineEdit" name="commandArgumentsLineEdit"/>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="0">
|
||||||
<widget class="QLabel" name="workingDirecoryLabel">
|
<widget class="QLabel" name="workingDirecoryLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Working directory:</string>
|
<string>Working directory:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="Utils::PathChooser" name="workingDirectory" native="true"/>
|
<widget class="Utils::PathChooser" name="workingDirectory" native="true"/>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QLabel" name="commandArgumentsLabel">
|
|
||||||
<property name="text">
|
|
||||||
<string>Command arguments:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="1">
|
|
||||||
<widget class="QLineEdit" name="commandArgumentsLineEdit"/>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|||||||
@@ -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...
|
||||||
|
|||||||
Reference in New Issue
Block a user