[PD] UI file fixes

the rotation angle settings of primitives had a different layout than the other parameters, this things like shown in the image below happened.

- The PR uniforms all layouts to grid and for the PD layout
- it sets for the cylinder page a minimum width
- the PD UI file is now also sorted using David's file sorter
- fix the mess with stdset="0"> I accidentally introduced with the merges from yesterday (I simply forgot to install to Qt designer the FreeCAD widgets and then designer pollutes the file with these tags for all FC-specific widgets since it doesn't know them
This commit is contained in:
donovaly
2021-04-06 04:33:50 +02:00
committed by wmayer
parent d26e7500ab
commit dff561a1b0
2 changed files with 697 additions and 766 deletions

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>360</width>
<height>298</height>
<height>246</height>
</rect>
</property>
<property name="windowTitle">
@@ -423,10 +423,7 @@
<number>6</number>
</property>
<item row="2" column="0">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<property name="leftMargin">
<number>0</number>
</property>
@@ -439,14 +436,20 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="minimumSize">
<size>
<width>123</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Rotation angle:</string>
</property>
</widget>
</item>
<item>
<item row="0" column="1">
<widget class="Gui::QuantitySpinBox" name="cylinderAngle">
<property name="keyboardTracking">
<bool>false</bool>
@@ -556,16 +559,16 @@
<property name="toolTip">
<string>Angle in first direction</string>
</property>
<property name="keyboardTracking" stdset="0">
<property name="keyboardTracking">
<bool>false</bool>
</property>
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
<property name="minimum" stdset="0">
<property name="minimum">
<double>-90.000000000000000</double>
</property>
<property name="maximum" stdset="0">
<property name="maximum">
<double>90.000000000000000</double>
</property>
</widget>
@@ -582,16 +585,16 @@
<property name="toolTip">
<string>Angle in second direction</string>
</property>
<property name="keyboardTracking" stdset="0">
<property name="keyboardTracking">
<bool>false</bool>
</property>
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
<property name="minimum" stdset="0">
<property name="minimum">
<double>-90.000000000000000</double>
</property>
<property name="maximum" stdset="0">
<property name="maximum">
<double>90.000000000000000</double>
</property>
</widget>
@@ -618,10 +621,7 @@
<number>6</number>
</property>
<item row="2" column="0">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<layout class="QGridLayout" name="gridLayout_12">
<property name="leftMargin">
<number>0</number>
</property>
@@ -634,14 +634,14 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Angle:</string>
</property>
</widget>
</item>
<item>
<item row="0" column="1">
<widget class="Gui::QuantitySpinBox" name="coneAngle">
<property name="keyboardTracking">
<bool>false</bool>

File diff suppressed because it is too large Load Diff