Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QSGNODE_P_H
5#define QSGNODE_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 <private/qglobal_p.h>
19
20#include "qsgnode.h"
21
23
25{
26public:
28 virtual ~QSGNodePrivate() {}
29
30#ifdef QSG_RUNTIME_DESCRIPTION
31 static void setDescription(QSGNode *node, const QString &description) {
32 node->d_ptr->descr= description;
33 }
34 static QString description(const QSGNode *node) {
35 return node->d_ptr->descr;
36 }
38#endif
39};
40
41
47
48
54
56
57#endif // QSGNODE_P_H
QString descr
Definition qsgnode_p.h:37
static QString description(const QSGNode *node)
Definition qsgnode_p.h:34
static void setDescription(QSGNode *node, const QString &description)
Definition qsgnode_p.h:31
virtual ~QSGNodePrivate()
Definition qsgnode_p.h:28
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
Definition qsgnode.h:37
QScopedPointer< QSGNodePrivate > d_ptr
Definition qsgnode.h:149
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.