![]() |
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 181 of file qandroidplatformintegration.cpp.
References QAndroidPlatformIntegration().
Referenced by QAndroidPlatformIntegration().
| QAndroidPlatformIntegration::~QAndroidPlatformIntegration | ( | ) |
Definition at line 438 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 465 of file qandroidplatformintegration.cpp.
|
inlinestatic |
Definition at line 115 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 433 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 428 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 358 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 521 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 411 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 506 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::flushPendingUpdates | ( | ) |
Definition at line 536 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 459 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::handleScreenAdded | ( | int | displayId | ) |
Definition at line 596 of file qandroidplatformintegration.cpp.
Referenced by handleScreenChanged().
| void QAndroidPlatformIntegration::handleScreenChanged | ( | int | displayId | ) |
Definition at line 613 of file qandroidplatformintegration.cpp.
References handleScreenAdded().
| void QAndroidPlatformIntegration::handleScreenRemoved | ( | int | displayId | ) |
Definition at line 631 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 335 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 326 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 478 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 76 of file qandroidplatformintegration.h.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 483 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 488 of file qandroidplatformintegration.cpp.
Definition at line 559 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setPhysicalSize | ( | int | width, |
| int | height ) |
Definition at line 565 of file qandroidplatformintegration.cpp.
Definition at line 589 of file qandroidplatformintegration.cpp.
|
static |
Definition at line 529 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setScreenSize | ( | int | width, |
| int | height ) |
Definition at line 571 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 110 of file qandroidplatformintegration.h.
Reimplemented from QPlatformIntegration.
Definition at line 493 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 516 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 109 of file qandroidplatformintegration.h.
|
static |
Definition at line 579 of file qandroidplatformintegration.cpp.
|
friend |
Definition at line 48 of file qandroidplatformintegration.h.