qt6-bb10/src/plugins/platforms
Shawn Rutledge 317c341a66 QWheelEvent on OSX: phase changes to ScrollEnd after momentum phase
The phase changes to ScrollEnd as soon as the user's fingers
are lifted from the trackpad; then the OS can optionally continue
sending scroll events to simulate deceleration, which are translated
into more QWheelEvents with phase ScrollUpdate.  With this patch,
the phase of the final event after the momentum phase will be
ScrollEnd to indicate that the scrolling is completely finished.

[ChangeLog][QtGui][QWheelEvent] on OSX, trackpad wheel event phase
transitions occur in the order ScrollBegin, ScrollUpdate, ...,
ScrollEnd, ScrollUpdate, ..., ScrollEnd, where the second batch of
updates represent momentum events (inertial scrolling).

Change-Id: I7404ed6fbbeaff6b1fa63e226fe1800494986b7b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
2015-02-12 10:08:22 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
cocoa QWheelEvent on OSX: phase changes to ScrollEnd after momentum phase 2015-02-12 10:08:22 +00:00
direct2d Update copyright headers 2015-02-11 06:49:51 +00:00
directfb Update copyright headers 2015-02-11 06:49:51 +00:00
eglfs eglfs: Add the three missing drag cursors 2015-02-12 07:13:39 +00:00
ios Update copyright headers 2015-02-11 06:49:51 +00:00
kms Update copyright headers 2015-02-11 06:49:51 +00:00
linuxfb Update copyright headers 2015-02-11 06:49:51 +00:00
minimal Update copyright headers 2015-02-11 06:49:51 +00:00
minimalegl Update copyright headers 2015-02-11 06:49:51 +00:00
offscreen Update copyright headers 2015-02-11 06:49:51 +00:00
openwfd Update copyright headers 2015-02-11 06:49:51 +00:00
qnx Update copyright headers 2015-02-11 06:49:51 +00:00
windows [QWindowsFont*] Unify HFONT fallbacks 2015-02-12 10:05:27 +00:00
winrt Update copyright headers 2015-02-11 06:49:51 +00:00
xcb Update copyright headers 2015-02-11 06:49:51 +00:00
README Remove mentioning of 5.0 Alpha from QPA Readme 2013-09-17 09:31:19 +02:00
platforms.pro Do not build kms platform plugin by default 2015-01-15 15:34:16 +01:00

README

The Qt Platform Abstraction - QPA

QPA is the platform abstraction layer for Qt 5 and replaces QWS and the
platform ports from Qt 4.

There is currently little documentation for QPA. The best approach for
developing a new platform plugin is to look at the other plugins and
see how they implement the APIs in question. The "minimal" plugin
is a good starting point. The xcb, windows, cocoa, and qnx plugins
are also actively developed and up to date.

QPA plugins are implemented by subclassing various QPlatform*
classes. There are two "root" classes: QPlatformIntegration for
window system integration and QPlatformTheme for deeper platform
theming and integration. QStyle is not a part of QPA.

There are no source or binary compatibility guarantees for the QPA
classes, meaning that a platform plugin is only guaranteed to work
with the Qt version it was developed against. API changes will
however only be made in minor releases. (5.1, 5.2, and so on.)

Class Overview:

QPlatformIntegration
    QPlatformWindow
    QPlatformBackingStore
    QPlatformOpenGLContext
    QPlatformSharedGraphicsCache
    QPlatformFontDatabase
    QPlatformClipboard
    QPlatformDrag
    QAbstractEventDispatcher
    QPlatformInputContext
    QPlatformAccessibility
    QPlatformNativeInterface
    QPlatformServices

QPlatformTheme
    QPlatformMenu
    QPlatformMenuBar
    QPlatformDialogHelper
    platform palettes
    platform fonts
    theme hints

src/platformsupport contains several helper classes for implementing
platform plugins on unix-like systems.