Index: sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp =================================================================== diff -u -reaf21ffe52c818b4c8abdb2084582ada9dc78ceb -r86e9dfbff50cb7e16fd94c16c1c818cef3b47eac --- sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision eaf21ffe52c818b4c8abdb2084582ada9dc78ceb) +++ sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision 86e9dfbff50cb7e16fd94c16c1c818cef3b47eac) @@ -7,7 +7,7 @@ * * \file VPostTreatmentAdjustTreatmentLog.cpp * \author (last) Behrouz NematiPour - * \date (last) 01-Mar-2022 + * \date (last) 18-Mar-2022 * \author (original) Behrouz NematiPour * \date (original) 11-Apr-2021 * @@ -20,7 +20,7 @@ // Project #include "GuiController.h" -#include "FileHandler.h" +//#include "FileHandler.h" using namespace Storage; @@ -38,7 +38,13 @@ ACTION_VIEW_CONNECTION(TreatmentLogEventData); connect(&_TreatmentLog , &TreatmentLog::isIdleNotified, - this , [=](bool vIdle){isIdle(vIdle);}); + [=](bool vIdle) { isIdle(vIdle); } ); + + connect(&_TreatmentLog , &TreatmentLog::didTxCodeReceive, + [=](const QString &vTxCode) { txCode( vTxCode ); } ); + + connect(&_TreatmentLog , &TreatmentLog::didNotification, + [=](const QString &vNotification) { notification(vNotification); } ); } /*! @@ -68,15 +74,13 @@ adjustment_Accepted ( vData.mAccepted ); adjustment_Reason ( vData.mReason ); - _TreatmentLog.initModel (vData, _patientID.trimmed() ); + _TreatmentLog.initModel ( vData, _patientID.trimmed() ); if ( vData.mAccepted ) { parametersText ( _TreatmentLog.values() ); } else { parametersText ( {} ); } - - // raw values bloodFlowRate ( vData.mBloodFlowRate ); dialysateFlowRate ( vData.mDialysateFlowRate );