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
qsgnode_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB)
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 QSGNODE_P_H
6#define QSGNODE_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 <private/qglobal_p.h>
20
21#include "qsgnode.h"
22
23QT_BEGIN_NAMESPACE
24
25class Q_AUTOTEST_EXPORT QSGNodePrivate
26{
27public:
28 QSGNodePrivate() : m_mutabilityGroup(0) {}
29 virtual ~QSGNodePrivate() {}
30
31 static quint8 mutabilityGroup(const QSGNode *node);
32 static void setMutabilityGroupOfSubtree(QSGNode *node, quint8 mutabilityGroup);
33
35 static void setDescription(QSGNode *node, const QString &description) {
36 node->d_ptr->descr= description;
37 }
38 static QString description(const QSGNode *node) {
39 return node->d_ptr->descr;
40 }
41 QString descr;
42#endif
43
44 quint8 m_mutabilityGroup : 4;
45
46 // Reserved: 4 bits
47};
48
54
55
61
62QT_END_NAMESPACE
63
64#endif // QSGNODE_P_H
QDebug operator<<(QDebug d, const QSGRootNode *n)
Definition qsgnode.cpp:1567
QDebug operator<<(QDebug d, const QSGClipNode *n)
Definition qsgnode.cpp:1504
QDebug operator<<(QDebug d, const QSGNode *n)
Definition qsgnode.cpp:1584
QDebug operator<<(QDebug d, const QSGTransformNode *n)
Definition qsgnode.cpp:1525
void qsgnode_set_description(QSGNode *node, const QString &description)
Definition qsgnode.cpp:669
QDebug operator<<(QDebug d, const QSGOpacityNode *n)
Definition qsgnode.cpp:1548
static void qt_print_node_count()
Definition qsgnode.cpp:20
static QT_BEGIN_NAMESPACE int qt_node_count
Definition qsgnode.cpp:18
QDebug operator<<(QDebug d, const QSGGeometryNode *n)
Definition qsgnode.cpp:1453
const qreal OPACITY_THRESHOLD
Definition qsgnode.cpp:1329
#define QSG_RUNTIME_DESCRIPTION
Definition qsgnode.h:17