aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/snow/snow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/particles/snow/snow.qml')
-rw-r--r--examples/declarative/particles/snow/snow.qml7
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;
}