Index: sources/gui/qml/components/SliderDoubleCreateTreatment.qml =================================================================== diff -u -r074b32b5cc08f41f2d9ce0d021f2151b76bba5ad -rf8321d4b6a5489f797122321a4821b4eeaaa50cb --- sources/gui/qml/components/SliderDoubleCreateTreatment.qml (.../SliderDoubleCreateTreatment.qml) (revision 074b32b5cc08f41f2d9ce0d021f2151b76bba5ad) +++ sources/gui/qml/components/SliderDoubleCreateTreatment.qml (.../SliderDoubleCreateTreatment.qml) (revision f8321d4b6a5489f797122321a4821b4eeaaa50cb) @@ -20,6 +20,9 @@ import "qrc:/globals" import "qrc:/components" +/*! + * \brief Two side-by-side sliders that fit the width of a normal slider component + */ Rectangle { id: _root @@ -62,8 +65,8 @@ _lowTitle.color = Colors.textMain _lowSelectedValue.color = Colors.textMain } else { - _lowTitle.color = Colors.createTrInvalidParam - _lowSelectedValue.color = Colors.createTrInvalidParam + _lowTitle.color = Colors.createTreatmentInvalidParam + _lowSelectedValue.color = Colors.createTreatmentInvalidParam } } @@ -72,8 +75,8 @@ _highTitle.color = Colors.textMain _highSelectedValue.color = Colors.textMain } else { - _highTitle.color = Colors.createTrInvalidParam - _highSelectedValue.color = Colors.createTrInvalidParam + _highTitle.color = Colors.createTreatmentInvalidParam + _highSelectedValue.color = Colors.createTreatmentInvalidParam } } @@ -112,7 +115,7 @@ step : Variables.bloodFlowResolution ticks : true onValueChanged: { - _lowSelectedValue.text = value + _root.lowUnits; + _lowSelectedValue.text = value + " " + _root.lowUnits; lowSliderChanged() } onActiveChanged: { @@ -165,7 +168,7 @@ step : Variables.bloodFlowResolution ticks : true onValueChanged: { - _highSelectedValue.text = value + _root.highUnits; + _highSelectedValue.text = value + " " + _root.highUnits; highSliderChanged() }