22class Q_QUICKPARTICLES_EXPORT QQuickParticleGroup :
public QQuickStochasticState,
23 public QQmlParserStatus
26 Q_PROPERTY(QQuickParticleSystem* system READ system WRITE setSystem NOTIFY systemChanged)
29 Q_PROPERTY(QQmlListProperty<QObject> particleChildren READ particleChildren DESIGNABLE
false)
30 Q_CLASSINFO(
"DefaultProperty",
"particleChildren")
31 QML_NAMED_ELEMENT(ParticleGroup)
32 QML_ADDED_IN_VERSION(2, 0)
33 Q_INTERFACES(QQmlParserStatus)
36 explicit QQuickParticleGroup(QObject *parent =
nullptr);
38 QQmlListProperty<QObject> particleChildren();
40 QQuickParticleSystem* system()
const
47 void setSystem(QQuickParticleSystem* arg);
49 void delayRedirect(QObject* obj);
53 void systemChanged(QQuickParticleSystem* arg);
56 void componentComplete() override;
57 void classBegin() override {}
61 void performDelayedRedirects();
63 QQuickParticleSystem* m_system;
64 QList<QObject*> m_delayedRedirects;
void delayedRedirect(QQmlListProperty< QObject > *prop, QObject *value)