Index: sources/gui/qml/pages/treatment/sections/TreatmentVitals.qml =================================================================== diff -u -ref73f9495cfa958bde5ba4208fe665ab8c612af7 -rbd12a330df798024c3de30f727058d971dfc2cbe --- sources/gui/qml/pages/treatment/sections/TreatmentVitals.qml (.../TreatmentVitals.qml) (revision ef73f9495cfa958bde5ba4208fe665ab8c612af7) +++ sources/gui/qml/pages/treatment/sections/TreatmentVitals.qml (.../TreatmentVitals.qml) (revision bd12a330df798024c3de30f727058d971dfc2cbe) @@ -26,9 +26,12 @@ * \brief Treatment Screen Vitals section */ TouchArea { id: _root - readonly property string bloodSDSeparator: " / " + readonly property string bloodSDSeparator : " / " + readonly property int dryDemoSystolicMMHGDef : 140 + readonly property int dryDemoDiastolicMMHGDef : 90 + readonly property int dryDemoHearRateBPMDef : 80 - readonly property string systolic : Variables.notSetVariable(vTreatmentVitals.systolic, 2) + readonly property string systolic : Variables.notSetVariable(vTreatmentVitals.systolic, 2) readonly property string diastolic : Variables.notSetVariable(vTreatmentVitals.diastolic, 2) readonly property string heartRate : Variables.notSetVariable(vTreatmentVitals.heartRate, 2) @@ -44,15 +47,15 @@ labelFont.pixelSize: Fonts.fontPixelVitals labelFont.weight: Font.ExtraLight labelAutoSize: true - label: (_GuiView.dryDemoMode && systolic == "__" ? 140 : systolic) + bloodSDSeparator + (_GuiView.dryDemoMode && diastolic == "__" ? 90 : diastolic) + label: (_GuiView.dryDemoMode && systolic == "__" ? _root.dryDemoSystolicMMHGDef : systolic) + bloodSDSeparator + (_GuiView.dryDemoMode && diastolic == "__" ? _root.dryDemoDiastolicMMHGDef : diastolic) extra: Variables.unitTextBloodPressure } TextRect { id: _heartBeat labelHeight: 40 labelFont.pixelSize: Fonts.fontPixelVitals labelFont.weight: Font.ExtraLight labelAutoSize: true - label: (_GuiView.dryDemoMode && heartRate == "__" ? 80 : heartRate) + label: (_GuiView.dryDemoMode && heartRate == "__" ? _root.dryDemoHearRateBPMDef : heartRate) extra: Variables.unitTextHeartBeat } }