4#ifndef QQNXINTEGRATION_H
5#define QQNXINTEGRATION_H
7#include <qpa/qplatformintegration.h>
8#include <private/qtguiglobal_p.h>
9#include <QtCore/qhash.h>
10#include <QtCore/qmutex.h>
12#include <screen/screen.h>
13#include <QtCore/QLoggingCategory>
21Q_DECLARE_LOGGING_CATEGORY(lcQpaQnx);
25class QQnxFileDialogHelper;
32class QQnxAbstractVirtualKeyboard;
38#if QT_CONFIG(qqnx_pps)
39class QQnxNavigatorEventNotifier;
40class QQnxButtonEventNotifier;
43#if !defined(QT_NO_CLIPBOARD)
47using QQnxWindowMapper = QHash<screen_window_t, QWindow *>;
60 Q_DECLARE_FLAGS(Options,
Option)
66 bool hasCapability(QPlatformIntegration::Capability cap)
const override;
89#if !defined(QT_NO_CLIPBOARD)
92#if QT_CONFIG(draganddrop)
103 void createDisplay(screen_display_t display,
bool isPrimary);
113 void createDisplays();
114 void destroyDisplays();
116 void addWindow(screen_window_t qnxWindow, QWindow *window);
117 void removeWindow(screen_window_t qnxWindow);
118 QList<screen_display_t *> sortDisplays(screen_display_t *displays,
121 screen_context_t m_screenContext;
122 QByteArray m_screenContextId;
125 QQnxAbstractVirtualKeyboard *m_virtualKeyboard;
127#if QT_CONFIG(qqnx_pps)
131 QPlatformInputContext *m_qpaInputContext;
133 QPlatformFontDatabase *m_fontDatabase;
134 mutable QAbstractEventDispatcher *m_eventDispatcher;
136 QList<QQnxScreen*> m_screens;
138#if !defined(QT_NO_CLIPBOARD)
142#if QT_CONFIG(draganddrop)
145 QQnxWindowMapper m_windowMapper;
146 mutable QMutex m_windowMapperMutex;
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
bool hasCapability(QPlatformIntegration::Capability cap) const override
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformNativeInterface * nativeInterface() const override
QQnxNavigatorEventHandler * navigatorEventHandler()
@ AlwaysFlushScreenContext
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
static QQnxIntegration * instance()
QPlatformWindow * createForeignWindow(QWindow *window, WId nativeHandle) const override
QQnxScreen * primaryDisplay() const
void removeDisplay(QQnxScreen *screen)
QVariant styleHint(StyleHint hint) const override
QPlatformServices * services() const override
void moveToScreen(QWindow *window, int screen)
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QByteArray screenContextId()
QQnxScreen * screenForNative(screen_display_t qnxScreen) const
void createDisplay(screen_display_t display, bool isPrimary)
screen_context_t screenContext()
QWindow * window(screen_window_t qnxWindow) const
QPlatformClipboard * clipboard() const override
Accessor for the platform integration's clipboard.
bool supportsNavigatorEvents() const
The QQnxWindow is the base class of the various classes used as instances of QPlatformWindow in the Q...
Q_DECLARE_LOGGING_CATEGORY(lcQpaGLContext)
QT_BEGIN_NAMESPACE void qqnxLgmonInit()