tests/auto/declarative/qdeclarativeparticles/data/particlestest.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 import Qt.labs.particles 1.0
       
     3 
       
     4 Rectangle{
       
     5     width: 100
       
     6     height: 100
       
     7     color: "black"
       
     8     objectName: "rect"
       
     9     Particles { id: particles
       
    10         objectName: "particles"
       
    11         width:1; height:1; anchors.centerIn: parent; opacity: 1
       
    12         lifeSpan: 100; lifeSpanDeviation: 20; count:1000;
       
    13         fadeInDuration: 20; fadeOutDuration: 20; emissionRate: 1000
       
    14         angle: 0; angleDeviation: 360; velocity: 500; velocityDeviation:30
       
    15         source: "particle.png"
       
    16     }
       
    17 }