7#include <qpa/qplatformtheme.h>
9#include <QtCore/qsharedpointer.h>
10#include <QtCore/qvariant.h>
11#include <QtCore/qlist.h>
12#include <QtCore/qsize.h>
29#if QT_CONFIG(systemtrayicon)
41 {
return m_palettes[
type]; }
43 {
return m_fonts[
type]; }
71 void refreshPalettes();
73 void refreshIconPixmapSizes();
80 static bool queryHighContrast();
88 QList<QSize> m_fileIconSizes;
The QIconEngine class provides an abstract base class for QIcon renderers.
The QIcon class provides scalable icons in different modes and states.
The QPalette class contains color groups for each widget state.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\macro QT_RESTRICTED_CAST_FROM_ASCII
static bool useNativeMenus()
static void handleSettingsChanged()
void requestColorScheme(Qt::ColorScheme scheme) override
void windowsThemeChanged(QWindow *window)
void showPlatformMenuBar() override
QIconEngine * createIconEngine(const QString &iconName) const override
Factory function for the QIconEngine used by QIcon::fromTheme().
QPlatformMenuBar * createPlatformMenuBar() const override
bool usePlatformNativeDialog(DialogType type) const override
const QFont * font(Font type=SystemFont) const override
QList< QSize > availableFileIconSizes() const
QPlatformMenuItem * createPlatformMenuItem() const override
const QPalette * palette(Palette type=SystemPalette) const override
Qt::ColorScheme colorScheme() const override
static QPalette systemPalette(Qt::ColorScheme)
QVariant themeHint(ThemeHint) const override
~QWindowsTheme() override
Qt::ColorScheme requestedColorScheme() const
QIcon fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={}) const override
Return an icon for fileInfo, observing iconOptions.
QPlatformDialogHelper * createPlatformDialogHelper(DialogType type) const override
static QWindowsTheme * instance()
QPixmap standardPixmap(StandardPixmap sp, const QSizeF &size) const override
QPlatformMenu * createPlatformMenu() const override
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]