Index: sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentPressuresLimits.qml =================================================================== diff -u -r1aa53e9869f4c27d53dd9052271ca38befbe22e9 -r533c771015857845302bcbc58b411ecef2d6ec79 --- sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentPressuresLimits.qml (.../TreatmentAdjustmentPressuresLimits.qml) (revision 1aa53e9869f4c27d53dd9052271ca38befbe22e9) +++ sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentPressuresLimits.qml (.../TreatmentAdjustmentPressuresLimits.qml) (revision 533c771015857845302bcbc58b411ecef2d6ec79) @@ -35,14 +35,14 @@ property alias arterialPressureUpperBound : _arterialPressure.upperBound property alias arterialPressureMaximum : _arterialPressure.maximum property alias arterialPressureValue : _arterialPressure.value - property real arterialPressureStep : 10 + property real arterialPressureStep : Variables.arterialLimitStep property alias venousPressureMinimum : _venousPressure.minimum property alias venousPressureLowerBound : _venousPressure.lowerBound property alias venousPressureUpperBound : _venousPressure.upperBound property alias venousPressureMaximum : _venousPressure.maximum property alias venousPressureValue : _venousPressure.value - property real venousPressureStep : 10 + property real venousPressureStep : Variables.venousLimitStep readonly property int textWidth : 200 @@ -57,8 +57,13 @@ progressColor : Colors.pressuresArterialBar minimumMargin : Math.abs(Variables.arterialValueMin - Variables.arterialLimitLowMin ) + lowerBoundMin : Variables.arterialLimitLowMin + lowerBoundMax : Variables.arterialLimitLowMax + upperBoundMin : Variables.arterialLimitHighMin + upperBoundMax : Variables.arterialLimitHighMax maximumMargin : Math.abs(Variables.arterialValueMax - Variables.arterialLimitHighMax) - step: arterialPressureStep + limitGap : Variables.arterialLimitGap + step : arterialPressureStep } Line { @@ -73,8 +78,13 @@ progressColor : Colors.pressuresVenousBar minimumMargin : Math.abs(Variables.venousValueMin - Variables.venousLimitLowMin ) + lowerBoundMin : Variables.venousLimitLowMin + lowerBoundMax : Variables.venousLimitLowMax + upperBoundMin : Variables.venousLimitHighMin + upperBoundMax : Variables.venousLimitHighMax maximumMargin : Math.abs(Variables.venousValueMax - Variables.venousLimitHighMax) - step: venousPressureStep + limitGap : Variables.venousLimitGap + step : venousPressureStep } } }