summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2012-08-13 09:45:32 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2012-08-13 09:45:32 +0200
commit766a43ca4190b32617e1361548d028271263378a (patch)
treeda4f076b9763b2b9fbf0d71f335dcea9083a0295
parentfadf8879ed3616b745aee76d3c833f88d3c84f22 (diff)
Update to latest declarative
-rw-r--r--examples/animatedbackground/BackgroundSwirls.qml9
-rw-r--r--examples/animatedbackground/SlideDeck.qml2
2 files changed, 6 insertions, 5 deletions
diff --git a/examples/animatedbackground/BackgroundSwirls.qml b/examples/animatedbackground/BackgroundSwirls.qml
index c1c4dde..5321842 100644
--- a/examples/animatedbackground/BackgroundSwirls.qml
+++ b/examples/animatedbackground/BackgroundSwirls.qml
@@ -58,10 +58,12 @@ Item {
property color color2: Qt.rgba(0.8, 0.8, 1, 0.3)
gradient: Gradient {
- GradientStop { position: 0; color: colorTableItem.color1 }
+ GradientStop { position: 0.0; color: "transparent"}
+ GradientStop { position: 0.05; color: colorTableItem.color1 }
GradientStop { position: 0.3; color: "transparent" }
GradientStop { position: 0.7; color: "transparent" }
- GradientStop { position: 1; color: colorTableItem.color2 }
+ GradientStop { position: 0.95; color: colorTableItem.color2 }
+ GradientStop { position: 1.0; color: "transparent" }
}
visible: false
@@ -106,8 +108,7 @@ Item {
sizeVariation: 2
acceleration: AngleDirection { angle: 90; angleVariation: 360; magnitude: 20; }
- speed: AngleDirection { angle: -90; angleVariation: 360; magnitude: 10; }
-
+ velocity: AngleDirection { angle: -90; angleVariation: 360; magnitude: 10; }
}
}
diff --git a/examples/animatedbackground/SlideDeck.qml b/examples/animatedbackground/SlideDeck.qml
index e0835a6..ba3d2ed 100644
--- a/examples/animatedbackground/SlideDeck.qml
+++ b/examples/animatedbackground/SlideDeck.qml
@@ -55,7 +55,7 @@ Presentation {
title: "Composition"
content: [
"Gradient Rectangle",
- "Swirls using ShaderEffectItem",
+ "Swirls using ShaderEffect",
" Movement using a vertexShader",
" Colorized using a gradient rect converted to a texture",
" Controlled using QML properties and animations",