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,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 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">
|
|
||||||
<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>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
Reference in New Issue
Block a user