![]() |
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 43 of file qandroidplatformintegration.h.
| QAndroidPlatformIntegration::QAndroidPlatformIntegration | ( | const QStringList & | paramList | ) |
Definition at line 179 of file qandroidplatformintegration.cpp.
References QAndroidPlatformIntegration().
Referenced by QAndroidPlatformIntegration().
| QAndroidPlatformIntegration::~QAndroidPlatformIntegration | ( | ) |
Definition at line 434 of file qandroidplatformintegration.cpp.
References QtAndroid::setAndroidPlatformIntegration().
|
overridevirtual |
Accessor for the platform integration's clipboard.
Default implementation returns a default QPlatformClipboard.
Reimplemented from QPlatformIntegration.
Definition at line 458 of file qandroidplatformintegration.cpp.
|
inlinestatic |
Definition at line 112 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 429 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 424 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 354 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 507 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 407 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 492 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::flushPendingUpdates | ( | ) |
Definition at line 522 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 452 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::handleScreenAdded | ( | int | displayId | ) |
Definition at line 582 of file qandroidplatformintegration.cpp.
Referenced by handleScreenChanged().
| void QAndroidPlatformIntegration::handleScreenChanged | ( | int | displayId | ) |
Definition at line 599 of file qandroidplatformintegration.cpp.
References handleScreenAdded().
| void QAndroidPlatformIntegration::handleScreenRemoved | ( | int | displayId | ) |
Definition at line 618 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 331 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 322 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 464 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 77 of file qandroidplatformintegration.h.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 469 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 67 of file qandroidplatformintegration.h.
Referenced by handleOrientationChanged(), QAndroidPlatformTheme::themeHint(), QtAndroid::topLevelWindowAt(), QtAndroidInput::touchAdd(), and QAndroidInputContext::updateSelectionHandles().
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 474 of file qandroidplatformintegration.cpp.
Definition at line 545 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setPhysicalSize | ( | int | width, |
| int | height ) |
Definition at line 551 of file qandroidplatformintegration.cpp.
Definition at line 575 of file qandroidplatformintegration.cpp.
|
static |
Definition at line 515 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setScreenSize | ( | int | width, |
| int | height ) |
Definition at line 557 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 107 of file qandroidplatformintegration.h.
Reimplemented from QPlatformIntegration.
Definition at line 479 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 502 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 106 of file qandroidplatformintegration.h.
|
static |
Definition at line 565 of file qandroidplatformintegration.cpp.
|
friend |
Definition at line 49 of file qandroidplatformintegration.h.