Skip to content
Permalink
Browse files

Turn QDoubleSpinBox widgets into QgsDoubleSpingBox (from Nyall's review)

  • Loading branch information
wonder-sk committed Sep 30, 2017
1 parent 518dd17 commit 982cfef067f3cacf2d431cf2a80b11f6ce55c60e
@@ -24,7 +24,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spinHeight">
<widget class="QgsDoubleSpinBox" name="spinHeight">
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
@@ -41,7 +41,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="spinExtrusion">
<widget class="QgsDoubleSpinBox" name="spinExtrusion">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -102,7 +102,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="spinWidth">
<widget class="QgsDoubleSpinBox" name="spinWidth">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -129,6 +129,11 @@
<header>qgsphongmaterialwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>spinWidth</tabstop>
@@ -38,7 +38,7 @@
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QDoubleSpinBox" name="spinTerrainScale">
<widget class="QgsDoubleSpinBox" name="spinTerrainScale">
<property name="value">
<double>1.000000000000000</double>
</property>
@@ -98,7 +98,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="spinGroundError">
<widget class="QgsDoubleSpinBox" name="spinGroundError">
<property name="suffix">
<string> map units</string>
</property>
@@ -131,7 +131,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spinScreenError">
<widget class="QgsDoubleSpinBox" name="spinScreenError">
<property name="suffix">
<string> px</string>
</property>
@@ -172,6 +172,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsMapLayerComboBox</class>
<extends>QComboBox</extends>
@@ -73,7 +73,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="spinShininess">
<widget class="QgsDoubleSpinBox" name="spinShininess">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
@@ -82,6 +82,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsColorButton</class>
<extends>QToolButton</extends>
@@ -32,7 +32,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spinRadius">
<widget class="QgsDoubleSpinBox" name="spinRadius">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -49,7 +49,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="spinMinorRadius">
<widget class="QgsDoubleSpinBox" name="spinMinorRadius">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -66,7 +66,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="spinTopRadius">
<widget class="QgsDoubleSpinBox" name="spinTopRadius">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -80,7 +80,7 @@
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="spinBottomRadius">
<widget class="QgsDoubleSpinBox" name="spinBottomRadius">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -97,7 +97,7 @@
</widget>
</item>
<item row="5" column="1">
<widget class="QDoubleSpinBox" name="spinSize">
<widget class="QgsDoubleSpinBox" name="spinSize">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -114,7 +114,7 @@
</widget>
</item>
<item row="6" column="1">
<widget class="QDoubleSpinBox" name="spinLength">
<widget class="QgsDoubleSpinBox" name="spinLength">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -208,21 +208,21 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spinTX">
<widget class="QgsDoubleSpinBox" name="spinTX">
<property name="minimum">
<double>-99.900000000000006</double>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="spinTY">
<widget class="QgsDoubleSpinBox" name="spinTY">
<property name="minimum">
<double>-99.900000000000006</double>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QDoubleSpinBox" name="spinTZ">
<widget class="QgsDoubleSpinBox" name="spinTZ">
<property name="minimum">
<double>-99.900000000000006</double>
</property>
@@ -236,21 +236,21 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="spinSX">
<widget class="QgsDoubleSpinBox" name="spinSX">
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QDoubleSpinBox" name="spinSY">
<widget class="QgsDoubleSpinBox" name="spinSY">
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QDoubleSpinBox" name="spinSZ">
<widget class="QgsDoubleSpinBox" name="spinSZ">
<property name="value">
<double>1.000000000000000</double>
</property>
@@ -264,7 +264,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="spinRX">
<widget class="QgsDoubleSpinBox" name="spinRX">
<property name="decimals">
<number>0</number>
</property>
@@ -274,7 +274,7 @@
</widget>
</item>
<item row="3" column="2">
<widget class="QDoubleSpinBox" name="spinRY">
<widget class="QgsDoubleSpinBox" name="spinRY">
<property name="decimals">
<number>0</number>
</property>
@@ -284,7 +284,7 @@
</widget>
</item>
<item row="3" column="3">
<widget class="QDoubleSpinBox" name="spinRZ">
<widget class="QgsDoubleSpinBox" name="spinRZ">
<property name="decimals">
<number>0</number>
</property>
@@ -304,6 +304,11 @@
<header>qgsphongmaterialwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>spinRadius</tabstop>
@@ -24,7 +24,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="spinHeight">
<widget class="QgsDoubleSpinBox" name="spinHeight">
<property name="minimum">
<double>-99999.000000000000000</double>
</property>
@@ -41,7 +41,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spinExtrusion">
<widget class="QgsDoubleSpinBox" name="spinExtrusion">
<property name="maximum">
<double>99999.000000000000000</double>
</property>
@@ -115,6 +115,11 @@
<header>qgsphongmaterialwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>

0 comments on commit 982cfef

Please sign in to comment.
You can’t perform that action at this time.