Index: sources/gui/qml/compounds/PressureRangeSlider.qml =================================================================== diff -u -rb0a485af0bb3c3fd48c5ba8a2f59706d2aff0e75 -r533c771015857845302bcbc58b411ecef2d6ec79 --- sources/gui/qml/compounds/PressureRangeSlider.qml (.../PressureRangeSlider.qml) (revision b0a485af0bb3c3fd48c5ba8a2f59706d2aff0e75) +++ sources/gui/qml/compounds/PressureRangeSlider.qml (.../PressureRangeSlider.qml) (revision 533c771015857845302bcbc58b411ecef2d6ec79) @@ -31,18 +31,36 @@ * It contains of label for the Arterial/Venous and the unit next to it on top left. * And on the left side a RangeBar on top of a RangeSlider that are layed out in a Column. * The RangeSlider and RangeBar are connected and RangeSlider change affects RangeBar min/max. + \verbatim + m__imum : 0 100 + rangebar : ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ + limitGap : ┌─────────────────────────────────────────────┐ + rangeslider : └──────(──────@───)───────────────────────────────(─────────@──────────)──────────┘ + m__imumMargin : └────┘ │ │ │ │ │ │ └───────────┘ + lowerBoundMin : ────────────┘ │ │ │ │ │ + lowerBound : ───────────────────┘ │ │ │ │ + lowerBoundMax : ───────────────────────┘ │ │ │ + upperBoundMin : ───────────────────────────────────────────────────────┘ │ │ + upperBound : ─────────────────────────────────────────────────────────────────┘ │ + upperBoundMax : ────────────────────────────────────────────────────────────────────────────┘ + \endverbatim */ Row { id: _root + property real minimum : 0 ///< the minimum value of the range (adjustable slider might be different regarding the minimumMargin) + property real minimumMargin : 0 ///< the margin of the adjustable minimum value from the minimm + property real lowerBoundMin : 0 ///< the adjutable lowerband minimum acceptable value + property real lowerBound : 0 ///< + property real lowerBoundMax : 0 ///< the adjutable lowerband maximum acceptable value + property real upperBoundMin : 0 ///< the adjutable upperband minimum acceptable value + property real upperBound : 0 ///< + property real upperBoundMax : 0 ///< the adjutable upperband maximum acceptable value + property real maximumMargin : 0 ///< + property real maximum : 0 ///< + property real value : 0 ///< + property real step : 10 ///< + property int limitGap : 0 - property real minimum : 0 - property real minimumMargin : 0 - property real lowerBound : 0 - property real upperBound : 0 - property real maximumMargin : 0 - property real maximum : 0 - property real value : 0 - property real step : 10 - property bool ticksVisible : false + property bool ticksVisible : false ///< property string titleText : "" property string titleUnit : Variables.unitTextBloodPressure @@ -117,12 +135,12 @@ } RangeSlider { id: _pressureSlider anchors { - top : _pressureRangeBar.top - topMargin: sliderTopMargin - left : _pressureRect.left - leftMargin: _pressureRangeBar.minDiff - right: _pressureRect.right - rightMargin: _pressureRangeBar.maxDiff + top : _pressureRangeBar.top + topMargin : sliderTopMargin + left : _pressureRect.left + leftMargin : _pressureRangeBar.minDiff + right : _pressureRect.right + rightMargin : _pressureRangeBar.maxDiff } height : 5 @@ -148,10 +166,22 @@ color: "white" } + // **** Ranges vvvv minimum : _root.minimum + _pressureRect.minMargin - minValue: _root.lowerBound - maxValue: _root.upperBound + + minValueLowerBound : _root.lowerBoundMin + minValue : _root.lowerBound + minValueUpperBound : _root.lowerBoundMax + + maxValueLowerBound : _root.upperBoundMin + maxValue : _root.upperBound + maxValueUpperBound : _root.upperBoundMax + maximum : _root.maximum - _pressureRect.maxMargin + + gapValue: _root.limitGap + // **** Ranges ^^^^ + unit : Variables.unitTextBloodPressure step : _root.step ticks : _root.ticksVisible