Move widgets from QSpinBox to QgsSpinBox

This commit is contained in:
Harrissou Sant-anna 2020-09-29 03:30:02 +02:00 committed by Nyall Dawson
parent 19acc15de9
commit 602a775b61
35 changed files with 231 additions and 82 deletions

View File

@ -26,7 +26,7 @@
<item row="0" column="0"> <item row="0" column="0">
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="3" column="1" colspan="2"> <item row="3" column="1" colspan="2">
<widget class="QSpinBox" name="terrainTextureResolutionSpinBox"> <widget class="QgsSpinBox" name="terrainTextureResolutionSpinBox">
<property name="minimum"> <property name="minimum">
<number>16</number> <number>16</number>
</property> </property>
@ -90,7 +90,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1" colspan="2"> <item row="2" column="1" colspan="2">
<widget class="QSpinBox" name="terrainResolutionSpinBox"> <widget class="QgsSpinBox" name="terrainResolutionSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -161,6 +161,11 @@
<header>qgsfilewidget.h</header> <header>qgsfilewidget.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets> </customwidgets>
<tabstops> <tabstops>
<tabstop>sceneNameLineEdit</tabstop> <tabstop>sceneNameLineEdit</tabstop>

View File

@ -42,7 +42,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinZoomLevelsCount"> <widget class="QgsSpinBox" name="spinZoomLevelsCount">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -75,6 +75,11 @@
<header>qgscollapsiblegroupbox.h</header> <header>qgscollapsiblegroupbox.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets> </customwidgets>
<resources/> <resources/>
<connections/> <connections/>

View File

@ -64,7 +64,7 @@
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QSpinBox" name="mColumnCountSpinBox"> <widget class="QgsSpinBox" name="mColumnCountSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -116,6 +116,11 @@
<extends>QToolButton</extends> <extends>QToolButton</extends>
<header>qgscolorbutton.h</header> <header>qgscolorbutton.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsFieldExpressionWidget</class> <class>QgsFieldExpressionWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -127,7 +127,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinbxPort"> <widget class="QgsSpinBox" name="spinbxPort">
<property name="maximum"> <property name="maximum">
<number>50000</number> <number>50000</number>
</property> </property>
@ -170,7 +170,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinbxTimeout"> <widget class="QgsSpinBox" name="spinbxTimeout">
<property name="font"> <property name="font">
<font> <font>
<pointsize>8</pointsize> <pointsize>8</pointsize>
@ -273,6 +273,11 @@
<header>qgsauthsslconfigwidget.h</header> <header>qgsauthsslconfigwidget.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsCollapsibleGroupBoxBasic</class> <class>QgsCollapsibleGroupBoxBasic</class>
<extends>QGroupBox</extends> <extends>QGroupBox</extends>

View File

@ -52,7 +52,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="precisionSpinBox"> <widget class="QgsSpinBox" name="precisionSpinBox">
<property name="toolTip"> <property name="toolTip">
<string>Number of decimal places</string> <string>Number of decimal places</string>
</property> </property>
@ -108,7 +108,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="minimumSpinBox"/> <widget class="QgsSpinBox" name="minimumSpinBox"/>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="maximumLabel"> <widget class="QLabel" name="maximumLabel">
@ -118,7 +118,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="maximumSpinBox"/> <widget class="QgsSpinBox" name="maximumSpinBox"/>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="stepLabel"> <widget class="QLabel" name="stepLabel">
@ -128,7 +128,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QSpinBox" name="stepSpinBox"/> <widget class="QgsSpinBox" name="stepSpinBox"/>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -185,6 +185,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsDoubleSpinBox</class> <class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends> <extends>QDoubleSpinBox</extends>

View File

@ -124,7 +124,7 @@
</widget> </widget>
</item> </item>
<item row="9" column="1"> <item row="9" column="1">
<widget class="QSpinBox" name="mNofColumns"/> <widget class="QgsSpinBox" name="mNofColumns"/>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QgsFieldComboBox" name="mKeyColumn"/> <widget class="QgsFieldComboBox" name="mKeyColumn"/>
@ -157,6 +157,11 @@
<extends>QComboBox</extends> <extends>QComboBox</extends>
<header>qgsfieldcombobox.h</header> <header>qgsfieldcombobox.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsMapLayerComboBox</class> <class>QgsMapLayerComboBox</class>
<extends>QComboBox</extends> <extends>QComboBox</extends>

View File

@ -171,7 +171,7 @@
</widget> </widget>
</item> </item>
<item row="3" column="2"> <item row="3" column="2">
<widget class="QSpinBox" name="mColorizeStrengthSpinBox"> <widget class="QgsSpinBox" name="mColorizeStrengthSpinBox">
<property name="suffix"> <property name="suffix">
<string>%</string> <string>%</string>
</property> </property>
@ -301,6 +301,11 @@
<extends>QComboBox</extends> <extends>QComboBox</extends>
<header>qgseffectdrawmodecombobox.h</header> <header>qgseffectdrawmodecombobox.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsOpacityWidget</class> <class>QgsOpacityWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -137,7 +137,7 @@
<item row="1" column="0" colspan="4"> <item row="1" column="0" colspan="4">
<layout class="QGridLayout" name="gridLayout_4" columnstretch="0,1,0,1"> <layout class="QGridLayout" name="gridLayout_4" columnstretch="0,1,0,1">
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="mPagesSpinBox"> <widget class="QgsSpinBox" name="mPagesSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -193,7 +193,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QSpinBox" name="mExistingPageSpinBox"> <widget class="QgsSpinBox" name="mExistingPageSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -243,6 +243,11 @@
<extends>QComboBox</extends> <extends>QComboBox</extends>
<header>qgslayoutunitscombobox.h</header> <header>qgslayoutunitscombobox.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets> </customwidgets>
<tabstops> <tabstops>
<tabstop>mPagesSpinBox</tabstop> <tabstop>mPagesSpinBox</tabstop>

View File

@ -471,7 +471,7 @@ border-radius: 2px;</string>
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QSpinBox" name="mSimplifyMeshResolutionSpinBox"> <widget class="QgsSpinBox" name="mSimplifyMeshResolutionSpinBox">
<property name="suffix"> <property name="suffix">
<string> pixels/triangle</string> <string> pixels/triangle</string>
</property> </property>
@ -776,6 +776,11 @@ border-radius: 2px;</string>
<extends>QDoubleSpinBox</extends> <extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header> <header>qgsdoublespinbox.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsScrollArea</class> <class>QgsScrollArea</class>
<extends>QScrollArea</extends> <extends>QScrollArea</extends>

View File

@ -252,7 +252,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="mYSpacingSpinBox"> <widget class="QgsSpinBox" name="mYSpacingSpinBox">
<property name="suffix"> <property name="suffix">
<string> px</string> <string> px</string>
</property> </property>
@ -561,7 +561,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mTracesParticlesCountSpinBox"> <widget class="QgsSpinBox" name="mTracesParticlesCountSpinBox">
<property name="maximum"> <property name="maximum">
<number>1000000</number> <number>1000000</number>
</property> </property>

View File

@ -66,7 +66,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox"> <widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value"> <property name="value">
<number>6</number> <number>6</number>
</property> </property>
@ -125,6 +125,11 @@
<header>qgspanelwidget.h</header> <header>qgspanelwidget.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsFilterLineEdit</class> <class>QgsFilterLineEdit</class>
<extends>QLineEdit</extends> <extends>QLineEdit</extends>

View File

@ -28,7 +28,7 @@
</spacer> </spacer>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox"> <widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value"> <property name="value">
<number>6</number> <number>6</number>
</property> </property>
@ -61,6 +61,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsPanelWidget</class> <class>QgsPanelWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -43,7 +43,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox"> <widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value"> <property name="value">
<number>2</number> <number>2</number>
</property> </property>
@ -92,6 +92,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsPanelWidget</class> <class>QgsPanelWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -45,7 +45,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox"> <widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value"> <property name="value">
<number>2</number> <number>2</number>
</property> </property>
@ -78,6 +78,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsPanelWidget</class> <class>QgsPanelWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -15,7 +15,7 @@
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="mDecimalsSpinBox"> <widget class="QgsSpinBox" name="mDecimalsSpinBox">
<property name="value"> <property name="value">
<number>6</number> <number>6</number>
</property> </property>

View File

@ -87,7 +87,7 @@
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QSpinBox" name="mLength"> <widget class="QgsSpinBox" name="mLength">
<property name="toolTip"> <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> <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> </property>
@ -107,7 +107,7 @@
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item row="5" column="1">
<widget class="QSpinBox" name="mPrec"> <widget class="QgsSpinBox" name="mPrec">
<property name="toolTip"> <property name="toolTip">
<string>Maximum number of digits after the decimal place. For example 123.45 requires a field precision of 2.</string> <string>Maximum number of digits after the decimal place. For example 123.45 requires a field precision of 2.</string>
</property> </property>
@ -135,6 +135,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<tabstops> <tabstops>
<tabstop>mNameEdit</tabstop> <tabstop>mNameEdit</tabstop>

View File

@ -89,7 +89,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="mColumnCountSpinBox"> <widget class="QgsSpinBox" name="mColumnCountSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -110,6 +110,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<tabstops> <tabstops>
<tabstop>mName</tabstop> <tabstop>mName</tabstop>
<tabstop>mTabButton</tabstop> <tabstop>mTabButton</tabstop>

View File

@ -227,7 +227,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mNumberOfEntriesSpinBox"> <widget class="QgsSpinBox" name="mNumberOfEntriesSpinBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -267,6 +267,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsColorRampButton</class> <class>QgsColorRampButton</class>
<extends>QToolButton</extends> <extends>QToolButton</extends>

View File

@ -186,7 +186,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mSpinBoxRadius"> <widget class="QgsSpinBox" name="mSpinBoxRadius">
<property name="suffix"> <property name="suffix">
<string> px</string> <string> px</string>
</property> </property>
@ -942,6 +942,11 @@
</action> </action>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsColorButton</class> <class>QgsColorButton</class>
<extends>QToolButton</extends> <extends>QToolButton</extends>

View File

@ -249,7 +249,7 @@
<enum>QLayout::SetMinimumSize</enum> <enum>QLayout::SetMinimumSize</enum>
</property> </property>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QSpinBox" name="mCoordinatePrecisionSpinBox"/> <widget class="QgsSpinBox" name="mCoordinatePrecisionSpinBox"/>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QgsDoubleSpinBox" name="mDistanceToMapFrameSpinBox"/> <widget class="QgsDoubleSpinBox" name="mDistanceToMapFrameSpinBox"/>
@ -349,6 +349,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsDoubleSpinBox</class> <class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends> <extends>QDoubleSpinBox</extends>

View File

@ -315,7 +315,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinAngle"> <widget class="QgsSpinBox" name="spinAngle">
<property name="maximum"> <property name="maximum">
<number>360</number> <number>360</number>
</property> </property>

View File

@ -168,7 +168,7 @@
<number>3</number> <number>3</number>
</property> </property>
<item row="5" column="3"> <item row="5" column="3">
<widget class="QSpinBox" name="mOutputFieldPrecisionSpinBox"> <widget class="QgsSpinBox" name="mOutputFieldPrecisionSpinBox">
<property name="toolTip"> <property name="toolTip">
<string>Maximum number of digits after the decimal place. For example 123.45 requires a field precision of 2.</string> <string>Maximum number of digits after the decimal place. For example 123.45 requires a field precision of 2.</string>
</property> </property>
@ -204,7 +204,7 @@
<widget class="QComboBox" name="mOutputFieldTypeComboBox"/> <widget class="QComboBox" name="mOutputFieldTypeComboBox"/>
</item> </item>
<item row="5" column="1"> <item row="5" column="1">
<widget class="QSpinBox" name="mOutputFieldWidthSpinBox"> <widget class="QgsSpinBox" name="mOutputFieldWidthSpinBox">
<property name="toolTip"> <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> <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> </property>
@ -258,6 +258,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsExpressionBuilderWidget</class> <class>QgsExpressionBuilderWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -915,7 +915,7 @@ gray = no data
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="mSpinTrackWidth"> <widget class="QgsSpinBox" name="mSpinTrackWidth">
<property name="toolTip"> <property name="toolTip">
<string>Track width in pixels</string> <string>Track width in pixels</string>
</property> </property>
@ -1007,7 +1007,7 @@ gray = no data
<widget class="QComboBox" name="mCboTimeZones"/> <widget class="QComboBox" name="mCboTimeZones"/>
</item> </item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QSpinBox" name="mLeapSeconds"/> <widget class="QgsSpinBox" name="mLeapSeconds"/>
</item> </item>
<item row="4" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="mCbxLeapSeconds"> <widget class="QCheckBox" name="mCbxLeapSeconds">
@ -1056,7 +1056,7 @@ gray = no data
<number>20</number> <number>20</number>
</property> </property>
<item> <item>
<widget class="QSpinBox" name="mSpinMapExtentMultiplier"> <widget class="QgsSpinBox" name="mSpinMapExtentMultiplier">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>

View File

@ -181,7 +181,7 @@ Use &quot;%1&quot; for the lower bound of the classification, and &quot;%2&quot;
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinPrecision"> <widget class="QgsSpinBox" name="spinPrecision">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>

View File

@ -50,7 +50,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="2"> <item row="2" column="2">
<widget class="QSpinBox" name="mBinsSpinBox"> <widget class="QgsSpinBox" name="mBinsSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -79,6 +79,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QwtPlot</class> <class>QwtPlot</class>
<extends>QFrame</extends> <extends>QFrame</extends>

View File

@ -24,7 +24,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="spinHue1"> <widget class="QgsSpinBox" name="spinHue1">
<property name="maximum"> <property name="maximum">
<number>359</number> <number>359</number>
</property> </property>
@ -38,7 +38,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<widget class="QSpinBox" name="spinHue2"> <widget class="QgsSpinBox" name="spinHue2">
<property name="maximum"> <property name="maximum">
<number>359</number> <number>359</number>
</property> </property>
@ -48,7 +48,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="spinSat1"> <widget class="QgsSpinBox" name="spinSat1">
<property name="maximum"> <property name="maximum">
<number>255</number> <number>255</number>
</property> </property>
@ -69,7 +69,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="3"> <item row="1" column="3">
<widget class="QSpinBox" name="spinSat2"> <widget class="QgsSpinBox" name="spinSat2">
<property name="maximum"> <property name="maximum">
<number>255</number> <number>255</number>
</property> </property>
@ -79,7 +79,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QSpinBox" name="spinVal1"> <widget class="QgsSpinBox" name="spinVal1">
<property name="maximum"> <property name="maximum">
<number>255</number> <number>255</number>
</property> </property>
@ -100,7 +100,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="3"> <item row="2" column="3">
<widget class="QSpinBox" name="spinVal2"> <widget class="QgsSpinBox" name="spinVal2">
<property name="maximum"> <property name="maximum">
<number>255</number> <number>255</number>
</property> </property>
@ -117,7 +117,7 @@
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QSpinBox" name="spinCount"> <widget class="QgsSpinBox" name="spinCount">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -166,6 +166,11 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsPanelWidget</class> <class>QgsPanelWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -102,7 +102,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<widget class="QSpinBox" name="mQuadrantSpinBox"> <widget class="QgsSpinBox" name="mQuadrantSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -149,6 +149,11 @@
<extends>QDoubleSpinBox</extends> <extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header> <header>qgsdoublespinbox.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../../images/images.qrc"/> <include location="../../images/images.qrc"/>

View File

@ -634,7 +634,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinFontSize"> <widget class="QgsSpinBox" name="spinFontSize">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -677,7 +677,7 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mMessageTimeoutSpnBx"> <widget class="QgsSpinBox" name="mMessageTimeoutSpnBx">
<property name="suffix"> <property name="suffix">
<string> s</string> <string> s</string>
</property> </property>
@ -1980,7 +1980,7 @@
<item row="5" column="1"> <item row="5" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_10"> <layout class="QHBoxLayout" name="horizontalLayout_10">
<item> <item>
<widget class="QSpinBox" name="spinBoxAttrTableRowCache"> <widget class="QgsSpinBox" name="spinBoxAttrTableRowCache">
<property name="minimum"> <property name="minimum">
<number>0</number> <number>0</number>
</property> </property>
@ -2357,7 +2357,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinMaxThreads"/> <widget class="QgsSpinBox" name="spinMaxThreads"/>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_41"> <spacer name="horizontalSpacer_41">
@ -2384,7 +2384,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinMapUpdateInterval"> <widget class="QgsSpinBox" name="spinMapUpdateInterval">
<property name="suffix"> <property name="suffix">
<string> ms</string> <string> ms</string>
</property> </property>
@ -2665,7 +2665,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spnRed"/> <widget class="QgsSpinBox" name="spnRed"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_23"> <widget class="QLabel" name="label_23">
@ -2675,7 +2675,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spnGreen"/> <widget class="QgsSpinBox" name="spnGreen"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_24"> <widget class="QLabel" name="label_24">
@ -2685,7 +2685,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spnBlue"/> <widget class="QgsSpinBox" name="spnBlue"/>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_20"> <spacer name="horizontalSpacer_20">
@ -3292,7 +3292,7 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mLegendGraphicResolutionSpinBox"> <widget class="QgsSpinBox" name="mLegendGraphicResolutionSpinBox">
<property name="toolTip"> <property name="toolTip">
<string extracomment="MAP_RESOLUTION or DPI value overloading getMap default value (set 0 to use default)"/> <string extracomment="MAP_RESOLUTION or DPI value overloading getMap default value (set 0 to use default)"/>
</property> </property>
@ -3348,7 +3348,7 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mMapTipsDelaySpinBox"> <widget class="QgsSpinBox" name="mMapTipsDelaySpinBox">
<property name="toolTip"> <property name="toolTip">
<string extracomment="MAP_RESOLUTION or DPI value overloading getMap default value (set 0 to use default)"/> <string extracomment="MAP_RESOLUTION or DPI value overloading getMap default value (set 0 to use default)"/>
</property> </property>
@ -3588,7 +3588,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="mDecimalPlacesSpinBox"/> <widget class="QgsSpinBox" name="mDecimalPlacesSpinBox"/>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_12"> <widget class="QLabel" name="label_12">
@ -4221,7 +4221,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="mLineWidthSpinBox"> <widget class="QgsSpinBox" name="mLineWidthSpinBox">
<property name="toolTip"> <property name="toolTip">
<string>Line width in pixels</string> <string>Line width in pixels</string>
</property> </property>
@ -4570,7 +4570,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="2"> <item row="1" column="2">
<widget class="QSpinBox" name="mOffsetQuadSegSpinBox"/> <widget class="QgsSpinBox" name="mOffsetQuadSegSpinBox"/>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="label_28"> <widget class="QLabel" name="label_28">
@ -4854,7 +4854,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="mSnapToleranceSpinBox"> <widget class="QgsSpinBox" name="mSnapToleranceSpinBox">
<property name="suffix"> <property name="suffix">
<string> px</string> <string> px</string>
</property> </property>
@ -5239,7 +5239,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mNetworkTimeoutSpinBox"> <widget class="QgsSpinBox" name="mNetworkTimeoutSpinBox">
<property name="maximum"> <property name="maximum">
<number>100000000</number> <number>100000000</number>
</property> </property>
@ -5257,7 +5257,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mDefaultCapabilitiesExpirySpinBox"> <widget class="QgsSpinBox" name="mDefaultCapabilitiesExpirySpinBox">
<property name="maximum"> <property name="maximum">
<number>100000000</number> <number>100000000</number>
</property> </property>
@ -5275,7 +5275,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mDefaultTileExpirySpinBox"> <widget class="QgsSpinBox" name="mDefaultTileExpirySpinBox">
<property name="maximum"> <property name="maximum">
<number>100000000</number> <number>100000000</number>
</property> </property>
@ -5293,7 +5293,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mDefaultTileMaxRetrySpinBox"> <widget class="QgsSpinBox" name="mDefaultTileMaxRetrySpinBox">
<property name="maximum"> <property name="maximum">
<number>100000000</number> <number>100000000</number>
</property> </property>
@ -5352,7 +5352,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<widget class="QLineEdit" name="mCacheDirectory"/> <widget class="QLineEdit" name="mCacheDirectory"/>
</item> </item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QSpinBox" name="mCacheSize"/> <widget class="QgsSpinBox" name="mCacheSize"/>
</item> </item>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QToolButton" name="mBrowseCacheDirectory"> <widget class="QToolButton" name="mBrowseCacheDirectory">

View File

@ -678,7 +678,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinBoxDP"> <widget class="QgsSpinBox" name="spinBoxDP">
<property name="toolTip"> <property name="toolTip">
<string>The number of decimal places for the manual option</string> <string>The number of decimal places for the manual option</string>
</property> </property>
@ -2170,7 +2170,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mWMSMaxAtlasFeaturesSpinBox"> <widget class="QgsSpinBox" name="mWMSMaxAtlasFeaturesSpinBox">
<property name="maximum"> <property name="maximum">
<number>9999999</number> <number>9999999</number>
</property> </property>
@ -2198,7 +2198,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mWMSPrecisionSpinBox"> <widget class="QgsSpinBox" name="mWMSPrecisionSpinBox">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -2567,7 +2567,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mWMSImageQualitySpinBox"> <widget class="QgsSpinBox" name="mWMSImageQualitySpinBox">
<property name="minimum"> <property name="minimum">
<number>10</number> <number>10</number>
</property> </property>
@ -2597,7 +2597,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mWMSTileBufferSpinBox"/> <widget class="QgsSpinBox" name="mWMSTileBufferSpinBox"/>
</item> </item>
</layout> </layout>
</item> </item>
@ -2626,7 +2626,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mWMTSMinScaleLineEdit"> <widget class="QgsSpinBox" name="mWMTSMinScaleLineEdit">
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -3166,6 +3166,11 @@
<header>qgsopacitywidget.h</header> <header>qgsopacitywidget.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsCodeEditorPython</class> <class>QgsCodeEditorPython</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -856,7 +856,7 @@ border-radius: 2px;</string>
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QSpinBox" name="mBrightnessSpinBox"> <widget class="QgsSpinBox" name="mBrightnessSpinBox">
<property name="minimum"> <property name="minimum">
<number>-255</number> <number>-255</number>
</property> </property>
@ -895,7 +895,7 @@ border-radius: 2px;</string>
</widget> </widget>
</item> </item>
<item row="1" column="6"> <item row="1" column="6">
<widget class="QSpinBox" name="mContrastSpinBox"> <widget class="QgsSpinBox" name="mContrastSpinBox">
<property name="minimum"> <property name="minimum">
<number>-100</number> <number>-100</number>
</property> </property>
@ -974,7 +974,7 @@ border-radius: 2px;</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinColorizeStrength"> <widget class="QgsSpinBox" name="spinColorizeStrength">
<property name="suffix"> <property name="suffix">
<string>%</string> <string>%</string>
</property> </property>
@ -1127,7 +1127,7 @@ border-radius: 2px;</string>
</widget> </widget>
</item> </item>
<item row="2" column="6"> <item row="2" column="6">
<widget class="QSpinBox" name="spinBoxSaturation"> <widget class="QgsSpinBox" name="spinBoxSaturation">
<property name="minimum"> <property name="minimum">
<number>-100</number> <number>-100</number>
</property> </property>
@ -2670,6 +2670,11 @@ p, li { white-space: pre-wrap; }
<extends>QLineEdit</extends> <extends>QLineEdit</extends>
<header>qgsfilterlineedit.h</header> <header>qgsfilterlineedit.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsOpacityWidget</class> <class>QgsOpacityWidget</class>
<extends>QWidget</extends> <extends>QWidget</extends>

View File

@ -144,7 +144,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinColorizeStrength"> <widget class="QgsSpinBox" name="spinColorizeStrength">
<property name="suffix"> <property name="suffix">
<string>%</string> <string>%</string>
</property> </property>
@ -217,7 +217,7 @@
</widget> </widget>
</item> </item>
<item row="3" column="2"> <item row="3" column="2">
<widget class="QSpinBox" name="mContrastSpinBox"> <widget class="QgsSpinBox" name="mContrastSpinBox">
<property name="minimum"> <property name="minimum">
<number>-100</number> <number>-100</number>
</property> </property>
@ -301,7 +301,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="2"> <item row="2" column="2">
<widget class="QSpinBox" name="spinBoxSaturation"> <widget class="QgsSpinBox" name="spinBoxSaturation">
<property name="minimum"> <property name="minimum">
<number>-100</number> <number>-100</number>
</property> </property>
@ -317,7 +317,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QSpinBox" name="mBrightnessSpinBox"> <widget class="QgsSpinBox" name="mBrightnessSpinBox">
<property name="minimum"> <property name="minimum">
<number>-255</number> <number>-255</number>
</property> </property>
@ -478,6 +478,11 @@
<header>qgscolorbutton.h</header> <header>qgscolorbutton.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsBlendModeComboBox</class> <class>QgsBlendModeComboBox</class>
<extends>QComboBox</extends> <extends>QComboBox</extends>

View File

@ -33,7 +33,7 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mFontSizeSpinBox"/> <widget class="QgsSpinBox" name="mFontSizeSpinBox"/>
</item> </item>
<item> <item>
<widget class="QPushButton" name="mBoldPushButton"> <widget class="QPushButton" name="mBoldPushButton">
@ -121,6 +121,11 @@
<extends>QToolButton</extends> <extends>QToolButton</extends>
<header>qgscolorbutton.h</header> <header>qgscolorbutton.h</header>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets> </customwidgets>
<tabstops> <tabstops>
<tabstop>mFontComboBox</tabstop> <tabstop>mFontComboBox</tabstop>

View File

@ -66,7 +66,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="2"> <item row="2" column="2">
<widget class="QSpinBox" name="mSpinZMin"> <widget class="QgsSpinBox" name="mSpinZMin">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -86,7 +86,7 @@
</widget> </widget>
</item> </item>
<item row="6" column="2"> <item row="6" column="2">
<widget class="QSpinBox" name="mSpinZMax"> <widget class="QgsSpinBox" name="mSpinZMax">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -177,6 +177,11 @@
<header>auth/qgsauthsettingswidget.h</header> <header>auth/qgsauthsettingswidget.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets> </customwidgets>
<tabstops> <tabstops>
<tabstop>mEditName</tabstop> <tabstop>mEditName</tabstop>

View File

@ -227,7 +227,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mNumberOfEntriesSpinBox"> <widget class="QgsSpinBox" name="mNumberOfEntriesSpinBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -265,6 +265,11 @@ suffix</string>
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsColorRampButton</class> <class>QgsColorRampButton</class>
<extends>QToolButton</extends> <extends>QToolButton</extends>

View File

@ -79,7 +79,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="mSpinBlurRadius"> <widget class="QgsSpinBox" name="mSpinBlurRadius">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>1</horstretch> <horstretch>1</horstretch>
@ -458,6 +458,11 @@
<header>qgsunitselectionwidget.h</header> <header>qgsunitselectionwidget.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>QgsColorRampButton</class> <class>QgsColorRampButton</class>
<extends>QToolButton</extends> <extends>QToolButton</extends>