summaryrefslogtreecommitdiff
path: root/src/tutorials/Highlight.qml
blob: 55474c9109939b342e42a3ae6dcbc6c38b8b6fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 }
    }
}