Skip to content
Permalink
Browse files

use QgsSpinBox instead of QSpinBox and add tooltip

  • Loading branch information
myarjunar authored and m-kuhn committed Mar 10, 2017
1 parent 18a97a7 commit 5e216414a4595897a5f5d8f039008e28ff780ea4
Showing with 13 additions and 1 deletion.
  1. +13 −1 src/ui/qgsoptionsbase.ui
@@ -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>
@@ -3456,6 +3460,9 @@
<property name="value">
<number>200</number>
</property>
<property name="showClearButton" stdset="100">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
@@ -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>

0 comments on commit 5e21641

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