diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2012-08-08 12:18:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-21 10:25:11 +0200 |
commit | 5c88efc06d152ac675b4369d854699b137631fa0 (patch) | |
tree | 85e833ecd1914c71ae92280aaf44c48a878d0453 /examples/particles/imageparticle/imageparticle.qml | |
parent | f66624bf294663a3dd0777692e8ad8dbb19f3819 (diff) |
Examples: Moved example documentation.
-inline \example pages into separate .qdoc files
-fixed broken links to paths
-moved ui-components under examples/quick
Change-Id: I6e009b9213be3e1f4bed51bdbeb76a7a2142c80b
Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'examples/particles/imageparticle/imageparticle.qml')
-rw-r--r-- | examples/particles/imageparticle/imageparticle.qml | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/examples/particles/imageparticle/imageparticle.qml b/examples/particles/imageparticle/imageparticle.qml index 0635fd7010..c6caa1c29c 100644 --- a/examples/particles/imageparticle/imageparticle.qml +++ b/examples/particles/imageparticle/imageparticle.qml @@ -41,42 +41,6 @@ import QtQuick 2.0 import "../../shared" as Examples -/*! - \title QtQuick.Particles Examples - Affectors - \example particles/imageparticle - \brief This is a collection of examples using Affectors in the QML particle system. - \image qml-imageparticle-example.png - - This is a collection of small QML examples relating to using Affectors in the particle system. - Each example is a small QML file emphasizing a particular element or feature. - - All at once shows off several of the features of ImageParticle at the same time. - \snippet examples/particles/imageparticle/content/allatonce.qml 0 - - Colored shows a simple ImageParticle with some color variation. - \snippet examples/particles/imageparticle/content/colored.qml 0 - - Color Table sets the color over life on the particles to provide a fixed rainbow effect. - \snippet examples/particles/imageparticle/content/colortable.qml 0 - - Deformation spins and squishes a starfish particle. - \snippet examples/particles/imageparticle/content/colortable.qml spin - \snippet examples/particles/imageparticle/content/colortable.qml deform - - Rotation demonstrates the autoRotate property, so that particles rotate in the direction that they travel. - - Sharing demonstrates what happens when multiple ImageParticles try to render the same particle. - The following ImageParticle renders the particles inside the ListView: - \snippet examples/particles/imageparticle/content/sharing.qml 0 - The following ImageParticle is placed inside the list highlight, and renders the particles above the other ImageParticle. - \snippet examples/particles/imageparticle/content/sharing.qml 1 - Note that because it sets the color and alpha in this ImageParticle, it renders the particles in a different color. - Since it doesn't specify anything about the rotation, it shares the rotation with the other ImageParticle so that the flowers are rotated the same way in both. - Note that you can undo rotation in another ImageParticle, you just need to explicitly set rotationVariation to 0. - - Sprites demonstrates using an image particle to render animated sprites instead of static images for each particle. -*/ - Item { height: 480 width: 320 |