qt6-bb10/src/plugins/platforms
BogDan Vatra 3b577dfe79 Use PopupMenu when possible.
On API-11+ we are going to use PopupMenu instead of ContextMenu to show
context menus. A PopupMenu displays a Menu in a modal popup window
anchored to a View. The popup will appear below the anchor view if there
is room, or above it if there is not.

Task-number: QTBUG-39736
Change-Id: Ie412ab0935b868348ce5c8bb0bf53571ffefd582
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
2014-10-01 20:10:58 +02:00
..
android Use PopupMenu when possible. 2014-10-01 20:10:58 +02:00
cocoa Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4 2014-10-01 16:21:12 +02:00
direct2d direct2d: Optimize dashed line drawing 2014-09-26 07:32:33 +02:00
directfb Update license headers and add new license files 2014-09-24 12:26:19 +02:00
eglfs Update license headers and add new license files 2014-09-24 12:26:19 +02:00
ios QIOSInputContext: animate screen from current transformation 2014-09-25 16:30:52 +02:00
kms kms: Support QOpenGLWidget and QQuickWidget 2014-09-30 18:23:08 +02:00
linuxfb Update license headers and add new license files 2014-09-24 12:26:19 +02:00
minimal Update license headers and add new license files 2014-09-24 12:26:19 +02:00
minimalegl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
offscreen Update license headers and add new license files 2014-09-24 12:26:19 +02:00
openwfd Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qnx Doc: Use title case in section1 titles 2014-09-30 13:52:51 +02:00
windows Doc: Use title case in section1 titles 2014-09-30 13:52:51 +02:00
winrt Revert "winrt: Remove depth/stencil from the default window format" 2014-09-29 16:09:35 +02:00
xcb Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4 2014-10-01 16:21:12 +02:00
README
platforms.pro Fix no-opengl build 2014-09-01 14:29:36 +02: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.