Index: sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentUltrafiltrationEdit.qml =================================================================== diff -u -rb789046c096cfdddb39adcd3d5be1e129769aac6 -reb19475a6bf4ed7f6a16bc07eefc7813496620ef --- sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentUltrafiltrationEdit.qml (.../TreatmentAdjustmentUltrafiltrationEdit.qml) (revision b789046c096cfdddb39adcd3d5be1e129769aac6) +++ sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentUltrafiltrationEdit.qml (.../TreatmentAdjustmentUltrafiltrationEdit.qml) (revision eb19475a6bf4ed7f6a16bc07eefc7813496620ef) @@ -49,19 +49,15 @@ } minimum : 0 maximum : 8000 - // TEST : it has to be bound to MeasUFVol to get the actual values from pumps - // but since we have none in testing code bound to the refUFVal which - // is the calculated/expected volume. - //// value : vTreatmentUltrafiltration.ultrafiltration_MeasUFVol.toFixed(2); - value : vTreatmentUltrafiltration.ultrafiltration_RefUFVol.toFixed(2); + progressEx.maxText.visible: false + value : vTreatmentUltrafiltration.ultrafiltration_MeasUFVol.toFixed(2); valueEx : _adjustmentSlider.value } Slider { id: _adjustmentSlider // TODO : These two values shall get from a model - // TEST : These two values shall get from a model - property int minGapValue: 500 - property int maxGapValue: 500 + property int minGapValue: 0 // No gap for now. + property int maxGapValue: 0 // No gap for now. readonly property int minGapWidth: (minGapValue * _rangeProgressBar.width) / (_rangeProgressBar.maximum - _rangeProgressBar.minimum) readonly property int maxGapWidth: (maxGapValue * _rangeProgressBar.width) / (_rangeProgressBar.maximum - _rangeProgressBar.minimum) @@ -80,6 +76,20 @@ maximum : _rangeProgressBar.maximum - minGapValue } + Text { id: _textMaximum + visible : true + color : "white" + text : _adjustmentSlider.value + font { + pixelSize : Fonts.fontPixelUltrafiltrationAdjustmentEditValue + } + anchors { + horizontalCenter: parent.horizontalCenter + top : parent.top + topMargin : 150 + } + } + TouchRect { id: _nextButton width : 530 height : 95