#pragma once #include // Project #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MTreatmentAdjustHDFResponse.h" namespace View { /*! * \brief The VTreatmentAdjustmentHDF class * \details View for Model's Data representation. * * \sa Model::MAdjustHDFResponse * */ class VTreatmentAdjustmentHDF : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; AdjustHDFRequestData _data; // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI TRIGGER( bool , adjustment , 0) TRIGGER(quint32 , treatmentModeRejectionReason , 0) TRIGGER(quint32 , prescSubVolumeRejectionReason , 0) VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentHDF, AdjustHDFResponseData) public slots: void doAdjustment(const quint32 vTreatmentMode , const float vSubFluidVolume ); signals: /*! * \brief didAdjustment * \details the notification signal to adjust the fluid bolus volume * \param vData - data model for the fluid bolus volume adjustment request */ void didAdjustment(const AdjustHDFRequestData &vData); }; }