projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Extract all QtQuick 1 elements into a separate library/plugin.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick1
/
qdeclarativeparticles
/
data
/
particlemotiontest.qml
1
import QtQuick 1.0
2
import Qt.labs.particles 1.0
3
4
Rectangle {
5
width: 240
6
height: 320
7
color: "black"
8
Particles {
9
objectName: "particles"
10
anchors.fill: parent
11
width: 1
12
height: 1
13
source: "particle.png"
14
lifeSpan: 5000
15
count: 200
16
angle: 270
17
angleDeviation: 45
18
velocity: 50
19
velocityDeviation: 30
20
ParticleMotionGravity {
21
objectName: "motionGravity"
22
yattractor: 1000
23
xattractor: 0
24
acceleration: 25
25
}
26
}
27
resources: [
28
ParticleMotionWander {
29
objectName: "motionWander"
30
xvariance: 30
31
yvariance: 30
32
pace: 100
33
}
34
]
35
}