Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickstyleconstants_p.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
4
#
ifndef
QQUICKSTYLECONSTANTS_P_H
5
#
define
QQUICKSTYLECONSTANTS_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtQml
/
qqml
.
h
>
19
20
QT_BEGIN_NAMESPACE
21
22
class
QQuickStyleConstants :
public
QObject
23
{
24
Q_OBJECT
25
Q_PROPERTY(
bool
runningWithLiquidGlass READ runningWithLiquidGlass CONSTANT FINAL)
26
Q_PROPERTY(QColor secondarySystemFillColor READ secondarySystemFillColor NOTIFY secondarySystemFillColorChanged FINAL)
27
Q_PROPERTY(QColor tertiarySystemFillColor READ tertiarySystemFillColor NOTIFY tertiarySystemFillColorChanged FINAL)
28
QML_NAMED_ELEMENT(StyleConstants)
29
QML_SINGLETON
30
31
public
:
32
QQuickStyleConstants();
33
34
bool
runningWithLiquidGlass()
const
;
35
QColor secondarySystemFillColor()
const
;
36
QColor tertiarySystemFillColor()
const
;
37
38
Q_SIGNALS:
39
void
secondarySystemFillColorChanged();
40
void
tertiarySystemFillColorChanged();
41
};
42
43
QT_END_NAMESPACE
44
45
#
endif
// QQUICKSTYLECONSTANTS_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
systemColor
static QColor systemColor(std::function< NSColor *()> block)
Definition
qquickstyleconstants.mm:31
qtdeclarative
src
quickcontrols
quicknativestyle
util
qquickstyleconstants_p.h
Generated on
for Qt by
1.18.0