From 58daa046f1e2eebaba458309b778431ec6203458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Skowro=C5=84ski?= Date: Sat, 7 May 2016 15:10:12 +0200 Subject: [PATCH] Fix layout in TaskDatumParameters dialog. --- .../PartDesign/Gui/TaskDatumParameters.cpp | 2 +- src/Mod/PartDesign/Gui/TaskDatumParameters.ui | 196 ++++++++++-------- 2 files changed, 116 insertions(+), 82 deletions(-) diff --git a/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp b/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp index 50faacd4c..8137ea266 100644 --- a/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp @@ -331,7 +331,7 @@ bool TaskDatumParameters::updatePreview() } } QString splmLabelText = attached ? tr("Extra placement:") : tr("Extra placement (inactive - not attached):"); - ui->label_superplacement->setText(splmLabelText); + ui->groupBox_superplacement->setTitle(splmLabelText); return attached; } diff --git a/src/Mod/PartDesign/Gui/TaskDatumParameters.ui b/src/Mod/PartDesign/Gui/TaskDatumParameters.ui index 8c234ac5b..f956ab917 100644 --- a/src/Mod/PartDesign/Gui/TaskDatumParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskDatumParameters.ui @@ -6,8 +6,8 @@ 0 0 - 272 - 583 + 271 + 604 @@ -110,18 +110,21 @@ - + + + + 0 + 0 + + Mirror of superPlacement property. Extra placement is expressed in local space of object being attached. - + Extra placement: - - - - - + + @@ -130,25 +133,14 @@ - X + X: + + + labelOffset - - - - - 0 - 0 - - - - - - - - - + @@ -157,11 +149,11 @@ - Y + Y: - + @@ -169,13 +161,15 @@ 0 + + + 0 + 5 + + - - - - - + @@ -184,11 +178,11 @@ - Z + Z: - + @@ -196,13 +190,15 @@ 0 + + + 0 + 5 + + - - - - - + @@ -211,38 +207,25 @@ - Yaw + Yaw: - - + + - + 0 0 - - deg - - - -360.000000000000000 - - - 360.000000000000000 - - - 0.000000000000000 + + Pitch: - - - - - - + + 0 @@ -250,12 +233,28 @@ - Pitch + Roll: - - + + + + + 0 + 0 + + + + + 0 + 5 + + + + + + 0 @@ -265,36 +264,41 @@ deg - + -360.000000000000000 - + 360.000000000000000 - + 0.000000000000000 - - - - - - + + - + 0 0 - - Roll + + deg + + + -360.000000000000000 + + + 360.000000000000000 + + + 0.000000000000000 - - + + 0 @@ -304,18 +308,19 @@ deg - + -360.000000000000000 - + 360.000000000000000 - + 0.000000000000000 + @@ -330,7 +335,7 @@ Gui::QuantitySpinBox QWidget -
Gui/QuantitySpinBox.h
+
Gui/QuantitySpinBox.h
Gui::PrefQuantitySpinBox @@ -338,6 +343,35 @@
Gui/PrefWidgets.h
+ + buttonRef1 + lineRef1 + buttonRef2 + lineRef2 + buttonRef3 + lineRef3 + buttonRef4 + lineRef4 + listOfModes + checkBoxFlip + + + + 10 + + + 10 + + + true + + + true + + + true + +