Index: sources/gui/qml/globals/Variables.qml =================================================================== diff -u -r77ba0083b790f7c1c851c60ecaeaa4f2e7eff7a8 -rea51c0546c7061d225e7b9d8b754554c65f0d1b1 --- sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision 77ba0083b790f7c1c851c60ecaeaa4f2e7eff7a8) +++ sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision ea51c0546c7061d225e7b9d8b754554c65f0d1b1) @@ -24,18 +24,20 @@ */ QtObject { readonly property int keybardAnimationDuration : 200 + readonly property int defaultAnimationDuration : 250 readonly property int applicationWidth : 1920 //// ----- @LEAHIZED readonly property int applicationHeight : 1080 //// ----- @LEAHIZED + readonly property int screenContentHeight : applicationHeight - notificationHeight readonly property int buttonSpacing : 150 readonly property int dialogIconHeight : 50 readonly property int dialogIconWidth : 50 readonly property int dialogIconHorizontalOffset : 25 - readonly property int headerHeight : 100 + readonly property int headerHeight : 80 readonly property int headerButtonsMargin : 35 readonly property int confirmButtonWidth : 155 readonly property int headerBarDateTimeWidth : 200 - readonly property int defaultMargin : 20 + readonly property int defaultMargin : 20 // NEVER CHANGE readonly property int contentHeight : 50 readonly property int mainMenuHeight : 80 //// ----- @LEAHIZED @@ -131,6 +133,8 @@ readonly property int createTreatmentSwitchYDisplacement : 15 readonly property int treatmentFlowsComponentWidth : 150 + readonly property int treatmentPressureTitleWidth : 125 + readonly property int treatmentPressureValueWidth : 140 readonly property int ultrafiltrationProgressbarWidth : 880 readonly property int ultrafiltrationAdjustmtenOptionWidth : 520 @@ -206,6 +210,7 @@ // Dialysate flow rate readonly property int dialysateFlowResolution : 50 // PRS 345 + readonly property int dialysateFlowPrecision : 0 // duration readonly property int durationResolution : 15 // PRS346 @@ -224,6 +229,9 @@ // Dialysate Temperature readonly property int dialysateTempPrecision : 1 + // Dialysate Conductivity + readonly property int dialysateCondPrecision : 1 + function sizeConverted(vSize, vSizePowers, vRound = 2) { return ( vSize / vSizePowers // convert from byte to Giga byte