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
89#if QT_CONFIG(draganddrop)
97#if QT_CONFIG(accessibility)
105 QPlatformTheme *createPlatformTheme(
const QString &name)
const override;
108 Qt::ScreenOrientation nativeOrientation);
111 void setTouchDevice(QPointingDevice *touchDevice) { m_touchDevice = touchDevice; }
122 EGLDisplay m_eglDisplay;
123 QPointingDevice *m_touchDevice;
127 QThread *m_mainThread;
129 static Qt::ColorScheme m_colorScheme;
131 static Qt::ScreenOrientation m_orientation;
132 static Qt::ScreenOrientation m_nativeOrientation;
133 static bool m_showPasswordEnabled;
135 QPlatformFontDatabase *m_androidFDB;
137 QScopedPointer<QAndroidPlatformServices> m_androidPlatformServices;
148 int m_primaryDisplayId = 0;
150#ifndef QT_NO_CLIPBOARD
151 QPlatformClipboard *m_androidPlatformClipboard;
154#if QT_CONFIG(draganddrop)
159#if QT_CONFIG(accessibility)
163 QScopedPointer<QPlatformInputContext> m_inputContext;
Combined button and popup list for selecting options.