Index: sources/gui/qml/pages/treatment/TreatmentCreate.qml =================================================================== diff -u -rc64e61dd23a44d4b9d76c9e0b8f06bc359497665 -r9baa4f15fe9866be23895f9738b091b3ab078898 --- sources/gui/qml/pages/treatment/TreatmentCreate.qml (.../TreatmentCreate.qml) (revision c64e61dd23a44d4b9d76c9e0b8f06bc359497665) +++ sources/gui/qml/pages/treatment/TreatmentCreate.qml (.../TreatmentCreate.qml) (revision 9baa4f15fe9866be23895f9738b091b3ab078898) @@ -87,6 +87,7 @@ } Text { + id: _selected_value anchors.top: parent.top anchors.right: parent.right text: "-- mL/min" @@ -95,11 +96,19 @@ } - ProgressBar { + Slider { id : _bloodFlowRate anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: parent.bottom; width : Variables.progressbarSmallWidth - height : Variables.progressbarSmall + height : 5 + minimum : 100 + maximum : 500 + unit : qsTr(" mL/min") + step : Variables.bloodFlowResolution + ticks : true + onValueChanged: { + _selected_value.text = value + unit; + } } } }