forked from qt-creator/qt-creator
Remove duplicated Details button.
This commit is contained in:
@@ -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()
|
|||||||
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:
|
|||||||
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,34 +10,7 @@
|
|||||||
<height>154</height>
|
<height>154</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</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>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QWidget" name="detailsWidget" native="true">
|
|
||||||
<layout class="QFormLayout" name="formLayout">
|
<layout class="QFormLayout" name="formLayout">
|
||||||
<property name="margin">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -94,9 +67,6 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
<class>Core::Utils::PathChooser</class>
|
<class>Core::Utils::PathChooser</class>
|
||||||
|
Reference in New Issue
Block a user