/*! * * Copyright (c) 2021-2025 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 VTreatmentAdjustmentSetPoints.h * \author (last) Stephen Quong * \date (last) 15-Nov-2025 * \author (original) Stephen Quong * \date (original) 15-Nov-2025 * */ #pragma once #include // Project #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MTreatmentAdjustSetPointsResponse.h" namespace View { /*! * \brief The VTreatmentAdjustmentSetPoints class * \details View for Model's Data representation. * * \sa Model::MAdjustSetPointsResponse * */ class VTreatmentAdjustmentSetPoints : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; AdjustSetPointsRequestData _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 ) VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentSetPoints, AdjustSetPointsResponseData) public slots: void doAdjustment(const quint32 vBloodFlowRate, const quint32 vDialysateFlowRate, const float vDialysateTemperature, const quint32 vAcidConcentrate, const quint32 vBicarbConcentrate); 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 AdjustSetPointsRequestData &vData); }; }