Qt
6.x
The Qt SDK
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
10
QT_BEGIN_NAMESPACE
11
12
class
QWasmEventTranslator;
13
class
QWasmFontDatabase
;
14
class
QWasmWindow
;
15
class
QWasmEventDispatcher
;
16
class
QWasmScreen
;
17
class
QWasmCompositor
;
18
class
QWasmBackingStore
;
19
20
class
QWasmTheme
:
public
QPlatformTheme
21
{
22
public
:
23
QWasmTheme
();
24
~QWasmTheme
();
25
26
QVariant
themeHint
(
ThemeHint
hint
)
const override
;
27
const
QFont
*
font
(
Font
type
)
const override
;
28
QFont
*
fixedFont
=
nullptr
;
29
};
30
31
QT_END_NAMESPACE
32
33
#endif
// QWASMTHEME_H
QFont
\reentrant
Definition
qfont.h:20
QPlatformTheme
The QPlatformTheme class allows customizing the UI based on themes.
Definition
qplatformtheme.h:43
QPlatformTheme::Font
Font
Definition
qplatformtheme.h:134
QPlatformTheme::ThemeHint
ThemeHint
This enum describes the available theme hints.
Definition
qplatformtheme.h:50
QVariant
\inmodule QtCore
Definition
qvariant.h:64
QWasmBackingStore
Definition
qwasmbackingstore.h:20
QWasmCompositor
Definition
qwasmcompositor.h:21
QWasmEventDispatcher
Definition
qwasmeventdispatcher.h:12
QWasmFontDatabase
Definition
qwasmfontdatabase.h:12
QWasmScreen
Definition
qwasmscreen.h:29
QWasmTheme
Definition
qwasmtheme.h:21
QWasmTheme::fixedFont
QFont * fixedFont
Definition
qwasmtheme.h:28
QWasmTheme::QWasmTheme
QWasmTheme()
Definition
qwasmtheme.cpp:13
QWasmTheme::themeHint
QVariant themeHint(ThemeHint hint) const override
Definition
qwasmtheme.cpp:26
QWasmTheme::~QWasmTheme
~QWasmTheme()
Definition
qwasmtheme.cpp:20
QWasmWindow
Definition
qwasmwindow.h:46
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
type
GLenum type
Definition
qopengles2ext.h:150
hint
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)
Definition
qstylehints.cpp:13
font
QFont font
Definition
src_gui_dialogs_qfontdialog.cpp:6
qtbase
src
plugins
platforms
wasm
qwasmtheme.h
Generated by
1.9.7