diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-06-08 13:19:56 +1000 |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-06-08 13:28:21 +1000 |
commit | 1f88f2ceedf00f96e2491ecdd1c655b0f12f3632 (patch) | |
tree | 1900da1a3793da99f9601762d337cf82dc4701ce /examples/declarative/particles/snow/snow.qml | |
parent | 984f21f18d1a3981e7363df467ff2e24e69aa847 (diff) |
Immense Particles Refactor Part C
Demos work again (also, the examples I missed).
Added an example launcher for particles.
Diffstat (limited to 'examples/declarative/particles/snow/snow.qml')
-rw-r--r-- | examples/declarative/particles/snow/snow.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/declarative/particles/snow/snow.qml b/examples/declarative/particles/snow/snow.qml index 2be2438f1d..41adccf7d7 100644 --- a/examples/declarative/particles/snow/snow.qml +++ b/examples/declarative/particles/snow/snow.qml @@ -41,6 +41,7 @@ import QtQuick 2.0 import QtQuick.Particles 2.0 import "content" +import "../launcherContent" as UI Rectangle{ width: 360 @@ -77,15 +78,15 @@ Rectangle{ Row{ anchors.bottom: parent.bottom anchors.horizontalCenter: parent.horizontalCenter - Button{ + UI.Button{ text:"dx/dt" onClicked: wanderer.physics = Wander.Position; } - Button{ + UI.Button{ text:"dv/dt" onClicked: wanderer.physics = Wander.Velocity; } - Button{ + UI.Button{ text:"da/dt" onClicked: wanderer.physics = Wander.Acceleration; } |