37 , m_windowChanged(
false)
38 , m_groupIdsNeedRecalculation(
false)
62void QQuickParticlePainter::recalculateGroupIds()
const
69 m_groupIdsNeedRecalculation =
false;
72 const auto groupList =
groups();
77 m_groupIdsNeedRecalculation =
true;
79 m_groupIds.
append(groupId);
88 m_groupIdsNeedRecalculation =
true;
99 if (m_groups !=
arg) {
101 m_groupIdsNeedRecalculation =
true;
112 m_pendingCommits <<
qMakePair(
d->groupId,
d->index);
119 m_pendingCommits <<
qMakePair(
d->groupId,
d->index);
124 m_pendingCommits.
clear();
146 foreach (
const QString &
g, m_groups){
157 foreach (
intPair p, m_pendingCommits)
159 m_pendingCommits.
clear();
164#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
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
GLint GLint GLint GLint GLsizei GLsizei GLsizei GLboolean commit
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
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]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent