Index: sources/gui/qml/components/ProgressBarEx.qml =================================================================== diff -u -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d -r41a18f001483e96ccd4b08629b9f1e0ae20f3547 --- sources/gui/qml/components/ProgressBarEx.qml (.../ProgressBarEx.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) +++ sources/gui/qml/components/ProgressBarEx.qml (.../ProgressBarEx.qml) (revision 41a18f001483e96ccd4b08629b9f1e0ae20f3547) @@ -24,29 +24,59 @@ * \brief Denali project ProgressBar */ ProgressBar { id: _root - signal extraClicked() + objectName : "_progressBarEx" - property alias valueEx : _progressRectEx.value // for convenience - property alias progressEx : _progressRectEx + property alias valueEx: _progressRectEx.value - minimum : 0 - maximum : 0 + width : Variables.ultrafiltrationProgressBarWidth + height : Variables.ultraFiltrationProgressBarHeight + minimum : 0.0 + maximum : 0.0 + color : Colors.ufProgressBarFill + radius : Variables.ultrafiltrationProgressBarRadius - minText.visible : true - maxText.visible : true + minText { + font { + pixelSize : Fonts.fontPixelUltrafiltrationMinMaxLabel + weight : Font.Normal + } + color : Colors.progressBarMinMax + text : minimum.toFixed(_root.decimal) + " " + Variables.unitVolume + } + maxText { + font { + pixelSize : minText.font.pixelSize + weight : minText.font.weight + } + color : Colors.progressBarMinMax + text : maximum.toFixed(_root.decimal) + " " + Variables.unitVolume + } + marker { + width : Variables.ultrafiltrationRangeMarkerWidth + height : Variables.rangeMarkerHeight + valueOnTop : true + decimal : _root.decimal + value : _root.value + text { + anchors.bottomMargin: Variables.ultrafiltrationRangeMarkerTextMargin + font { + pixelSize: Fonts.fontPixelUltrafiltrationRangeMarker + weight: Font.DemiBold + } + } + } + ProgressRect { id: _progressRectEx z : 0 // ProgressBarEx z order in the gui // to be ordred among the components of the parent (ProgressBar) visible : value + color : Colors.ufAdjustmentDeltaFill decimal : _root.decimal minimum : _root.minimum maximum : _root.maximum value : _root.valueEx - color : Colors.highlightMedProgressBar + radius : _root.radius margin : 0 - maxText.visible : visible - - onClicked : extraClicked() } }