diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2012-12-03 15:13:02 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-03 18:45:26 +0100 |
commit | 5543aefab0db9469b1714728097b0cce7ad5222e (patch) | |
tree | 6c1f85fabc38a1cf30a10776ad956cf886e8ef7b /examples/particles/emitters/doc/src/emitters.qdoc | |
parent | e03a879a68d3cb0906bab4dc81de8ac6ec017fa4 (diff) |
Avoid duplicating Qt Quick Code Samples
We can't include ../../.. in exampledirs, because then qtqml
will include all in the whole repository and a bunch of them
will be duplicated in qtquick and qtqml.
Change-Id: Ib2b9776af0969baceb1e4907c79ce6cecf31f67e
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'examples/particles/emitters/doc/src/emitters.qdoc')
-rw-r--r-- | examples/particles/emitters/doc/src/emitters.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/particles/emitters/doc/src/emitters.qdoc b/examples/particles/emitters/doc/src/emitters.qdoc index 0138a57c31..37da46f2df 100644 --- a/examples/particles/emitters/doc/src/emitters.qdoc +++ b/examples/particles/emitters/doc/src/emitters.qdoc @@ -34,27 +34,27 @@ Each example is a small QML file emphasizing a particular element or feature. Velocity from motion gives the effect of strong particle motion through primarily moving the emitters: - \snippet examples/particles/emitters/content/velocityfrommotion.qml 0 + \snippet particles/emitters/content/velocityfrommotion.qml 0 Burst and pulse calls the burst and pulse methods on two idential emitters. - \snippet examples/particles/emitters/content/burstandpulse.qml 0 + \snippet particles/emitters/content/burstandpulse.qml 0 Note how burst takes an argument of number of particles to emit, and pulse takes an argument of number of milliseconds to emit for. This gives a slightly different behaviour, which is easy to see in this example. Custom Emitter connects to the emitParticles signal to set arbitrary values on particle data as they're emitted; - \snippet examples/particles/emitters/content/customemitter.qml 0 + \snippet particles/emitters/content/customemitter.qml 0 This is used to emit curving particles in six rotating spokes. Emit mask sets an image mask on the Emitter, to emit out of an arbitrary shape. - \snippet examples/particles/emitters/content/emitmask.qml 0 + \snippet particles/emitters/content/emitmask.qml 0 Maximum emitted emits no more than a certain number of particles at a time. This example makes it easy to see what happens when the limit is reached. Shape and Direction emits particles out of an unfilled Ellipse shape, using a TargetDirection - \snippet examples/particles/emitters/content/shapeanddirection.qml 0 + \snippet particles/emitters/content/shapeanddirection.qml 0 This sends the particles towards the center of the ellipse with proportional speed, keeping the ellipse outline as they move to the center. TrailEmitter uses that element to add smoke particles to trail the fire particles in the scene. - \snippet examples/particles/emitters/content/customemitter.qml 0 + \snippet particles/emitters/content/customemitter.qml 0 */ |