![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qandroidplatformintegration.h>
Static Public Member Functions | |
static void | setScreenOrientation (Qt::ScreenOrientation currentOrientation, Qt::ScreenOrientation nativeOrientation) |
static void | updateColorScheme (Qt::ColorScheme colorScheme) |
static Qt::ColorScheme | colorScheme () |
Friends | |
class | QAndroidPlatformScreen |
Definition at line 42 of file qandroidplatformintegration.h.
QAndroidPlatformIntegration::QAndroidPlatformIntegration | ( | const QStringList & | paramList | ) |
Definition at line 178 of file qandroidplatformintegration.cpp.
References QAndroidPlatformIntegration().
Referenced by QAndroidPlatformIntegration().
QAndroidPlatformIntegration::~QAndroidPlatformIntegration | ( | ) |
Definition at line 432 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Accessor for the platform integration's clipboard.
Default implementation returns a default QPlatformClipboard.
Reimplemented from QPlatformIntegration.
Definition at line 456 of file qandroidplatformintegration.cpp.
|
inlinestatic |
Definition at line 111 of file qandroidplatformintegration.h.
|
overridevirtual |
Factory function for the GUI event dispatcher.
The platform plugin should create and return a QAbstractEventDispatcher subclass when this function is called.
If the platform plugin for some reason creates the event dispatcher outside of this function (for example in the constructor), it needs to handle the case where this function is never called, ensuring that the event dispatcher is still deleted at some point (typically in the destructor).
Note that the platform plugin should never explicitly set the event dispatcher itself, using QCoreApplication::setEventDispatcher(), but let QCoreApplication decide when and which event dispatcher to create.
Implements QPlatformIntegration.
Definition at line 427 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 422 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Factory function for QPlatformBackingStore.
The QWindow parameter is a pointer to the top level widget(tlw) the window surface is created for. A QPlatformWindow is always created before the QPlatformBackingStore for tlw where the widget also requires a backing store.
Implements QPlatformIntegration.
Definition at line 352 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 505 of file qandroidplatformintegration.cpp.
References androidThemeName, and QAndroidPlatformTheme::instance().
|
overridevirtual |
Factory function for QPlatformWindow.
The window parameter is a pointer to the window which the QPlatformWindow is supposed to be created for.
All windows have to have a QPlatformWindow, and it will be created on-demand when the QWindow is made visible for the first time, or explicitly through calling QWindow::create().
In the constructor, of the QPlatformWindow, the window flags, state, title and geometry of the window should be applied to the underlying window. If the resulting flags or state differs, the resulting values should be set on the window using QWindow::setWindowFlags() or QWindow::setWindowState(), respectively.
Implements QPlatformIntegration.
Definition at line 405 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 490 of file qandroidplatformintegration.cpp.
void QAndroidPlatformIntegration::flushPendingUpdates | ( | ) |
Definition at line 520 of file qandroidplatformintegration.cpp.
Referenced by QAndroidPlatformNativeInterface::customEvent().
|
overridevirtual |
Accessor for the platform integration's fontdatabase.
Default implementation returns a default QPlatformFontDatabase.
Reimplemented from QPlatformIntegration.
Definition at line 450 of file qandroidplatformintegration.cpp.
void QAndroidPlatformIntegration::handleScreenAdded | ( | int | displayId | ) |
Definition at line 580 of file qandroidplatformintegration.cpp.
Referenced by handleScreenChanged().
void QAndroidPlatformIntegration::handleScreenChanged | ( | int | displayId | ) |
Definition at line 597 of file qandroidplatformintegration.cpp.
References handleScreenAdded().
void QAndroidPlatformIntegration::handleScreenRemoved | ( | int | displayId | ) |
Definition at line 616 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 330 of file qandroidplatformintegration.cpp.
References needsBasicRenderloopWorkaround().
|
overridevirtual |
Performs initialization steps that depend on having an event dispatcher available.
Called after the event dispatcher has been created.
Tasks that require an event dispatcher, for example creating socket notifiers, cannot be performed in the constructor. Instead, they should be performed here. The default implementation does nothing.
Reimplemented from QPlatformIntegration.
Definition at line 321 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Returns the platforms input context.
The default implementation returns \nullptr, implying no input method support.
Reimplemented from QPlatformIntegration.
Definition at line 462 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 76 of file qandroidplatformintegration.h.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 467 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 66 of file qandroidplatformintegration.h.
Referenced by handleOrientationChanged(), QAndroidPlatformTheme::themeHint(), QtAndroid::topLevelWindowAt(), QtAndroidInput::touchAdd(), and QAndroidInputContext::updateSelectionHandles().
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 472 of file qandroidplatformintegration.cpp.
Definition at line 543 of file qandroidplatformintegration.cpp.
void QAndroidPlatformIntegration::setPhysicalSize | ( | int | width, |
int | height ) |
Definition at line 549 of file qandroidplatformintegration.cpp.
Definition at line 573 of file qandroidplatformintegration.cpp.
|
static |
Definition at line 513 of file qandroidplatformintegration.cpp.
void QAndroidPlatformIntegration::setScreenSize | ( | int | width, |
int | height ) |
Definition at line 555 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 106 of file qandroidplatformintegration.h.
Reimplemented from QPlatformIntegration.
Definition at line 477 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 500 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 105 of file qandroidplatformintegration.h.
|
static |
Definition at line 563 of file qandroidplatformintegration.cpp.
|
friend |
Definition at line 48 of file qandroidplatformintegration.h.