/*! * * Copyright (c) 2019-2020 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 vtreatmentadjustmentultrafiltrationstate.h * \author (last) Behrouz NemaiPour * \date (last) 09-Jun-2020 * \author (original) Behrouz NemaiPour * \date (original) 09-Jun-2020 * */ #pragma once #include // Project #include "vtreatmentadjustmentresponsebase.h" namespace View { class VTreatmentAdjustmentUltrafiltrationState : public VTreatmentAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; AdjustUltrafiltrationStateRequestData _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) // coco end PROPERTY( bool , isPaused , false) VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentUltrafiltrationState, AdjustUltrafiltrationStateResponseData) // ---------- Puase Ultrafiltration public slots: void doPause (); void doResume(); QString text(); signals: void didAdjustment(const AdjustUltrafiltrationStateRequestData &vData); }; }