From 981f8b3acf7e76f27c02f4ced80d55b424cc7497 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 3 Feb 2013 12:49:25 +0100 Subject: initial commit to mercurial repository. Corresponds to MO version 0.12.6 --- src/tutorials/Highlight.qml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/tutorials/Highlight.qml (limited to 'src/tutorials/Highlight.qml') 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 } + } +} -- cgit v1.3.1