From 673ed80fa42a77c92256388d8dff03a3c1651941 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 3 Sep 2021 21:30:38 +0200 Subject: [PATCH] doc: Add the PixelScroll device capability (new in 6.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to 69c833dae91d004b48f815e0156d6caeb4cdb491 Pick-to: 6.2 Task-number: QTBUG-72167 Task-number: QTBUG-87646 Change-Id: I4ac7cbacd6dc1407ad3b565674a6d6494ec8857f Reviewed-by: Tor Arne Vestbø --- src/gui/kernel/qinputdevice.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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.