Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickuniversaltheme_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QQUICKUNIVERSALTHEME_P_H
6#define QQUICKUNIVERSALTHEME_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtQuickControls2Universal/qtquickcontrols2universalexports.h>
20
22
23class QQuickTheme;
24class QQuickUniversalStyle;
25
26class Q_QUICKCONTROLS2UNIVERSAL_EXPORT QQuickUniversalTheme
27{
28public:
29 static void initialize(QQuickTheme *theme);
30 static void registerSystemStyle(QQuickUniversalStyle *style);
31 static void unregisterSystemStyle(QQuickUniversalStyle *style);
32 static void updateTheme();
33};
34
35QT_END_NAMESPACE
36
37#endif // QQUICKUNIVERSALTHEME_P_H
static QRgb GlobalAccent
static QByteArray resolveSetting(const QByteArray &env, const QSharedPointer< QSettings > &settings, const QString &name)
static Enum toEnumValue(const QByteArray &value, bool *ok)
static QT_BEGIN_NAMESPACE QRgb qquickuniversal_light_color(QQuickUniversalStyle::SystemColor role)
static bool HasGlobalForeground
static QQuickUniversalStyle::Theme GlobalTheme
static QRgb qquickuniversal_dark_color(QQuickUniversalStyle::SystemColor role)
static QQuickUniversalStyle::Theme qquickuniversal_effective_theme(QQuickUniversalStyle::Theme theme)
static QRgb GlobalForeground
static QRgb GlobalBackground
static QRgb qquickuniversal_accent_color(QQuickUniversalStyle::Color accent)
static bool HasGlobalBackground