Index: sources/gui/qml/pages/treatment/TreatmentHeparin.qml =================================================================== diff -u -rc369e34e8864b8b7a7bca07b77f5d3a41701ffbf -r45ce5cd058a8d0239d486e0ab4b057731f7dba76 --- sources/gui/qml/pages/treatment/TreatmentHeparin.qml (.../TreatmentHeparin.qml) (revision c369e34e8864b8b7a7bca07b77f5d3a41701ffbf) +++ sources/gui/qml/pages/treatment/TreatmentHeparin.qml (.../TreatmentHeparin.qml) (revision 45ce5cd058a8d0239d486e0ab4b057731f7dba76) @@ -5,7 +5,7 @@ * 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 BaseComboBox.qml + * \file TreatmentHeparin.qml * \author (last) Nico Ramirez * \date (last) 2-Dec-2025 * \author (original) Nico Ramirez @@ -39,9 +39,9 @@ readonly property bool isTxRunning : vTDTreatmentStates.txDialysis readonly property color heparinColor : _root.deliveryOff ? Colors.transparent : - isDispensing ? Colors.heparinActive : - isPaused ? Colors.heparinPaused : - isCompleted ? Colors.heparinComplete : Colors.transparent + isDispensing ? Colors.statusActive : + isPaused ? Colors.statusPaused : + isCompleted ? Colors.statusComplete : Colors.transparent readonly property bool deliveryOff : vTreatmentCreate.heparinDispensingRate === 0 readonly property string buttonText : isDispensing ? qsTr("Pause") : isPaused ? qsTr("Resume") : qsTr("Pause") @@ -60,7 +60,7 @@ signal idleTimeout() - onHeparinColorChanged : _headerBar.statusColor = heparinColor + onHeparinColorChanged : _headerBar.heparinStatusColor = heparinColor enum HeparinPrescription{ HeparinType, @@ -246,7 +246,7 @@ left : parent.left } text : _root.deliveryOff ? ("%1 : %2").arg(Variables.emptyEntry).arg(Variables.emptyEntry) : _root.timeRemaining - color : _root.deliveryOff ? Colors.white : _root.isPaused ? Colors.heparinPaused : Colors.white + color : _root.deliveryOff ? Colors.white : _root.isPaused ? Colors.statusPaused : Colors.white font.pixelSize : _root.deliveryOff ? Fonts.fontPixelHeparin : Fonts.fontPixelHeparinTime font.weight : Font.DemiBold } @@ -295,7 +295,7 @@ maximum : _root.deliveryOff ? 0 : _root.target value : _root.deliveryOff ? 0 : _root.cumulative unitText : Variables.unitTextFluid - color : _root.isPaused ? Colors.heparinPaused : Colors.progressBarUltrafiltration + color : _root.isPaused ? Colors.statusPaused : Colors.progressBarUltrafiltration radius : height showMarker : false progress.opacity: _root.isPaused ? 0.5 : 1 @@ -320,7 +320,7 @@ } text : ("%1 %2").arg(_root.deliveryOff ? Variables.emptyEntry : _root.cumulative.toFixed(Variables.heparinDeliveryPrecision)).arg(qsTr(Variables.unitTextFluid)) - color : _root.deliveryOff ? Colors.white : _root.isPaused ? Colors.heparinPaused : Colors.white + color : _root.deliveryOff ? Colors.white : _root.isPaused ? Colors.statusPaused : Colors.white font.pixelSize : Fonts.fontPixelHeparin font.weight : Font.DemiBold }