Index: sources/gui/qml/components/RangeRect.qml =================================================================== diff -u -r79bf4dda5c027044ebd0014e7deac42a058a7fcf -r6616f7b9b88efffa42ab605833d296afb76d3cb1 --- sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 79bf4dda5c027044ebd0014e7deac42a058a7fcf) +++ sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 6616f7b9b88efffa42ab605833d296afb76d3cb1) @@ -26,9 +26,11 @@ signal clicked(var vMouseEvent) signal dragged(var vMouseEvent) - property int minimum : 0 - property int maximum : 0 + property int decimal : 0 + property real minimum : 0 + property real maximum : 0 + property alias minText : _textMinimum property alias maxText : _textMaximum @@ -49,7 +51,7 @@ font.bold : true color : Colors.textProgressBar - text : minimum + unit + text : minimum.toFixed(decimal) + unit anchors { left : parent.left @@ -65,7 +67,7 @@ font.bold : true color : Colors.textProgressBar - text : maximum + unit + text : maximum.toFixed(decimal) + unit anchors { right : parent.right