2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2018 The Qt Company Ltd.
|
2023-12-11 11:45:38 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial
|
2018-06-01 13:13:30 +00:00
|
|
|
|
|
|
|
#ifndef QWASMTHEME_H
|
|
|
|
#define QWASMTHEME_H
|
|
|
|
|
|
|
|
#include <qpa/qplatformtheme.h>
|
2019-05-06 03:37:56 +00:00
|
|
|
#include <QtGui/QFont>
|
2018-06-01 13:13:30 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class QWasmEventTranslator;
|
|
|
|
class QWasmFontDatabase;
|
|
|
|
class QWasmWindow;
|
|
|
|
class QWasmEventDispatcher;
|
|
|
|
class QWasmScreen;
|
|
|
|
class QWasmCompositor;
|
|
|
|
class QWasmBackingStore;
|
|
|
|
|
|
|
|
class QWasmTheme : public QPlatformTheme
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QWasmTheme();
|
|
|
|
~QWasmTheme();
|
|
|
|
|
|
|
|
QVariant themeHint(ThemeHint hint) const override;
|
2019-05-06 03:37:56 +00:00
|
|
|
const QFont *font(Font type) const override;
|
|
|
|
QFont *fixedFont = nullptr;
|
2018-06-01 13:13:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // QWASMTHEME_H
|