remove unused checkbox from Placement dialog

This commit is contained in:
wmayer
2018-10-13 01:51:05 +02:00
parent e1c18f0153
commit 715ab0596e
3 changed files with 2 additions and 15 deletions

View File

@@ -87,7 +87,6 @@ Placement::Placement(QWidget* parent, Qt::WindowFlags fl)
propertyName = "Placement"; // default name
ui = new Ui_PlacementComp(this);
ui->applyPlacementChange->hide();
ui->xPos->setUnit(Base::Unit::Length);
ui->yPos->setUnit(Base::Unit::Length);

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>277</width>
<height>427</height>
<height>400</height>
</rect>
</property>
<property name="sizePolicy">
@@ -361,16 +361,6 @@
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="applyPlacementChange">
<property name="text">
<string>Apply placement changes immediately</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="applyIncrementalPlacement">
@@ -407,7 +397,7 @@
</item>
</layout>
</item>
<item row="4" column="0" colspan="2">
<item row="3" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<spacer>
@@ -461,7 +451,6 @@
<tabstops>
<tabstop>rotationInput</tabstop>
<tabstop>direction</tabstop>
<tabstop>applyPlacementChange</tabstop>
<tabstop>applyIncrementalPlacement</tabstop>
<tabstop>oKButton</tabstop>
<tabstop>applyButton</tabstop>

View File

@@ -284,7 +284,6 @@ Transform::Transform(QWidget* parent, Qt::WindowFlags fl)
{
ui = new Ui_TransformComp(this);
ui->resetButton->hide();
ui->applyPlacementChange->hide();
ui->applyIncrementalPlacement->hide();
ui->closeButton->setText(tr("Cancel"));