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
qqstylekitcontrol_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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQSTYLEKITCONTROL_P_H
6
#
define
QQSTYLEKITCONTROL_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
<
QtQml
/
QtQml
>
20
#
include
"qqstylekitpropertypath_p.h"
21
#
include
"qqstylekitcontrolstate_p.h"
22
#
include
"qqstylekitreader_p.h"
23
24
QT_BEGIN_NAMESPACE
25
26
class
QQStyleKitVariation
;
27
28
class
Q_LABSSTYLEKIT_EXPORT
QQStyleKitControl
:
public
QQStyleKitControlState
29
{
30
Q_OBJECT
31
Q_PROPERTY(QQmlListProperty<QQStyleKitVariation> variations READ variations FINAL)
32
QML_NAMED_ELEMENT(ControlStyle)
33
34
public
:
35
QQStyleKitControl(QObject *parent =
nullptr
);
36
37
QQmlListProperty<QQStyleKitVariation> variations();
38
39
private
:
40
QVariant readStyleProperty(PropertyStorageId key)
const
;
41
void
writeStyleProperty(PropertyStorageId key,
const
QVariant &value);
42
43
QQStyleKitControls *controls()
const
;
44
QQStyleKitExtendableControlType controlType()
const
;
45
46
private
:
47
Q_DISABLE_COPY(QQStyleKitControl)
48
49
QList<QQStyleKitVariation *> m_variations;
50
mutable
QQStyleKitPropertyStorage m_storage;
51
QQSK::State m_writtenStates = QQSK::StateFlag::Unspecified;
52
53
friend
class
QQStyleKitPropertyResolver;
54
friend
class
QQStyleKitPropertyGroup;
55
friend
class
QQStyleKitControls;
56
};
57
58
QT_END_NAMESPACE
59
60
#
endif
// QQSTYLEKITCONTROL_P_H
QQStyleKitControl
Definition
qqstylekitcontrol_p.h:29
QQStyleKitVariation
Definition
qqstylekitvariation_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
labs
stylekit
qqstylekitcontrol_p.h
Generated on
for Qt by
1.18.0