diff --git a/src/plugins/projectexplorer/processstep.cpp b/src/plugins/projectexplorer/processstep.cpp index a171369c5599cbd7b68ae0c7c4d4fd3173149626..a4bda97d312cbc502a2cbcad4867f9117dd2b323 100644 --- a/src/plugins/projectexplorer/processstep.cpp +++ b/src/plugins/projectexplorer/processstep.cpp @@ -143,11 +143,6 @@ ProcessStepConfigWidget::ProcessStepConfigWidget(ProcessStep *step) this, SLOT(commandArgumentsLineEditTextEdited())); connect(m_ui.enabledCheckBox, SIGNAL(clicked(bool)), this, SLOT(enabledCheckBoxClicked(bool))); - - connect(m_ui.detailsButton, SIGNAL(clicked()), - this, SLOT(toggleDetails())); - - m_ui.detailsWidget->setVisible(false); } void ProcessStepConfigWidget::updateDetails() @@ -159,11 +154,6 @@ void ProcessStepConfigWidget::updateDetails() emit updateSummary(); } -void ProcessStepConfigWidget::toggleDetails() -{ - m_ui.detailsWidget->setVisible(!m_ui.detailsWidget->isVisible()); -} - QString ProcessStepConfigWidget::displayName() const { return m_step->name(); diff --git a/src/plugins/projectexplorer/processstep.h b/src/plugins/projectexplorer/processstep.h index da444d1e253cde81e723da18fa29eb2553b71ea7..eddfda18b5d0695b2f7da3332313aceefe94e5b5 100644 --- a/src/plugins/projectexplorer/processstep.h +++ b/src/plugins/projectexplorer/processstep.h @@ -81,7 +81,6 @@ private slots: void workingDirectoryLineEditTextEdited(); void commandArgumentsLineEditTextEdited(); void enabledCheckBoxClicked(bool); - void toggleDetails(); private: void updateDetails(); QString m_buildConfiguration; diff --git a/src/plugins/projectexplorer/processstep.ui b/src/plugins/projectexplorer/processstep.ui index 19264f81a42848232fbfa14e53e90669d62a3089..ed01c90aecc0a1a8bdd74af4c704ea4d78ca4237 100644 --- a/src/plugins/projectexplorer/processstep.ui +++ b/src/plugins/projectexplorer/processstep.ui @@ -10,91 +10,61 @@ <height>154</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout"> - <property name="margin"> - <number>0</number> - </property> - <item> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="titleLabel"> - <property name="text"> - <string>Custom Process:</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="detailsButton"> - <property name="text"> - <string>Details</string> - </property> - </widget> - </item> - </layout> + <layout class="QFormLayout" name="formLayout"> + <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> - <widget class="QWidget" name="detailsWidget" native="true"> - <layout class="QFormLayout" name="formLayout"> - <property name="margin"> - <number>0</number> - </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> + <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> <customwidgets>