Skip to content
Permalink
Browse files

Add more conversion to Qgs(Double)SpinBox

  • Loading branch information
DelazJ authored and nyalldawson committed Oct 3, 2020
1 parent fd8a1e7 commit 3b811bda9fecc8a99c53fe05652783d76da758a9
@@ -45,6 +45,7 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/src/core/effects
${CMAKE_SOURCE_DIR}/src/core/providers/ogr
${CMAKE_SOURCE_DIR}/src/gui
${CMAKE_SOURCE_DIR}/src/gui/editorwidgets
${CMAKE_SOURCE_DIR}/src/analysis/vector/geometry_checker
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/external
@@ -353,7 +353,7 @@
<number>2</number>
</property>
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="doubleSpinBoxAngle">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxAngle">
<property name="decimals">
<number>6</number>
</property>
@@ -377,7 +377,7 @@
</widget>
</item>
<item row="2" column="2">
<widget class="QDoubleSpinBox" name="doubleSpinBoxArea">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxArea">
<property name="decimals">
<number>6</number>
</property>
@@ -387,7 +387,7 @@
</widget>
</item>
<item row="0" column="2">
<widget class="QDoubleSpinBox" name="doubleSpinBoxSegmentLength">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxSegmentLength">
<property name="decimals">
<number>6</number>
</property>
@@ -432,7 +432,7 @@
<number>0</number>
</property>
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="doubleSpinBoxSliverArea">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxSliverArea">
<property name="enabled">
<bool>false</bool>
</property>
@@ -471,7 +471,7 @@
</widget>
</item>
<item row="0" column="2">
<widget class="QDoubleSpinBox" name="doubleSpinBoxSliverThinness">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxSliverThinness">
<property name="decimals">
<number>0</number>
</property>
@@ -531,7 +531,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBoxGapArea">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxGapArea">
<property name="decimals">
<number>6</number>
</property>
@@ -568,7 +568,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBoxOverlapArea">
<widget class="QgsDoubleSpinBox" name="doubleSpinBoxOverlapArea">
<property name="decimals">
<number>6</number>
</property>
@@ -664,7 +664,7 @@
<number>2</number>
</property>
<item row="0" column="1">
<widget class="QSpinBox" name="spinBoxTolerance">
<widget class="QgsSpinBox" name="spinBoxTolerance">
<property name="prefix">
<string notr="true">1E-</string>
</property>
@@ -892,6 +892,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsVScrollArea</class>
<extends>QScrollArea</extends>
@@ -26,6 +26,7 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/src/core/metadata
${CMAKE_SOURCE_DIR}/src/core/symbology
${CMAKE_SOURCE_DIR}/src/gui
${CMAKE_SOURCE_DIR}/src/gui/editorwidgets
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

@@ -30,6 +30,7 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/src/core/symbology
${CMAKE_SOURCE_DIR}/src/gui
${CMAKE_SOURCE_DIR}/src/gui/auth
${CMAKE_SOURCE_DIR}/src/gui/editorwidgets
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

@@ -660,7 +660,7 @@
</widget>
</item>
<item>
<widget class="QSpinBox" name="rowCounter">
<widget class="QgsSpinBox" name="rowCounter">
<property name="minimumSize">
<size>
<width>0</width>
@@ -1406,6 +1406,11 @@
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsCollapsibleGroupBox</class>
<extends>QGroupBox</extends>
@@ -48,7 +48,7 @@
</widget>
</item>
<item row="8" column="2">
<widget class="QSpinBox" name="mSpinZMax">
<widget class="QgsSpinBox" name="mSpinZMax">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -139,7 +139,7 @@
</widget>
</item>
<item row="4" column="2">
<widget class="QSpinBox" name="mSpinZMin">
<widget class="QgsSpinBox" name="mSpinZMin">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -196,6 +196,11 @@
<header>auth/qgsauthsettingswidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mEditName</tabstop>

0 comments on commit 3b811bd

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