Skip to content
Permalink
Browse files

Move widgets from QSpinBox to QgsSpinBox

  • Loading branch information
DelazJ authored and nyalldawson committed Oct 3, 2020
1 parent 19acc15 commit 602a775b6198df6d0e1b199199e2762b7d4c2f27
Showing with 231 additions and 82 deletions.
  1. +7 −2 src/ui/3d/map3dexportwidget.ui
  2. +6 −1 src/ui/3d/qgsvectorlayer3dpropertieswidget.ui
  3. +6 −1 src/ui/attributeformconfig/qgsattributeformcontaineredit.ui
  4. +7 −2 src/ui/auth/qgsauthsslimportdialog.ui
  5. +9 −4 src/ui/editorwidgets/qgsrangeconfigdlgbase.ui
  6. +6 −1 src/ui/editorwidgets/qgsvaluerelationconfigdlgbase.ui
  7. +6 −1 src/ui/effects/widget_coloreffects.ui
  8. +7 −2 src/ui/layout/qgslayoutnewpagedialog.ui
  9. +6 −1 src/ui/mesh/qgsmeshlayerpropertiesbase.ui
  10. +2 −2 src/ui/mesh/qgsmeshrenderervectorsettingswidgetbase.ui
  11. +6 −1 src/ui/numericformats/qgsbasicnumericformatwidgetbase.ui
  12. +6 −1 src/ui/numericformats/qgsbearingnumericformatwidgetbase.ui
  13. +6 −1 src/ui/numericformats/qgscurrencynumericformatwidgetbase.ui
  14. +6 −1 src/ui/numericformats/qgspercentagenumericformatwidgetbase.ui
  15. +1 −1 src/ui/numericformats/qgsscientificnumericformatwidgetbase.ui
  16. +9 −2 src/ui/qgsaddattrdialogbase.ui
  17. +8 −1 src/ui/qgsaddtaborgroupbase.ui
  18. +6 −1 src/ui/qgscolorrampshaderwidgetbase.ui
  19. +6 −1 src/ui/qgscompoundcolorwidget.ui
  20. +6 −1 src/ui/qgsdecorationgriddialog.ui
  21. +1 −1 src/ui/qgsdecorationnortharrowdialog.ui
  22. +7 −2 src/ui/qgsfieldcalculatorbase.ui
  23. +3 −3 src/ui/qgsgpsinformationwidgetbase.ui
  24. +1 −1 src/ui/qgsgraduatedsymbolrendererwidget.ui
  25. +6 −1 src/ui/qgshistogramwidgetbase.ui
  26. +12 −7 src/ui/qgslimitedrandomcolorrampwidgetbase.ui
  27. +6 −1 src/ui/qgsoffsetuserinputwidget.ui
  28. +19 −19 src/ui/qgsoptionsbase.ui
  29. +11 −6 src/ui/qgsprojectpropertiesbase.ui
  30. +9 −4 src/ui/qgsrasterlayerpropertiesbase.ui
  31. +9 −4 src/ui/qgsrendererrasterpropswidgetbase.ui
  32. +6 −1 src/ui/qgstextannotationdialogbase.ui
  33. +7 −2 src/ui/qgsvectortileconnectiondialog.ui
  34. +6 −1 src/ui/raster/qgscolorrampshaderwidgetbase.ui
  35. +6 −1 src/ui/symbollayer/widget_shapeburstfill.ui
@@ -26,7 +26,7 @@
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="1" colspan="2">
<widget class="QSpinBox" name="terrainTextureResolutionSpinBox">
<widget class="QgsSpinBox" name="terrainTextureResolutionSpinBox">
<property name="minimum">
<number>16</number>
</property>
@@ -90,7 +90,7 @@
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QSpinBox" name="terrainResolutionSpinBox">
<widget class="QgsSpinBox" name="terrainResolutionSpinBox">
<property name="minimum">
<number>1</number>
</property>
@@ -161,6 +161,11 @@
<header>qgsfilewidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>sceneNameLineEdit</tabstop>
@@ -42,7 +42,7 @@
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinZoomLevelsCount">
<widget class="QgsSpinBox" name="spinZoomLevelsCount">
<property name="minimum">
<number>1</number>
</property>
@@ -75,6 +75,11 @@
<header>qgscollapsiblegroupbox.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
@@ -64,7 +64,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="mColumnCountSpinBox">
<widget class="QgsSpinBox" name="mColumnCountSpinBox">
<property name="minimum">
<number>1</number>
</property>
@@ -116,6 +116,11 @@
<extends>QToolButton</extends>
<header>qgscolorbutton.h</header>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsFieldExpressionWidget</class>
<extends>QWidget</extends>
@@ -127,7 +127,7 @@
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinbxPort">
<widget class="QgsSpinBox" name="spinbxPort">
<property name="maximum">
<number>50000</number>
</property>
@@ -170,7 +170,7 @@
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinbxTimeout">
<widget class="QgsSpinBox" name="spinbxTimeout">
<property name="font">
<font>
<pointsize>8</pointsize>
@@ -273,6 +273,11 @@
<header>qgsauthsslconfigwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsCollapsibleGroupBoxBasic</class>
<extends>QGroupBox</extends>
@@ -52,7 +52,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="precisionSpinBox">
<widget class="QgsSpinBox" name="precisionSpinBox">
<property name="toolTip">
<string>Number of decimal places</string>
</property>
@@ -108,7 +108,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="minimumSpinBox"/>
<widget class="QgsSpinBox" name="minimumSpinBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="maximumLabel">
@@ -118,7 +118,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="maximumSpinBox"/>
<widget class="QgsSpinBox" name="maximumSpinBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="stepLabel">
@@ -128,7 +128,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="stepSpinBox"/>
<widget class="QgsSpinBox" name="stepSpinBox"/>
</item>
</layout>
</widget>
@@ -185,6 +185,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
@@ -124,7 +124,7 @@
</widget>
</item>
<item row="9" column="1">
<widget class="QSpinBox" name="mNofColumns"/>
<widget class="QgsSpinBox" name="mNofColumns"/>
</item>
<item row="2" column="1">
<widget class="QgsFieldComboBox" name="mKeyColumn"/>
@@ -157,6 +157,11 @@
<extends>QComboBox</extends>
<header>qgsfieldcombobox.h</header>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsMapLayerComboBox</class>
<extends>QComboBox</extends>
@@ -171,7 +171,7 @@
</widget>
</item>
<item row="3" column="2">
<widget class="QSpinBox" name="mColorizeStrengthSpinBox">
<widget class="QgsSpinBox" name="mColorizeStrengthSpinBox">
<property name="suffix">
<string>%</string>
</property>
@@ -301,6 +301,11 @@
<extends>QComboBox</extends>
<header>qgseffectdrawmodecombobox.h</header>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsOpacityWidget</class>
<extends>QWidget</extends>
@@ -137,7 +137,7 @@
<item row="1" column="0" colspan="4">
<layout class="QGridLayout" name="gridLayout_4" columnstretch="0,1,0,1">
<item row="0" column="1">
<widget class="QSpinBox" name="mPagesSpinBox">
<widget class="QgsSpinBox" name="mPagesSpinBox">
<property name="minimum">
<number>1</number>
</property>
@@ -193,7 +193,7 @@
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="mExistingPageSpinBox">
<widget class="QgsSpinBox" name="mExistingPageSpinBox">
<property name="minimum">
<number>1</number>
</property>
@@ -243,6 +243,11 @@
<extends>QComboBox</extends>
<header>qgslayoutunitscombobox.h</header>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mPagesSpinBox</tabstop>
@@ -471,7 +471,7 @@ border-radius: 2px;</string>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="mSimplifyMeshResolutionSpinBox">
<widget class="QgsSpinBox" name="mSimplifyMeshResolutionSpinBox">
<property name="suffix">
<string> pixels/triangle</string>
</property>
@@ -776,6 +776,11 @@ border-radius: 2px;</string>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsScrollArea</class>
<extends>QScrollArea</extends>
@@ -252,7 +252,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="mYSpacingSpinBox">
<widget class="QgsSpinBox" name="mYSpacingSpinBox">
<property name="suffix">
<string> px</string>
</property>
@@ -561,7 +561,7 @@
</widget>
</item>
<item>
<widget class="QSpinBox" name="mTracesParticlesCountSpinBox">
<widget class="QgsSpinBox" name="mTracesParticlesCountSpinBox">
<property name="maximum">
<number>1000000</number>
</property>
@@ -66,7 +66,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox">
<widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value">
<number>6</number>
</property>
@@ -125,6 +125,11 @@
<header>qgspanelwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends>
@@ -28,7 +28,7 @@
</spacer>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox">
<widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value">
<number>6</number>
</property>
@@ -61,6 +61,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsPanelWidget</class>
<extends>QWidget</extends>
@@ -43,7 +43,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox">
<widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value">
<number>2</number>
</property>
@@ -92,6 +92,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsPanelWidget</class>
<extends>QWidget</extends>
@@ -45,7 +45,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox">
<widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value">
<number>2</number>
</property>
@@ -78,6 +78,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget>
<class>QgsPanelWidget</class>
<extends>QWidget</extends>
@@ -15,7 +15,7 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox">
<widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value">
<number>6</number>
</property>
@@ -87,7 +87,7 @@
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="mLength">
<widget class="QgsSpinBox" name="mLength">
<property name="toolTip">
<string>Total length of field (including the number of digits after the decimal place for decimal fields).&lt;br&gt;For example 123.45 requires a decimal field length of 5, and 123456 requires an integer field length of 6.</string>
</property>
@@ -107,7 +107,7 @@
</widget>
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="mPrec">
<widget class="QgsSpinBox" name="mPrec">
<property name="toolTip">
<string>Maximum number of digits after the decimal place. For example 123.45 requires a field precision of 2.</string>
</property>
@@ -135,6 +135,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>mNameEdit</tabstop>

0 comments on commit 602a775

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