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;
28class QPlatformAccessibility;
35 void *nativeResourceForWindow(
const QByteArray &resource, QWindow *window)
override;
57 bool hasCapability(QPlatformIntegration::Capability cap)
const override;
59 QPlatformWindow *createPlatformWindow(QWindow *window)
const override;
60 QPlatformWindow *createForeignWindow(QWindow *window, WId nativeHandle)
const override;
61 QPlatformBackingStore *createPlatformBackingStore(QWindow *window)
const override;
73 void setAvailableGeometry(
const QRect &availableGeometry);
85#ifndef QT_NO_CLIPBOARD
93#if QT_CONFIG(accessibility)
101 QPlatformTheme *createPlatformTheme(
const QString &name)
const override;
104 Qt::ScreenOrientation nativeOrientation);
107 void setTouchDevice(QPointingDevice *touchDevice) { m_touchDevice = touchDevice; }
118 EGLDisplay m_eglDisplay;
119 QPointingDevice *m_touchDevice;
123 QThread *m_mainThread;
125 static Qt::ColorScheme m_colorScheme;
127 static Qt::ScreenOrientation m_orientation;
128 static Qt::ScreenOrientation m_nativeOrientation;
129 static bool m_showPasswordEnabled;
131 QPlatformFontDatabase *m_androidFDB;
133 QScopedPointer<QAndroidPlatformServices> m_androidPlatformServices;
144 int m_primaryDisplayId = 0;
146#ifndef QT_NO_CLIPBOARD
147 QPlatformClipboard *m_androidPlatformClipboard;
151#if QT_CONFIG(accessibility)
155 QScopedPointer<QPlatformInputContext> m_inputContext;
Combined button and popup list for selecting options.