summaryrefslogtreecommitdiffstats
path: root/examples/declarative/effects
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-30 06:33:42 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-30 06:33:42 (GMT)
commit560b617b9a1e7a5bdc837d30886061c15c16deca (patch)
treec02e5f8beb8098a6c553e69fb44ec9ccadc74559 /examples/declarative/effects
parentcc1b25a807e190b1b9fa10653e42e86f19d4bd0f (diff)
downloadQt-560b617b9a1e7a5bdc837d30886061c15c16deca.zip
Qt-560b617b9a1e7a5bdc837d30886061c15c16deca.tar.gz
Qt-560b617b9a1e7a5bdc837d30886061c15c16deca.tar.bz2
cleanup
Diffstat (limited to 'examples/declarative/effects')
-rw-r--r--examples/declarative/effects/effects.qml (renamed from examples/declarative/effects/test.qml)20
-rw-r--r--examples/declarative/effects/pic.jpgbin7016 -> 0 bytes
2 files changed, 10 insertions, 10 deletions
diff --git a/examples/declarative/effects/test.qml b/examples/declarative/effects/effects.qml
index 73c6839..851b2fe 100644
--- a/examples/declarative/effects/test.qml
+++ b/examples/declarative/effects/effects.qml
@@ -7,13 +7,13 @@ Rectangle {
Image {
id: blur
- source: "pic.jpg"
+ source: "pic.png"
effect: Blur {
blurRadius: NumberAnimation {
id: blurEffect
from: 0; to: 10
- duration: 200
+ duration: 1000
repeat: true
}
}
@@ -25,7 +25,7 @@ Rectangle {
Image {
id: grayscale
- source: "pic.jpg"
+ source: "pic.png"
x: 200
effect: Grayscale {}
@@ -35,7 +35,7 @@ Rectangle {
Image {
id: colorize
- source: "pic.jpg"
+ source: "pic.png"
x: 400
effect: Colorize { color: "blue" }
@@ -45,14 +45,14 @@ Rectangle {
Image {
id: pixelize
- source: "pic.jpg"
+ source: "pic.png"
y: 300
effect: Pixelize {
pixelSize: NumberAnimation {
id: pixelizeEffect
from: 0; to: 10
- duration: 200
+ duration: 1000
repeat: true
}
}
@@ -64,14 +64,14 @@ Rectangle {
Image {
id: dropShadow
- source: "pic.jpg"
+ source: "pic.png"
x: 200
y: 300
effect: DropShadow {
blurRadius: 3
offset.x: 3
- offset.y: NumberAnimation { id: dropShadowEffect; from: 0; to: 10; duration: 200; repeat: true; }
+ offset.y: NumberAnimation { id: dropShadowEffect; from: 0; to: 10; duration: 1000; repeat: true; }
}
MouseRegion { anchors.fill: parent; onClicked: dropShadowEffect.running = !dropShadowEffect.running }
@@ -81,7 +81,7 @@ Rectangle {
Image {
id: bloom
- source: "pic.jpg"
+ source: "pic.png"
x: 400
y: 300
@@ -91,7 +91,7 @@ Rectangle {
strength: NumberAnimation {
id: bloomEffect
from: 0; to: 1
- duration: 200
+ duration: 1000
repeat: true
}
}
diff --git a/examples/declarative/effects/pic.jpg b/examples/declarative/effects/pic.jpg
deleted file mode 100644
index 5775518..0000000
--- a/examples/declarative/effects/pic.jpg
+++ /dev/null
Binary files differ