Index: sources/gui/qml/pages/treatment/sections/TreatmentUltrafiltration.qml =================================================================== diff -u -r016578b44e879b89bd42dda7763ed50e67d7e64c -ra159e12630645a9a35fb0a5585cc7b639cfe6aa6 --- sources/gui/qml/pages/treatment/sections/TreatmentUltrafiltration.qml (.../TreatmentUltrafiltration.qml) (revision 016578b44e879b89bd42dda7763ed50e67d7e64c) +++ sources/gui/qml/pages/treatment/sections/TreatmentUltrafiltration.qml (.../TreatmentUltrafiltration.qml) (revision a159e12630645a9a35fb0a5585cc7b639cfe6aa6) @@ -31,11 +31,23 @@ width : 200 height : 200 isTouchable : true - orientation : TouchArea.Orientation.Vertical title : qsTr("ULTRAFILTRATION VOLUME") + " " + qsTr("(mL)") + notificationImageSource: "qrc:/images/iPauseGray" + Connections { target: vTreatmentUltrafiltrationState + onIsPausedChanged : { + if ( vTreatmentUltrafiltrationState.isPaused ) { + notificationText = qsTr("Ultrafiltration Paused") + _progressbarex.marker.color = "dimgray" + } else { + notificationText = "" + _progressbarex.marker.color = Colors.rangeMarker + } + } + } + Connections { target: vTreatmentAdjustmentDuration - onAdjustmentDurationTriggered: { + onAdjustmentTriggered: { // FIXME : HD units should be consistent(mL or L) but here is Litre _progressbarex.maximum = vTreatmentAdjustmentDuration.ultrafiltration * 1000 }