20 lines
400 B
QML
20 lines
400 B
QML
import QtQuick
|
|
|
|
SequentialAnimation {
|
|
id: root
|
|
loops: Animation.Infinite
|
|
|
|
property real minOpacity: 0.4
|
|
property int halfDuration: 400
|
|
|
|
NumberAnimation {
|
|
to: root.minOpacity
|
|
duration: root.halfDuration
|
|
easing.type: Easing.InOutQuad
|
|
}
|
|
NumberAnimation {
|
|
to: 1
|
|
duration: root.halfDuration
|
|
easing.type: Easing.InOutQuad
|
|
}
|
|
}
|