Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r31b1e7a5d69f014398827e16286f28515cd60e35 -r51cb7f2c575286515aa7b715e032514772c1ce1f --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 31b1e7a5d69f014398827e16286f28515cd60e35) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 51cb7f2c575286515aa7b715e032514772c1ce1f) @@ -125,11 +125,16 @@ alwaysRunToEnd : true onStarted : _vitalsButton.iconImageSource = "qrc:/images/iVitalsRed" onStopped : _vitalsButton.iconImageSource = "qrc:/images/iVitals" - onFinished : _vitalsButton.iconImageSource = "qrc:/images/iVitals" - NumberAnimation { target: _vitalsButton; property: "scale"; to: 1.14; duration: 110; easing.type: Easing.OutCubic } // beat up - NumberAnimation { target: _vitalsButton; property: "opacity"; from: 1; to: 0; duration: 500; } // pulse down - NumberAnimation { target: _vitalsButton; property: "scale"; to: 1.0; duration: 180; easing.type: Easing.InCubic } // beat down - NumberAnimation { target: _vitalsButton; property: "opacity"; from: 0; to: 1; duration: 500; } // pulse up + onFinished : { _vitalsButton.iconImageSource = "qrc:/images/iVitals"; _vitalsButton.opacity = 1; } + ParallelAnimation { id: _pulseOut + NumberAnimation { target: _vitalsButton; property: "opacity"; from: 0.3; to: 1; duration: 350; } // pulse up + NumberAnimation { target: _vitalsButton; property: "scale"; to: 1.14; duration: 350; easing.type: Easing.OutCubic } // beat grow + } + + ParallelAnimation { id: _pulseDown + NumberAnimation { target: _vitalsButton; property: "opacity"; from: 1; to: 0.3; duration: 350; } // pulse down + NumberAnimation { target: _vitalsButton; property: "scale"; to: 1.0; duration: 350; easing.type: Easing.InCubic } // beat shrink + } } }