Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qwasmtheme.h>
Public Member Functions | |
QWasmTheme () | |
~QWasmTheme () | |
QVariant | themeHint (ThemeHint hint) const override |
const QFont * | font (Font type) const override |
Public Member Functions inherited from QPlatformTheme | |
Q_ENUM (DialogType) | |
QPlatformTheme () | |
virtual | ~QPlatformTheme () |
virtual QPlatformMenuItem * | createPlatformMenuItem () const |
virtual QPlatformMenu * | createPlatformMenu () const |
virtual QPlatformMenuBar * | createPlatformMenuBar () const |
virtual void | showPlatformMenuBar () |
virtual bool | usePlatformNativeDialog (DialogType type) const |
virtual QPlatformDialogHelper * | createPlatformDialogHelper (DialogType type) const |
virtual QPlatformSystemTrayIcon * | createPlatformSystemTrayIcon () const |
Factory function for QSystemTrayIcon. | |
virtual Qt::ColorScheme | colorScheme () const |
virtual const QPalette * | palette (Palette type=SystemPalette) const |
virtual QPixmap | standardPixmap (StandardPixmap sp, const QSizeF &size) const |
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 20 of file qwasmtheme.h.
QWasmTheme::QWasmTheme | ( | ) |
Definition at line 13 of file qwasmtheme.cpp.
References QFontDatabase::families(), fixedFont, and QFontDatabase::isFixedPitch().
QWasmTheme::~QWasmTheme | ( | ) |
Definition at line 20 of file qwasmtheme.cpp.
References fixedFont.
Reimplemented from QPlatformTheme.
Definition at line 35 of file qwasmtheme.cpp.
References QPlatformTheme::FixedFont, and fixedFont.
Reimplemented from QPlatformTheme.
Definition at line 26 of file qwasmtheme.cpp.
References hint(), QPlatformTheme::HoverEffect, QPlatformTheme::StyleNames, QPlatformTheme::themeHint(), and QPlatformTheme::UiEffects.
Definition at line 28 of file qwasmtheme.h.
Referenced by QWasmTheme(), ~QWasmTheme(), and font().