#pragma once #include // Project #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MTreatmentAdjustAutoSubResponse.h" namespace View { /*! * \brief The VTreatmentAdjustmentAutoSub class * \details View for Model's Data representation. * * \sa Model::MTreatmentAdjustAutoSubResponse * */ class VTreatmentAdjustmentAutoSub : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; // 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) VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentAutoSub, AdjustAutoSubResponseData) public slots: void doAdjustment (int state); signals: void didAdjustment(const AdjustAutoSubRequestData &vData); }; }