![]() |
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 typetype=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 |
| Qt::MotionPreference | motionPreference () const override |
| QVariant | themeHint (ThemeHint hint) const override |
| const QFont * | font (Font typetype) const override |
| bool | usePlatformNativeDialog (DialogType typetype) const override |
| QPlatformDialogHelper * | createPlatformDialogHelper (DialogType typetype) const override |
| void | onColorSchemeChange () |
| void | onContrastPreferenceChange () |
| void | onMotionPreferenceChange () |
| 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 &sizesize) 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 52 of file qwasmtheme.h.
| QWasmTheme::QWasmTheme | ( | ) |
Definition at line 61 of file qwasmtheme.cpp.
| QWasmTheme::~QWasmTheme | ( | ) |
Definition at line 92 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 110 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 128 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 162 of file qwasmtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 149 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 133 of file qwasmtheme.cpp.
| void QWasmTheme::onColorSchemeChange | ( | ) |
Definition at line 169 of file qwasmtheme.cpp.
| void QWasmTheme::onContrastPreferenceChange | ( | ) |
Definition at line 184 of file qwasmtheme.cpp.
| void QWasmTheme::onMotionPreferenceChange | ( | ) |
Definition at line 195 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 98 of file qwasmtheme.cpp.
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 118 of file qwasmtheme.cpp.
Reimplemented from QPlatformTheme.
Definition at line 138 of file qwasmtheme.cpp.
References platform().
|
overridevirtual |
Reimplemented from QPlatformTheme.
Definition at line 157 of file qwasmtheme.cpp.
Definition at line 68 of file qwasmtheme.h.