Index: sources/gui/qml/pages/treatment/sections/TreatmentPressures.qml =================================================================== diff -u -r27cc308ff5113a9386899d3c8f8b29962a8498e1 -r743b1bbe1b18908167d3f5f6f8b0d5c66cbe1295 --- sources/gui/qml/pages/treatment/sections/TreatmentPressures.qml (.../TreatmentPressures.qml) (revision 27cc308ff5113a9386899d3c8f8b29962a8498e1) +++ sources/gui/qml/pages/treatment/sections/TreatmentPressures.qml (.../TreatmentPressures.qml) (revision 743b1bbe1b18908167d3f5f6f8b0d5c66cbe1295) @@ -39,6 +39,8 @@ property int arterilPressure : 0 property int venousPressure : 0 + property bool valueOutRangeNotify : true + clip: false x : 0 y : 0 @@ -67,13 +69,14 @@ width : 175 height : 15 rangebar.color: Colors.pressuresArterialBar - markerOutRangeNotify: true + markerOutRangeNotify: _root.valueOutRangeNotify minimum : _root.arterialMinimum lowerBound : _root.arterialLowerBound upperBound : _root.arterialUpperBound maximum : _root.arterialMaximum value : _root.arterilPressure + color : valueOutRangeNotify ? Colors.backgroundRangeRect : rangebar.color Text { id: _arterialText anchors { @@ -89,18 +92,19 @@ } RangeBar { id: _venousRangeBar - x: 200 + x: 210 y: 80 width : 175 height : 15 rangebar.color: Colors.pressuresVenousBar - markerOutRangeNotify: true + markerOutRangeNotify: _root.valueOutRangeNotify minimum : _root.venousMinimum lowerBound : _root.venousLowerBound upperBound : _root.venousUpperBound maximum : _root.venousMaximum value : _root.venousPressure + color : valueOutRangeNotify ? Colors.backgroundRangeRect : rangebar.color Text { id: _venousText anchors {