Index: sources/gui/qml/pages/treatment/TreatmentHome.qml =================================================================== diff -u -race4047d1007962c136fa32d0531102e22073f32 -r605815f54dfac948ada786080f55d1b6e7a0d47b --- sources/gui/qml/pages/treatment/TreatmentHome.qml (.../TreatmentHome.qml) (revision ace4047d1007962c136fa32d0531102e22073f32) +++ sources/gui/qml/pages/treatment/TreatmentHome.qml (.../TreatmentHome.qml) (revision 605815f54dfac948ada786080f55d1b6e7a0d47b) @@ -56,20 +56,32 @@ text.text: qsTr("CREATE TREATMENT") button.onClicked: treatmentCreated() } + } - RangeSlider { id : _testSlider - anchors.horizontalCenter: parent.horizontalCenter - bgColor : "Red" - width : 600 - height : 5 - minValue: 200 - maxValue: 300 - minimum : Variables.bloodFlowMin - maximum : Variables.bloodFlowMax - unit : Variables.unitTextFlowRate - step : Variables.bloodFlowResolution - ticks : true + RangeSlider { id : _testSlider + y : 600 + x : (parent.width - width) / 2 + width : 700 + height : 5 + decimal : 1 + bgColor : Colors.pressuresOutOfRaneBg + minValue: 2 + maxValue: 3 + minText { + text : qsTr("LOW") + font.bold: true + color: "white" } + maxText { + text : qsTr("HIGH") + font.bold: true + color: "white" + } + minimum : 0 // Variables.bloodFlowMin + maximum : 5 // Variables.bloodFlowMax + unit : Variables.unitTextFlowRate + step : 0.50 // Variables.bloodFlowResolution + ticks : true } onVisibleChanged: {