diff options
author | Topi Reinio <topi.reinio@digia.com> | 2013-12-20 14:56:35 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@digia.com> | 2014-01-14 15:57:06 +0200 |
commit | e80e8e67554708a69d74bab5c22c6644b419eae1 (patch) | |
tree | 61728bb1ab1e4171c96f32931dd887dc64bf13f2 /basicsuite/Qt5 Particles Demo | |
parent | 06ed12c66d7d8a58e37228c3d4785b4070be5d6a (diff) |
Introduce documentation for Qt Enterprise Embedded Examples
Create documentation structure for Qt Enterprise Embedded
Examples and Demos, including the subprojects from the
/basicsuite subdirectory.
Task-number: QTEE-137
Change-Id: Ic6f9f9fa8cea8b7fa4821508fda93822c0b99ea3
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'basicsuite/Qt5 Particles Demo')
-rw-r--r-- | basicsuite/Qt5 Particles Demo/Qt5 Particles Demo.qmlproject | 18 | ||||
-rw-r--r-- | basicsuite/Qt5 Particles Demo/doc/src/emitters.qdoc | 18 |
2 files changed, 27 insertions, 9 deletions
diff --git a/basicsuite/Qt5 Particles Demo/Qt5 Particles Demo.qmlproject b/basicsuite/Qt5 Particles Demo/Qt5 Particles Demo.qmlproject new file mode 100644 index 0000000..4d32f75 --- /dev/null +++ b/basicsuite/Qt5 Particles Demo/Qt5 Particles Demo.qmlproject @@ -0,0 +1,18 @@ +import QmlProject 1.1 + +Project { + mainFile: "main.qml" + + /* Include .qml, .js, and image files from current directory and subdirectories */ + QmlFiles { + directory: "." + } + JavaScriptFiles { + directory: "." + } + ImageFiles { + directory: "." + } + /* List of plugin directories passed to QML runtime */ + // importPaths: [ "../exampleplugin" ] +} diff --git a/basicsuite/Qt5 Particles Demo/doc/src/emitters.qdoc b/basicsuite/Qt5 Particles Demo/doc/src/emitters.qdoc index 5644ab1..9577b06 100644 --- a/basicsuite/Qt5 Particles Demo/doc/src/emitters.qdoc +++ b/basicsuite/Qt5 Particles Demo/doc/src/emitters.qdoc @@ -25,36 +25,36 @@ ** ****************************************************************************/ /*! - \title QtQuick.Particles Examples - Emitters - \example quick/particles/emitters + \title QtQuick Particles Emitters + \example Qt5 Particles Demo + \ingroup b2qt-demos \brief This is a collection of examples using Emitters in the QML particle system. - \image qml-emitters-example.png This is a collection of small QML examples relating to using Emitters in the particle system. 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 quick/particles/emitters/content/velocityfrommotion.qml 0 + \snippet Qt5\ Particles\ Demo/content/velocityfrommotion.qml 0 Burst and pulse calls the burst and pulse methods on two idential emitters. - \snippet quick/particles/emitters/content/burstandpulse.qml 0 + \snippet Qt5\ Particles\ Demo/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 quick/particles/emitters/content/customemitter.qml 0 + \snippet Qt5\ Particles\ Demo/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 quick/particles/emitters/content/emitmask.qml 0 + \snippet Qt5\ Particles\ Demo/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 quick/particles/emitters/content/shapeanddirection.qml 0 + \snippet Qt5\ Particles\ Demo/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 quick/particles/emitters/content/customemitter.qml 0 + \snippet Qt5\ Particles\ Demo/content/customemitter.qml 0 */ |