Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use QgsSpinBox instead of QSpinBox and add tooltip
  • Loading branch information
myarjunar authored and m-kuhn committed Mar 10, 2017
1 parent 18a97a7 commit 5e21641
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/ui/qgsoptionsbase.ui
Expand Up @@ -3440,7 +3440,11 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinZoomFactor">
<widget class="QgsSpinBox" name="spinZoomFactor">
<property name="toolTip">
<string>Specifies the change in zoom level with each move of the mouse wheel.
The bigger the number, the faster zooming with the mouse wheel will be.</string>
</property>
<property name="suffix">
<string>%</string>
</property>
Expand All @@ -3456,6 +3460,9 @@
<property name="value">
<number>200</number>
</property>
<property name="showClearButton" stdset="100">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -5480,6 +5487,11 @@
<header>qgsautheditorwidgets.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsSpinBox</class>
<extends>QSpinBox</extends>
<header>qgsspinbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mOptionsListWidget</tabstop>
Expand Down

0 comments on commit 5e21641

Please sign in to comment.