summaryrefslogtreecommitdiff
path: root/src/tutorials/Highlight.qml
blob: b6fb767654628957896444ec9779bfada158a88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 2.7

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 }
    }
}