![]() |
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 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 469 of file qandroidplatformintegration.cpp.
|
inlinestatic |
Definition at line 116 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 361 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 525 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 510 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::flushPendingUpdates | ( | ) |
Definition at line 540 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 463 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::handleScreenAdded | ( | int | displayId | ) |
Definition at line 600 of file qandroidplatformintegration.cpp.
Referenced by handleScreenChanged().
| void QAndroidPlatformIntegration::handleScreenChanged | ( | int | displayId | ) |
Definition at line 617 of file qandroidplatformintegration.cpp.
References handleScreenAdded().
| void QAndroidPlatformIntegration::handleScreenRemoved | ( | int | displayId | ) |
Definition at line 635 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 338 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 329 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 482 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 77 of file qandroidplatformintegration.h.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 487 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 492 of file qandroidplatformintegration.cpp.
Definition at line 563 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setPhysicalSize | ( | int | width, |
| int | height ) |
Definition at line 569 of file qandroidplatformintegration.cpp.
Definition at line 593 of file qandroidplatformintegration.cpp.
|
static |
Definition at line 533 of file qandroidplatformintegration.cpp.
| void QAndroidPlatformIntegration::setScreenSize | ( | int | width, |
| int | height ) |
Definition at line 575 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 111 of file qandroidplatformintegration.h.
Reimplemented from QPlatformIntegration.
Definition at line 497 of file qandroidplatformintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformIntegration.
Definition at line 520 of file qandroidplatformintegration.cpp.
|
inline |
Definition at line 110 of file qandroidplatformintegration.h.
|
static |
Definition at line 583 of file qandroidplatformintegration.cpp.
|
friend |
Definition at line 49 of file qandroidplatformintegration.h.