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
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>
23
25
27
29{
30 Q_OBJECT
31 Q_PROPERTY(QQmlListProperty<QQStyleKitVariation> variations READ variations FINAL)
33
34public:
36
38
39private:
40 QVariant readStyleProperty(PropertyStorageId key) const;
41 void writeStyleProperty(PropertyStorageId key, const QVariant &value);
42
43 QQStyleKitControls *controls() const;
44 QQStyleKitExtendableControlType controlType() const;
45
46private:
48
50 mutable QQStyleKitPropertyStorage m_storage;
51 QQSK::State m_writtenStates = QQSK::StateFlag::Unspecified;
52
55 friend class QQStyleKitControls;
56};
57
58QT_END_NAMESPACE
59
60#endif // QQSTYLEKITCONTROL_P_H
QObject * parent
Definition qobject.h:74
\inmodule QtCore
Definition qobject.h:106
QQmlListProperty< QQStyleKitVariation > variations()
Combined button and popup list for selecting options.