summaryrefslogtreecommitdiff
path: root/testdeclarativewatchlet.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-09-16 20:51:27 +0200
committerJavier <javier@pcjavier.(none)>2011-09-16 20:51:27 +0200
commitb6060852c4b317cd73043cdc82b652d187d952fd (patch)
treea5795eb33379e7172cd16962c131b8bac8db16da /testdeclarativewatchlet.qml
parentaa1c0fd3146b4ed055d181c99d52463afa6bedbb (diff)
downloadsowatch-b6060852c4b317cd73043cdc82b652d187d952fd.tar.gz
sowatch-b6060852c4b317cd73043cdc82b652d187d952fd.zip
Fixing some bugs in damage tracking on real N950
Diffstat (limited to 'testdeclarativewatchlet.qml')
-rw-r--r--testdeclarativewatchlet.qml90
1 files changed, 7 insertions, 83 deletions
diff --git a/testdeclarativewatchlet.qml b/testdeclarativewatchlet.qml
index 08a3b06..04d8167 100644
--- a/testdeclarativewatchlet.qml
+++ b/testdeclarativewatchlet.qml
@@ -5,6 +5,10 @@ Rectangle {
width: 96
height: 96
+ Text {
+ text: watch.model
+ }
+
Image {
anchors.centerIn: parent
source: "qt.png"
@@ -14,91 +18,11 @@ Rectangle {
origin { x: width / 4; y: 0; }
RotationAnimation on angle {
loops: Animation.Infinite
- running: true
- duration: 10000
+ running: watch.active
+ duration: 6000
from: 0
- to: 360
+ to: 180
}
}
}
-
- /*color: "white"
-
- Rectangle {
- width: 90
- height: 90
-
- color: "black"
-
- Rectangle {
- width: 10
- height: 10
-
- x: 0
- y: 0
-
- SequentialAnimation on y {
- loops: Animation.Infinite
- NumberAnimation { from: 0; to: 60; duration: 1000 }
- NumberAnimation { from: 60; to: 0; duration: 1000 }
- }
- }
-
- Rectangle {
- width: 10
- height: 10
-
- x: 80
- y: 00
-
- SequentialAnimation on y {
- loops: Animation.Infinite
- NumberAnimation { from: 0; to: 60; duration: 1000 }
- }
- }
-
- Rectangle {
- width: 10
- height: 10
- x: 10
- y: 10
-
- SequentialAnimation on visible {
- loops: Animation.Infinite
- PropertyAnimation { to: false; duration: 1000 }
- PropertyAnimation { to: true; duration: 1000 }
- }
- }
-
- Rectangle {
- id: big1
- width: 20
- height: 20
- x: 40
- y: 40
-
- color: "white"
- visible: false
- }
-
- Text {
- id: name
- x: 20
- text: "hello"
- color: "white"
-
- SequentialAnimation on y {
- loops: Animation.Infinite
- NumberAnimation { from: 0; to: 60; duration: 1000 }
- NumberAnimation { from: 60; to: 0; duration: 1000 }
- }
- }
-
- Connections {
- target: watch
- onButtonPressed: {
- console.log(button);
- }
- }
- }*/
}