summaryrefslogtreecommitdiff
path: root/src/tutorials/Highlight.qml
diff options
context:
space:
mode:
authorTannin <Tannin@Serenity>2013-02-03 12:49:25 +0100
committerTannin <Tannin@Serenity>2013-02-03 12:49:25 +0100
commit981f8b3acf7e76f27c02f4ced80d55b424cc7497 (patch)
tree0f504d99d1e5fe197258febff3c147d0725abda4 /src/tutorials/Highlight.qml
initial commit to mercurial repository.
Corresponds to MO version 0.12.6
Diffstat (limited to 'src/tutorials/Highlight.qml')
-rw-r--r--src/tutorials/Highlight.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tutorials/Highlight.qml b/src/tutorials/Highlight.qml
new file mode 100644
index 00000000..bb4db78f
--- /dev/null
+++ b/src/tutorials/Highlight.qml
@@ -0,0 +1,19 @@
+// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
+import QtQuick 1.1
+
+Rectangle {
+ radius: 10
+ color: "transparent"
+ height: 100
+ border.color: "black"
+ border.width: 3
+ opacity: 0.9
+ smooth: true
+
+ SequentialAnimation on opacity {
+ loops: Animation.Infinite
+
+ PropertyAnimation { easing.type: Easing.InOutSine; duration: 300; to: 0.1 }
+ PropertyAnimation { easing.type: Easing.OutInSine; duration: 300; to: 0.7 }
+ }
+}