diff options
Diffstat (limited to 'src/tutorials/Highlight.qml')
| -rw-r--r-- | src/tutorials/Highlight.qml | 19 |
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 }
+ }
+}
|
