39 , m_windowChanged(
false)
40 , m_groupIdsNeedRecalculation(
false)
68void QQuickParticlePainter::recalculateGroupIds()
const
75 m_groupIdsNeedRecalculation =
false;
78 const auto groupList =
groups();
83 m_groupIdsNeedRecalculation =
true;
85 m_groupIds.
append(groupId);
94 m_groupIdsNeedRecalculation =
true;
105 if (m_groups !=
arg) {
107 m_groupIdsNeedRecalculation =
true;
118 m_pendingCommits <<
qMakePair(
d->groupId,
d->index);
125 m_pendingCommits <<
qMakePair(
d->groupId,
d->index);
130 m_pendingCommits.
clear();
152 foreach (
const QString &
g, m_groups){
163 foreach (
intPair p, m_pendingCommits)
165 m_pendingCommits.
clear();
170#include "moc_qquickparticlepainter_p.cpp"
T value(const Key &key) const noexcept
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
\inmodule QtCore\reentrant
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Q_INVOKABLE QPointF mapFromItem(const QQuickItem *item, const QPointF &point) const
Maps the given point in item's coordinate system to the equivalent point within this item's coordinat...
void componentComplete() override
\reimp Derived classes should call the base class method before adding their own actions to perform a...
QQuickItem * parentItem() const
virtual void itemChange(ItemChange, const ItemChangeData &)
Called when change occurs for this item.
ItemChange
Used in conjunction with QQuickItem::itemChange() to notify the item about certain types of changes.
void componentComplete() override
\reimp Derived classes should call the base class method before adding their own actions to perform a...
void itemChange(ItemChange, const ItemChangeData &) override
Called when change occurs for this item.
void setGroups(const QStringList &arg)
QQuickParticlePainter(QQuickItem *parent=nullptr)
\qmltype ParticlePainter \instantiates QQuickParticlePainter \inqmlmodule QtQuick....
void setSystem(QQuickParticleSystem *arg)
void load(QQuickParticleData *)
void systemChanged(QQuickParticleSystem *arg)
void groupsChanged(const QStringList &arg)
void reload(QQuickParticleData *)
void calcSystemOffset(bool resetPending=false)
QQuickParticleSystem * m_system
virtual void sceneGraphInvalidated()
void performPendingCommits()
void registerParticlePainter(QQuickParticlePainter *p)
QVarLengthArray< QQuickParticleGroupData *, 32 > groupData
QHash< QString, int > groupIds
void sceneGraphInvalidated()
\qmlsignal QtQuick::Window::sceneGraphInitialized()
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLsizei GLsizei GLsizei GLboolean commit
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
QT_BEGIN_NAMESPACE constexpr decltype(auto) qMakePair(T1 &&value1, T2 &&value2) noexcept(noexcept(std::make_pair(std::forward< T1 >(value1), std::forward< T2 >(value2))))
QPair< int, int > intPair
myObject disconnect()
[26]