qt5base-lts/doc/src
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
..
corelib Update contact address in license headers. 2012-01-31 04:54:56 +01:00
dbus Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
examples Some small doc fixes, typos and removal of one incorrect paragraph 2012-02-17 05:28:35 +01:00
gui Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
images Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
network Various documentation fixes ported from Qt 4.8 2012-02-15 08:59:29 +01:00
printsupport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
snippets QWheelEvent high-resolution delta support. 2012-02-24 14:55:06 +01:00
sql Various documentation fixes ported from Qt 4.8 2012-02-15 08:59:29 +01:00
widgets Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00