qt5base-lts/tests/manual
Morten Johan Sorvig 5a2efb490b QWheelEvent high-resolution delta support.
Support pixel-based deltas as well as sending
dx and dy values in the same event. Keep source and
behavior compatibility with Qt 4.

New API:
QPoint pixelDelta() const
QPoint angleDelta() const

Deprecate delta() and orientation().

Both pixel-based deltas and combined updates are
necessary for smooth trackpad-based scrolling on
OS X.

Qt 4 compatible behavior is achieved by sending an
extra wheel event in cases where the initial event
has a combined dx and dy update. This extra event
sends dx in delta() and orientation(), with pixelDelta()
and angleDelta() set to null.

Modify the Cocoa implementation to provide pixel
deltas. It is expected that not all platforms can
provide these. Angle deltas will always be available.

Change-Id: I20c10f0df338ddcd6a3f7a4d40949ed5ae3b4795
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
2012-02-24 14:55:06 +01:00
..
bearerex Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cmake Add the QtMain windows library to the CMake files. 2012-02-23 23:46:01 +01:00
cocoa QWheelEvent high-resolution delta support. 2012-02-24 14:55:06 +01:00
gestures clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
inputmethodhints Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
keypadnavigation Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
lance clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
mkspecs Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
network_remote_stresstest Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
network_stresstest Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcursor Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdesktopwidget Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicsitemgroup Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qgraphicslayout/flicker clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qhttpnetworkconnection clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qimagereader clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qlocale clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qnetworkaccessmanager/qget clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qnetworkconfigurationmanager clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qnetworkreply clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qssloptions Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtabletevent clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qtbug-8933 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtouchevent Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qwidget_zorder clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
repaint clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
socketengine clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
textrendering Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
widgets/itemviews/delegate Introduce QItemDelegate::destroyEditor virtual invoked at editor close 2012-02-02 01:56:03 +01:00
windowflags Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00