Index: sources/view/hd/adjustment/VTreatmentAdjustmentDuration.h =================================================================== diff -u -r00d9bb06ec2bad14f6dc2db678b750c244f694ef -rc503f43840024e18650c1ac558448dd0f3b70427 --- sources/view/hd/adjustment/VTreatmentAdjustmentDuration.h (.../VTreatmentAdjustmentDuration.h) (revision 00d9bb06ec2bad14f6dc2db678b750c244f694ef) +++ sources/view/hd/adjustment/VTreatmentAdjustmentDuration.h (.../VTreatmentAdjustmentDuration.h) (revision c503f43840024e18650c1ac558448dd0f3b70427) @@ -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 vtreatmentadjustmentduration.h + * \file VTreatmentAdjustmentDuration.h * \author (last) Behrouz NemaiPour * \date (last) 12-Jun-2020 * \author (original) Behrouz NematiPour @@ -17,6 +17,9 @@ #include // Project +#include "main.h" // Doxygen : don't remove +#include "MModel.h" +#include "VView.h" #include "VTreatmentAdjustmentResponseBase.h" namespace View { @@ -30,21 +33,23 @@ AdjustDurationRequestData _data; + // coco begin validated: // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI // has been manually tested that it works perfectly fine - TRIGGER( bool , adjustment , 0); + TRIGGER( bool , adjustment , 0) // coco end // Treatment Duration data - PROPERTY( quint32 , duration , 0); - PROPERTY( float , ultrafiltration , 0); + PROPERTY( quint32 , duration , 0) + PROPERTY( float , ultrafiltration , 0) VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentDuration, AdjustDurationResponseData) -public slots: + // ----- Adjust Duration +public slots: void doAdjustment(quint32 vDuration) { _data.duration = vDuration; emit didAdjustment(_data);