summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/content
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-04-22 04:47:24 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-04-22 04:47:24 (GMT)
commit2366667fc97eb6a56203b2dd7dac776ff4164abd (patch)
treeb2acb6cc6bfe475d7e619e4788973b61fff775e0 /examples/declarative/webview/content
parent2c762f3b8b284a7c6dc0c499b7052013bad5b707 (diff)
downloadQt-2366667fc97eb6a56203b2dd7dac776ff4164abd.zip
Qt-2366667fc97eb6a56203b2dd7dac776ff4164abd.tar.gz
Qt-2366667fc97eb6a56203b2dd7dac776ff4164abd.tar.bz2
Initial import of kinetic-dui branch from the old kinetic
Diffstat (limited to 'examples/declarative/webview/content')
-rw-r--r--examples/declarative/webview/content/SpinSquare.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/declarative/webview/content/SpinSquare.qml b/examples/declarative/webview/content/SpinSquare.qml
new file mode 100644
index 0000000..ced45d5
--- /dev/null
+++ b/examples/declarative/webview/content/SpinSquare.qml
@@ -0,0 +1,12 @@
+<Item id="Root">
+ <properties>
+ <Property name="period" value="250"/>
+ <Property name="color" value="black"/>
+ </properties>
+ <Item x="{Root.width/2}" y="{Root.height/2}">
+ <Rect color="{Root.color}" width="{Root.width}" height="{width}" x="{-width/2}" y="{-height/2}"/>
+ <rotation>
+ <NumericAnimation from="0" to="360" repeat="true" running="true" duration="{Root.period}"/>
+ </rotation>
+ </Item>
+</Item>