![]() |
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 182 of file qandroidplatformintegration.cpp.
References QAndroidPlatformIntegration().
Referenced by QAndroidPlatformIntegration().
| QAndroidPlatformIntegration::~QAndroidPlatformIntegration | ( | ) |
Definition at line 441 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 468 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 436 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 431 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 359 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 524 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 414 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 509 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::flushPendingUpdates | ( | ) |
Definition at line 539 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 462 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::handleScreenAdded | ( | int | displayId | ) |
Definition at line 605 of file qandroidplatformintegration.cpp.
Referenced by handleScreenChanged().
| void QAndroidPlatformIntegration::handleScreenChanged | ( | int | displayId | ) |
Definition at line 622 of file qandroidplatformintegration.cpp.
References handleScreenAdded().
| void QAndroidPlatformIntegration::handleScreenRemoved | ( | int | displayId | ) |
Definition at line 640 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 481 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 76 of file qandroidplatformintegration.h.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 486 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 66 of file qandroidplatformintegration.h.
Referenced by handleOrientationChanged(), QAndroidPlatformTheme::themeHint(), QtAndroid::topLevelWindowAt(), and QAndroidInputContext::updateSelectionHandles().
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 491 of file qandroidplatformintegration.cpp.
Definition at line 568 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setPhysicalSize | ( | int | width, |
| int | height ) |
Definition at line 574 of file qandroidplatformintegration.cpp.
Definition at line 598 of file qandroidplatformintegration.cpp.
|
static |
Definition at line 532 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setScreenSize | ( | int | width, |
| int | height ) |
Definition at line 580 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 110 of file qandroidplatformintegration.h.
Reimplemented from QPlatformIntegration.
Definition at line 496 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 519 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 109 of file qandroidplatformintegration.h.
|
static |
Definition at line 588 of file qandroidplatformintegration.cpp.
|
friend |
Definition at line 48 of file qandroidplatformintegration.h.