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>.
Loading...
Searching...
No Matches
qwasmtheme.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWASMTHEME_H
5#define QWASMTHEME_H
6
7#include <qpa/qplatformtheme.h>
8#include <QtGui/QFont>
9
11
12class QWasmEventTranslator;
14class QWasmWindow;
16class QWasmScreen;
17class QWasmCompositor;
19
21{
22public:
23 QWasmTheme();
25
26 QVariant themeHint(ThemeHint hint) const override;
27 const QFont *font(Font type) const override;
28 QFont *fixedFont = nullptr;
29};
30
32
33#endif // QWASMTHEME_H
\reentrant
Definition qfont.h:22
The QPlatformTheme class allows customizing the UI based on themes.
ThemeHint
This enum describes the available theme hints.
\inmodule QtCore
Definition qvariant.h:65
QFont * fixedFont
Definition qwasmtheme.h:28
QVariant themeHint(ThemeHint hint) const override
Combined button and popup list for selecting options.
GLenum type
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)