/*! * * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * 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 VPreTreatmentAdjustmentUltrafiltrationInit.h * \author (last) Behrouz NematiPour * \date (last) 18-Apr-2022 * \author (original) Behrouz NematiPour * \date (original) 11-Apr-2021 * */ #pragma once #include // Project #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MPreTreatmentAdjustUltrafiltrationInitResponse.h" namespace View { /*! * \brief The VPreTreatmentAdjustmentUltrafiltrationInit class * \details View for Model's Data representation. * * \sa Model::MAdjustUltrafiltrationInitResponse * */ class VPreTreatmentAdjustmentUltrafiltrationInit : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; AdjustUltrafiltrationInitRequestData _data; // disabled 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) // disabled coco end // Treatment Ultrafiltration data PROPERTY( float , volume , 0) VIEW_DEC_CLASS_ADJUSTMENT(VPreTreatmentAdjustmentUltrafiltrationInit, AdjustUltrafiltrationInitResponseData) // ----------- Adjust Ultrafiltration public slots: void doAdjustment(float vVolume); signals: /*! * \brief didAdjustment * \details the notification signal to adjust the treatment ultrafiltration volume * \param vData - data model for edit the treatment ultrafiltration volume adjustment request */ void didAdjustment(const AdjustUltrafiltrationInitRequestData &vData); }; }