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
qquick3ditem2d_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#
ifndef
QSSGITEM2D_H
7
#
define
QSSGITEM2D_H
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#
include
<
QtQuick3D
/
private
/
qquick3dnode_p
.
h
>
21
#
include
<
QtQuick3D
/
private
/
qquick3dscenemanager_p
.
h
>
22
#
include
<
QtQuick
/
private
/
qquickitemchangelistener_p
.
h
>
23
#
include
<
QtQuick
/
QSGNode
>
24
#
include
<
QtCore
/
QPointer
>
25
#
include
<
QtCore
/
QVector
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QSGLayer;
30
class
QSGRootNode;
31
class
QQuickRootItem;
32
33
class
Q_QUICK3D_EXPORT
QQuick3DItem2D
:
public
QQuick3DNode,
public
QQuickItemChangeListener
34
{
35
Q_OBJECT
36
public
:
37
explicit
QQuick3DItem2D(QQuickItem* item, QQuick3DNode *parent =
nullptr
);
38
~QQuick3DItem2D() override;
39
40
void
addChildItem(QQuickItem *item);
41
void
removeChildItem(QQuickItem *item);
42
QQuickItem *contentItem()
const
;
43
void
itemDestroyed(QQuickItem *item) override;
44
45
private
Q_SLOTS:
46
void
updatePicking();
47
void
derefWindow(QObject *win);
48
49
Q_SIGNALS:
50
void
allChildrenRemoved();
51
52
protected
:
53
void
preSync() override;
54
55
private
:
56
QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override;
57
void
markAllDirty() override;
58
59
QVector<QQuickItem *> m_sourceItems;
60
QQuickWindow *m_window =
nullptr
;
61
QQuickItem *m_contentItem =
nullptr
;
62
bool
m_pickingDirty =
true
;
63
};
64
65
QT_END_NAMESPACE
66
67
#
endif
// QSSGITEM2D_H
QQuick3DItem2D
Definition
qquick3ditem2d_p.h:34
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QV4::Heap
Definition
qv4compileddata_p.h:76
QV4
Definition
qjsvalue.h:24
DEFINE_OBJECT_VTABLE
DEFINE_OBJECT_VTABLE(QSSGItemWrapper)
DIRTY_TO_STRING
#define DIRTY_TO_STRING(value)
QSSGItemWrapper
Definition
qquick3dobject.cpp:1109
QV4::Heap::QSSGItemWrapper
Definition
qquick3dobject.cpp:1102
QV4::Heap::QSSGItemWrapper::markObjects
static void markObjects(QV4::Heap::Base *that, QV4::MarkStack *markStack)
Definition
qquick3dobject.cpp:1115
qtquick3d
src
quick3d
qquick3ditem2d_p.h
Generated on
for Qt by
1.18.0