diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-09-03 21:30:38 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-09-04 11:55:27 +0200 |
commit | 673ed80fa42a77c92256388d8dff03a3c1651941 (patch) | |
tree | 6942d1c9d05b90195987026798b47cd494bdc1a0 /src/gui | |
parent | c55f61578ce16dec57130bce6c5ef10689c44154 (diff) |
doc: Add the PixelScroll device capability (new in 6.2)
Followup to 69c833dae91d004b48f815e0156d6caeb4cdb491
Pick-to: 6.2
Task-number: QTBUG-72167
Task-number: QTBUG-87646
Change-Id: I4ac7cbacd6dc1407ad3b565674a6d6494ec8857f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qinputdevice.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputdevice.cpp b/src/gui/kernel/qinputdevice.cpp index 9dcf288d00..4505a6b568 100644 --- a/src/gui/kernel/qinputdevice.cpp +++ b/src/gui/kernel/qinputdevice.cpp @@ -101,6 +101,11 @@ QT_BEGIN_NAMESPACE \value Scroll Indicates that the device has a scroll capability. + \value PixelScroll \since 6.2 + Indicates that the device (usually a + \l {QInputDevice::DeviceType::TouchPad}{touchpad}) + scrolls with \l {QWheelEvent::pixelDelta()}{pixel precision}. + \value Hover Indicates that the device has a hover capability. |