Index: sources/gui/qml/main.qml =================================================================== diff -u -rd949be21f2a9badd0978dddaaf436f6805de28dc -r7fe4da5003605202da8bd782f1827deb3dac0e32 --- sources/gui/qml/main.qml (.../main.qml) (revision d949be21f2a9badd0978dddaaf436f6805de28dc) +++ sources/gui/qml/main.qml (.../main.qml) (revision 7fe4da5003605202da8bd782f1827deb3dac0e32) @@ -334,7 +334,23 @@ font.pixelSize: 14 } + Text { // TEST : The treatment vital dialog countdown time + color : Colors.textMain + anchors { + top : parent.top + right : _testDateTime.left + rightMargin : 50 + } + horizontalAlignment : Text.Alignleft + verticalAlignment : Text.AlignBottom + + height : 15 + text : "Vital Timer: " + vTreatmentVitals.debug_min_left + " : " + vTreatmentVitals.debug_sec_left + font.pixelSize: 14 + } + Text { // TEST : Current Date/Time + id: _testDateTime color : Colors.textMain anchors { top : parent.top Index: sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp =================================================================== diff -u -ra6586ea871f21a08e7d50552983360fb5e344b3a -r7fe4da5003605202da8bd782f1827deb3dac0e32 --- sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp (.../VCommonAdjustmentVitals.cpp) (revision a6586ea871f21a08e7d50552983360fb5e344b3a) +++ sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp (.../VCommonAdjustmentVitals.cpp) (revision 7fe4da5003605202da8bd782f1827deb3dac0e32) @@ -176,6 +176,10 @@ // DEBUG: qDebug() << __FUNCTION__ << _counter_sec << _counter_min << _interval << _timerId; _counter_sec++; + + debug_min_left(_counter_min ); + debug_sec_left(60 - _counter_sec); + if ( _counter_sec % 60 ) return; // only check every minute if ( ! _counter_min ) { @@ -186,6 +190,8 @@ _counter_min--; _counter_sec = 0; } + + } void View::VTreatmentVitals::onIntervalChanged() Index: sources/view/hd/adjustment/common/VCommonAdjustmentVitals.h =================================================================== diff -u -ra6586ea871f21a08e7d50552983360fb5e344b3a -r7fe4da5003605202da8bd782f1827deb3dac0e32 --- sources/view/hd/adjustment/common/VCommonAdjustmentVitals.h (.../VCommonAdjustmentVitals.h) (revision a6586ea871f21a08e7d50552983360fb5e344b3a) +++ sources/view/hd/adjustment/common/VCommonAdjustmentVitals.h (.../VCommonAdjustmentVitals.h) (revision 7fe4da5003605202da8bd782f1827deb3dac0e32) @@ -74,6 +74,10 @@ PROPERTY( quint16 , diastolic_rt , 0) PROPERTY( quint16 , heartRate_rt , 0) + // For Debugging purposes + PROPERTY( quint8 , debug_min_left , 0) + PROPERTY( quint8 , debug_sec_left , 0) + VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentVitals, UIBloodPressureData) void update (quint16 vSystolic, quint16 vDiastolic, quint16 vHeartRate);