Index: sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml =================================================================== diff -u -r88563177f10f20ced98750b2e40036201728131d -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 88563177f10f20ced98750b2e40036201728131d) +++ sources/gui/qml/pages/treatment/TreatmentBloodPrime.qml (.../TreatmentBloodPrime.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file TreatmentBloodPrime.qml * \author (last) Behrouz NematiPour - * \date (last) 09-Feb-2021 + * \date (last) 13-Sep-2023 * \author (original) Behrouz NematiPour - * \date (original) 29-Jan-2021 + * \date (original) 11-Apr-2021 * */ @@ -20,6 +20,7 @@ // Qml imports import "qrc:/globals" import "qrc:/components" +import "qrc:/pages/treatment/sections" /*! * \brief the in-treatment Blood Prime screen @@ -33,7 +34,7 @@ topMargin: 65 horizontalCenter: parent.horizontalCenter } - color: "white" + color: Colors.textMain text: qsTr("Blood Priming") font.pixelSize: Fonts.fontPixelTitle } @@ -47,14 +48,39 @@ Text { id: _textVolume anchors.centerIn: parent - color: "white" + color: Colors.textMain text: vTreatmentBloodPrime.current.toFixed(0) + " " + qsTr(Variables.unitTextFluid) font.pixelSize: 76 font.weight: Font.ExtraLight + } + Text { id: _labelRate + anchors { + top: parent.bottom + topMargin: 20 + horizontalCenter: parent.horizontalCenter + } + color: Colors.textMain + text: vTreatmentBloodFlow.bloodFlow_FlowSetPoint.toFixed(0) + " " + qsTr(Variables.unitTextFlowRate) + font.pixelSize: 23 } } + TreatmentPressures { id: _pressuresTouchArea + // maybe now it makes sense for the ranges to be displayed + // arterialLowerBound : 0 // requested to hide the bounds + // arterialUpperBound : 0 // requested to hide the bounds + // venousLowerBound : 0 // requested to hide the bounds + // venousUpperBound : 0 // requested to hide the bounds + + isTouchable : false + x : Variables.screenGridLeftColumnX + y : Variables.screenGridRow1Y + width : Variables.screenGridAreaWidth + height : Variables.screenGridAreaHeightRow1 + } + Line { x: 0; y: Variables.screenGridRow1LineY; length: Variables.screenGridLineLength } + onVisibleChanged: { if (visible) { _mainMenu.hidden = true