5#ifndef QANDROIDPLATFORMINTERATION_H
6#define QANDROIDPLATFORMINTERATION_H
11#include <QtGui/qtguiglobal.h>
12#include <qpa/qplatformintegration.h>
13#include <qpa/qplatformmenu.h>
14#include <qpa/qplatformnativeinterface.h>
15#include <qpa/qplatformopenglcontext.h>
16#include <qpa/qplatformoffscreensurface.h>
17#include <qpa/qplatformtheme.h>
18#include <private/qflatmap_p.h>
19#include <QtCore/qvarlengtharray.h>
26class QAndroidPlatformServices;
27class QPlatformAccessibility;
34 void *nativeResourceForWindow(
const QByteArray &resource, QWindow *window)
override;
56 bool hasCapability(QPlatformIntegration::Capability cap)
const override;
58 QPlatformWindow *createPlatformWindow(QWindow *window)
const override;
59 QPlatformWindow *createForeignWindow(QWindow *window, WId nativeHandle)
const override;
60 QPlatformBackingStore *createPlatformBackingStore(QWindow *window)
const override;
72 void setAvailableGeometry(
const QRect &availableGeometry);
84#ifndef QT_NO_CLIPBOARD
88#if QT_CONFIG(draganddrop)
96#if QT_CONFIG(accessibility)
104 QPlatformTheme *createPlatformTheme(
const QString &name)
const override;
107 Qt::ScreenOrientation nativeOrientation);
110 void setTouchDevice(QPointingDevice *touchDevice) { m_touchDevice = touchDevice; }
121 EGLDisplay m_eglDisplay;
122 QPointingDevice *m_touchDevice;
126 QThread *m_mainThread;
128 static Qt::ColorScheme m_colorScheme;
130 static Qt::ScreenOrientation m_orientation;
131 static Qt::ScreenOrientation m_nativeOrientation;
132 static bool m_showPasswordEnabled;
134 QPlatformFontDatabase *m_androidFDB;
136 QScopedPointer<QAndroidPlatformServices> m_androidPlatformServices;
147 int m_primaryDisplayId = 0;
149#ifndef QT_NO_CLIPBOARD
150 QPlatformClipboard *m_androidPlatformClipboard;
153#if QT_CONFIG(draganddrop)
157#if QT_CONFIG(accessibility)
161 QScopedPointer<QPlatformInputContext> m_inputContext;
Combined button and popup list for selecting options.