Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquick3dparticleabstractshape.cpp
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
5#include <QtQuick3D/private/qquick3dnode_p.h>
6
8
22{
23}
24
26{
27 if (!parentNode())
28 qWarning() << "Shape requires parent Node to function correctly!";
29}
30
32{
33 QQuick3DNode *node = qobject_cast<QQuick3DNode *>(parent());
34 if (!m_parentNode || m_parentNode != node)
35 m_parentNode = node;
36 return m_parentNode;
37}
38
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
QQuick3DParticleAbstractShape(QObject *parent=nullptr)
\qmltype ParticleAbstractShape3D \inherits QtObject \inqmlmodule QtQuick3D.Particles3D
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
Combined button and popup list for selecting options.
#define qWarning
Definition qlogging.h:162
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent