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;
93#if !defined(QT_NO_CLIPBOARD)
96#if QT_CONFIG(draganddrop)
107 void createDisplay(screen_display_t display,
bool isPrimary);
117 void createDisplays();
118 void destroyDisplays();
120 void addWindow(screen_window_t qnxWindow, QWindow *window);
121 void removeWindow(screen_window_t qnxWindow);
122 QList<screen_display_t *> sortDisplays(screen_display_t *displays,
125 screen_context_t m_screenContext;
126 QByteArray m_screenContextId;
129 QQnxAbstractVirtualKeyboard *m_virtualKeyboard;
131#if QT_CONFIG(qqnx_pps)
135 QPlatformInputContext *m_qpaInputContext;
137 QPlatformFontDatabase *m_fontDatabase;
138 mutable QAbstractEventDispatcher *m_eventDispatcher;
140 QList<QQnxScreen*> m_screens;
142#if !defined(QT_NO_CLIPBOARD)
146#if QT_CONFIG(draganddrop)
149 QQnxWindowMapper m_windowMapper;
150 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...
Combined button and popup list for selecting options.
Q_DECLARE_LOGGING_CATEGORY(lcQpaGLContext)
QT_BEGIN_NAMESPACE void qqnxLgmonInit()