Index: sources/gui/qml/components/Slider.qml =================================================================== diff -u -r0e2a9c05ce36fd5ffd717b83be813174121dd0cf -r261fa5939140953733f764f2c783c35347de415f --- sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 0e2a9c05ce36fd5ffd717b83be813174121dd0cf) +++ sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 261fa5939140953733f764f2c783c35347de415f) @@ -55,10 +55,13 @@ property bool isRoundedEnds : true property bool hasBorder : true property bool showMinMaxText : true - property color borderColor : Colors.borderDisableButton - property color highlightColor : Colors.sliderHighlightColor + 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() @@ -111,11 +114,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 } } @@ -293,7 +296,7 @@ ProgressRect { id: _progressRect property real previousSliderValue: Number.NaN value : minimum - color : _root.highlightColor + color : _root.highlightActiveColor decimal : _root.decimal minimum : _root.minimum @@ -373,7 +376,7 @@ width : diameter height : diameter radius : diameter - color : Colors.highlightProgressBar + color : _root.handlerActiveColor border { width: Variables.progressbarHandlerBorderWidth color: _root.handleBorderColor