summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2016-11-24 11:58:19 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2016-11-25 10:44:15 +0000
commit847a152474550e0952d31f15069fb346565938df (patch)
treeb79ef2f7f70bee8a29dd61de332c916b0dd1650f /src
parent17d72c783747dd8d9ce767002988d5d5a54a790e (diff)
add docs for QPlatformTheme::WheelScrollLines, MouseDoubleClickDistance
These theme hints were added in fac71528 and 4a2e297b respectively. Change-Id: Iffc98db7623e461dcb4f131f14c3ead1a94f4c88 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qplatformtheme.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformtheme.cpp b/src/gui/kernel/qplatformtheme.cpp
index ce8548f628..da02b665cb 100644
--- a/src/gui/kernel/qplatformtheme.cpp
+++ b/src/gui/kernel/qplatformtheme.cpp
@@ -73,6 +73,10 @@ QT_BEGIN_NAMESPACE
\value MouseDoubleClickInterval (int) Mouse double click interval in ms,
overriding QPlatformIntegration::styleHint.
+ \value MouseDoubleClickDistance (int) The maximum distance in logical pixels which the mouse can travel
+ between clicks in order for the click sequence to be handled as a double click.
+ The default value is 5 logical pixels.
+
\value MousePressAndHoldInterval (int) Mouse press and hold interval in ms,
overriding QPlatformIntegration::styleHint.
@@ -82,6 +86,9 @@ QT_BEGIN_NAMESPACE
\value StartDragTime (int) Start drag time in ms,
overriding QPlatformIntegration::styleHint.
+ \value WheelScrollLines (int) The number of lines to scroll a widget, when the mouse wheel is rotated.
+ The default value is 3. \sa QApplication::wheelScrollLines()
+
\value KeyboardAutoRepeatRate (int) Keyboard auto repeat rate,
overriding QPlatformIntegration::styleHint.