Index: sources/gui/qml/components/Slider.qml =================================================================== diff -u -r0d1939fed65f8d71135c31dc8a94b77da069e1bf -r4c45b0a8be6589f9fb55b646edbe075a1f7df4fd --- sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 0d1939fed65f8d71135c31dc8a94b77da069e1bf) +++ sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 4c45b0a8be6589f9fb55b646edbe075a1f7df4fd) @@ -53,10 +53,14 @@ property bool isRoundedEnds : true property bool hasBorder : true - property color borderColor : Colors.borderDisableButton - property color highlightColor : Colors.sliderHighlightColor + property bool showMinMaxText : true + property color borderColor : Colors.borderDisableButton + property color highlightActiveColor : Colors.sliderHighlightColor + property color highlightInactiveColor : Colors.createTreatmentInactive property color progressBorderActiveColor : Colors.sliderProgressBorderActive property color progressBorderInactiveColor : Colors.borderDisableButton + property color handlerActiveColor : Colors.createTreatmentActive + property color handlerInactiveColor : Colors.createTreatmentInactive signal activeChanged() signal handleSelected() @@ -109,11 +113,11 @@ function setActiveVisuals(active) { if (active) { - color = _root.highlightColor - handlerColor = Colors.createTreatmentActive + color = _root.highlightActiveColor + handlerColor = _root.handlerActiveColor } else { - color = Colors.createTreatmentInactive - handlerColor = Colors.createTreatmentInactive + color = _root.highlightInactiveColor + handlerColor = _root.handlerInactiveColor } } @@ -291,7 +295,7 @@ ProgressRect { id: _progressRect property real previousSliderValue: Number.NaN value : minimum - color : _root.highlightColor + color : _root.highlightActiveColor decimal : _root.decimal minimum : _root.minimum @@ -371,7 +375,7 @@ width : diameter height : diameter radius : diameter - color : Colors.highlightProgressBar + color : _root.handlerActiveColor border { width: Variables.progressbarHandlerBorderWidth color: Colors.textMain