![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qandroidplatformtheme.h>
Public Member Functions | |
| ~QAndroidPlatformTheme () | |
| void | updateColorScheme () |
| void | updateStyle () |
| QPlatformMenuBar * | createPlatformMenuBar () const override |
| QPlatformMenu * | createPlatformMenu () const override |
| QPlatformMenuItem * | createPlatformMenuItem () const override |
| void | showPlatformMenuBar () override |
| Qt::ColorScheme | colorScheme () const override |
| Qt::ColorScheme | colorSchemeOverride () const |
| void | requestColorScheme (Qt::ColorScheme scheme) override |
| Qt::ContrastPreference | contrastPreference () const override |
| const QPalette * | palette (Palette type=SystemPalette) const override |
| Return a color palette for type type. | |
| const QFont * | font (Font type=SystemFont) const override |
| QIconEngine * | createIconEngine (const QString &iconName) const override |
| Factory function for the QIconEngine used by QIcon::fromTheme(). | |
| QVariant | themeHint (ThemeHint hint) const override |
| QString | standardButtonText (int button) const override |
| Returns the text of a standard button. | |
| bool | usePlatformNativeDialog (DialogType type) const override |
| QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const override |
| QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions) const override |
| Return an icon for fileInfo, observing iconOptions. | |
| Public Member Functions inherited from QPlatformTheme | |
| QPlatformTheme () | |
| virtual | ~QPlatformTheme () |
| virtual QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const |
| Factory function for QSystemTrayIcon. | |
| virtual QPixmap | standardPixmap (StandardPixmap sp, const QSizeF &size) const |
| Return a pixmap for standardPixmap, at the given size. | |
| QString | name () const |
Static Public Member Functions | |
| static QAndroidPlatformTheme * | instance (QAndroidPlatformNativeInterface *androidPlatformNativeInterface=nullptr) |
| Static Public Member Functions inherited from QPlatformTheme | |
| static QVariant | defaultThemeHint (ThemeHint hint) |
| static QString | defaultStandardButtonText (int button) |
| static QString | removeMnemonics (const QString &original) |
Definition at line 33 of file qandroidplatformtheme.h.
| QAndroidPlatformTheme::~QAndroidPlatformTheme | ( | ) |
Definition at line 335 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 433 of file qandroidplatformtheme.cpp.
|
inline |
Definition at line 44 of file qandroidplatformtheme.h.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 471 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Factory function for the QIconEngine used by QIcon::fromTheme().
By default this function returns a QIconLoaderEngine, but subclasses can reimplement it to provide their own.
It is especially useful to benefit from some platform specific facilities or optimizations like an inter-process cache in systems mostly built with Qt.
Reimplemented from QPlatformTheme.
Definition at line 549 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 636 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 413 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 406 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 420 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Return an icon for fileInfo, observing iconOptions.
This function is queried by QFileIconProvider and similar classes to obtain an icon for a file. If it does not return a non-null icon, fileIconPixmap() is queried for a specific size.
Reimplemented from QPlatformTheme.
Definition at line 554 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 536 of file qandroidplatformtheme.cpp.
|
static |
Definition at line 316 of file qandroidplatformtheme.cpp.
Referenced by QAndroidPlatformIntegration::createPlatformTheme(), and AndroidStyle::loadStyleData().
|
overridevirtual |
Return a color palette for type type.
When relying on system color palette keep in mind that it is lazily initialized and cached. If it needs to be updated (i.e. due to ColorScheme changes), it's up to the caller to take care of it. See requestColorScheme.
Reimplemented from QPlatformTheme.
Definition at line 512 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 440 of file qandroidplatformtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 427 of file qandroidplatformtheme.cpp.
References QtAndroidMenu::openOptionsMenu().
|
overridevirtual |
Returns the text of a standard button.
Reimplemented from QPlatformTheme.
Definition at line 612 of file qandroidplatformtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 571 of file qandroidplatformtheme.cpp.
References QAndroidPlatformIntegration::screen().
| void QAndroidPlatformTheme::updateColorScheme | ( | ) |
Definition at line 341 of file qandroidplatformtheme.cpp.
References updateStyle().
| void QAndroidPlatformTheme::updateStyle | ( | ) |
Definition at line 347 of file qandroidplatformtheme.cpp.
Referenced by updateColorScheme().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 627 of file qandroidplatformtheme.cpp.