Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qssgsceneedit_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QSSGSCENEEDIT_P_H
5#define QSSGSCENEEDIT_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 <QtQuick3DAssetUtils/private/qtquick3dassetutilsglobal_p.h>
19#include <QtCore/QStringView>
20
22
23namespace QSSGSceneDesc {
24 struct Scene;
25 struct Node;
26 struct Property;
27}
28
29class QJsonObject;
30class QJsonValue;
31
32namespace QSSGQmlUtilities {
33
34void Q_QUICK3DASSETUTILS_EXPORT applyEdit(QSSGSceneDesc::Scene *scene, const QJsonObject &changes);
35void Q_QUICK3DASSETUTILS_EXPORT setProperty(QSSGSceneDesc::Node *node, const QStringView propertyName, const QJsonValue &value);
36QSSGSceneDesc::Node Q_QUICK3DASSETUTILS_EXPORT *addResource(QSSGSceneDesc::Scene *scene, const QJsonObject &addition);
37}
39
40#endif // QSSGSCENEEDIT_P_H
Definition lalr.h:137
\inmodule QtCore\reentrant
Definition qjsonobject.h:20
\inmodule QtCore\reentrant
Definition qjsonvalue.h:24
\inmodule QtCore
Definition qstringview.h:76
void applyEdit(QSSGSceneDesc::Scene *scene, const QJsonObject &changes)
void setProperty(QSSGSceneDesc::Node *node, const QStringView propertyName, const QJsonValue &value)
QSSGSceneDesc::Node * addResource(QSSGSceneDesc::Scene *scene, const QJsonObject &addition)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
QGraphicsScene scene
[0]