![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwasmtheme.h>
Public Member Functions | |
| QWasmTheme () | |
| ~QWasmTheme () | |
| const QPalette * | palette (Palette type=SystemPalette) const override |
| Return a color palette for type type. | |
| Qt::ColorScheme | colorScheme () const override |
| void | requestColorScheme (Qt::ColorScheme scheme) override |
| Qt::ContrastPreference | contrastPreference () const override |
| QVariant | themeHint (ThemeHint hint) const override |
| const QFont * | font (Font type) const override |
| bool | usePlatformNativeDialog (DialogType type) const override |
| QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const override |
| void | onColorSchemeChange () |
| void | onContrastPreferenceChange () |
| Public Member Functions inherited from QPlatformTheme | |
| QPlatformTheme () | |
| virtual | ~QPlatformTheme () |
| virtual QPlatformMenuItem * | createPlatformMenuItem () const |
| virtual QPlatformMenu * | createPlatformMenu () const |
| virtual QPlatformMenuBar * | createPlatformMenuBar () const |
| virtual void | showPlatformMenuBar () |
| 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. | |
| virtual QIcon | fileIcon (const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={ }) const |
| Return an icon for fileInfo, observing iconOptions. | |
| virtual QIconEngine * | createIconEngine (const QString &iconName) const |
| Factory function for the QIconEngine used by QIcon::fromTheme(). | |
| virtual QString | standardButtonText (int button) const |
| Returns the text of a standard button. | |
| QString | name () const |
Public Attributes | |
| QFont * | fixedFont = nullptr |
Definition at line 48 of file qwasmtheme.h.
| QWasmTheme::QWasmTheme | ( | ) |
Definition at line 52 of file qwasmtheme.cpp.
| QWasmTheme::~QWasmTheme | ( | ) |
Definition at line 77 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 95 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 109 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 136 of file qwasmtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 123 of file qwasmtheme.cpp.
| void QWasmTheme::onColorSchemeChange | ( | ) |
Definition at line 143 of file qwasmtheme.cpp.
| void QWasmTheme::onContrastPreferenceChange | ( | ) |
Definition at line 154 of file qwasmtheme.cpp.
|
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 83 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 100 of file qwasmtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 114 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 131 of file qwasmtheme.cpp.
Definition at line 63 of file qwasmtheme.h.