Skip to content
Snippets Groups Projects
Commit 9f1a8114 authored by dt's avatar dt
Browse files

Remove duplicated Details button.

parent c06877f2
No related branches found
No related tags found
No related merge requests found
...@@ -143,11 +143,6 @@ ProcessStepConfigWidget::ProcessStepConfigWidget(ProcessStep *step) ...@@ -143,11 +143,6 @@ ProcessStepConfigWidget::ProcessStepConfigWidget(ProcessStep *step)
this, SLOT(commandArgumentsLineEditTextEdited())); this, SLOT(commandArgumentsLineEditTextEdited()));
connect(m_ui.enabledCheckBox, SIGNAL(clicked(bool)), connect(m_ui.enabledCheckBox, SIGNAL(clicked(bool)),
this, SLOT(enabledCheckBoxClicked(bool))); this, SLOT(enabledCheckBoxClicked(bool)));
connect(m_ui.detailsButton, SIGNAL(clicked()),
this, SLOT(toggleDetails()));
m_ui.detailsWidget->setVisible(false);
} }
void ProcessStepConfigWidget::updateDetails() void ProcessStepConfigWidget::updateDetails()
...@@ -159,11 +154,6 @@ void ProcessStepConfigWidget::updateDetails() ...@@ -159,11 +154,6 @@ void ProcessStepConfigWidget::updateDetails()
emit updateSummary(); emit updateSummary();
} }
void ProcessStepConfigWidget::toggleDetails()
{
m_ui.detailsWidget->setVisible(!m_ui.detailsWidget->isVisible());
}
QString ProcessStepConfigWidget::displayName() const QString ProcessStepConfigWidget::displayName() const
{ {
return m_step->name(); return m_step->name();
......
...@@ -81,7 +81,6 @@ private slots: ...@@ -81,7 +81,6 @@ private slots:
void workingDirectoryLineEditTextEdited(); void workingDirectoryLineEditTextEdited();
void commandArgumentsLineEditTextEdited(); void commandArgumentsLineEditTextEdited();
void enabledCheckBoxClicked(bool); void enabledCheckBoxClicked(bool);
void toggleDetails();
private: private:
void updateDetails(); void updateDetails();
QString m_buildConfiguration; QString m_buildConfiguration;
......
...@@ -10,91 +10,61 @@ ...@@ -10,91 +10,61 @@
<height>154</height> <height>154</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QFormLayout" name="formLayout">
<property name="margin"> <item row="0" column="0">
<number>0</number> <widget class="QLabel" name="label">
</property> <property name="text">
<item> <string>Enable Custom Process Step</string>
<layout class="QHBoxLayout" name="horizontalLayout"> </property>
<item> </widget>
<widget class="QLabel" name="titleLabel"> </item>
<property name="text"> <item row="0" column="1">
<string>Custom Process:</string> <widget class="QCheckBox" name="enabledCheckBox">
</property> <property name="text">
</widget> <string/>
</item> </property>
<item> </widget>
<widget class="QToolButton" name="detailsButton">
<property name="text">
<string>Details</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="1" column="0">
<widget class="QWidget" name="detailsWidget" native="true"> <widget class="QLabel" name="nameLabel">
<layout class="QFormLayout" name="formLayout"> <property name="text">
<property name="margin"> <string>Name:</string>
<number>0</number> </property>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Enable Custom Process Step</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="enabledCheckBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="nameLabel">
<property name="text">
<string>Name:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="nameLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="commandLabel">
<property name="text">
<string>Command:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Core::Utils::PathChooser" name="command" native="true"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="workingDirecoryLabel">
<property name="text">
<string>Working Directory:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Core::Utils::PathChooser" name="workingDirectory" native="true"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="commandArgumentsLabel">
<property name="text">
<string>Command Arguments:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="commandArgumentsLineEdit"/>
</item>
</layout>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<widget class="QLineEdit" name="nameLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="commandLabel">
<property name="text">
<string>Command:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Core::Utils::PathChooser" name="command" native="true"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="workingDirecoryLabel">
<property name="text">
<string>Working Directory:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Core::Utils::PathChooser" name="workingDirectory" native="true"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="commandArgumentsLabel">
<property name="text">
<string>Command Arguments:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="commandArgumentsLineEdit"/>
</item>
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment