remove unused checkbox from Placement dialog
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user