qtdeclarative/tests/auto/particles
Alan Alpert 41db7b10e4 QQuickItemParticle: Only delete owned particles
A common pattern for ItemParticle (as shown in the particleview.qml
example) is to use it to manage movement of a model's delegates. In such
a case item management is handled by the user code (which bridges the
needs of the Model and the View) and deleting the items in ItemParticle
quickly leads to crashes.

This change maintains (and improves, due to handling resets) the
deletion of delegates created by the ItemParticles, as shown in
delegates.qml. This example was expanded with a click to reset feature
so as to more clearly see the impact of resets.

Task-number: QTBUG-37486
Change-Id: I9de935034c11a7dd2abdd60e7b3bd42867dede9c
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
2015-02-04 17:04:16 +00:00
..
qquickage Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickangleddirection Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickcumulativedirection Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickcustomaffector Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickcustomparticle Skip failing test temporarily 2014-12-05 12:26:12 +01:00
qquickellipseextruder Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickfriction Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickgravity Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickgroupgoal Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickimageparticle Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickitemparticle QQuickItemParticle: Only delete owned particles 2015-02-04 17:04:16 +00:00
qquicklineextruder Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickmaskextruder Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickparticlegroup Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickparticlesystem Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickpointattractor Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickpointdirection Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickrectangleextruder Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickspritegoal Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquicktargetdirection Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquicktrailemitter Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickturbulence Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qquickwander Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
shared Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
particles.pro Get SpriteGoal and GroupGoal tests running again 2012-04-12 04:07:37 +02:00