/*! * * 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 VTreatmentAdjustmentResponseBase.cpp * \author (last) Behrouz NematiPour * \date (last) 16-Oct-2020 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * */ #include "VTreatmentAdjustmentResponseBase.h" // Project #include "GuiController.h" VIEW_DEF_CLASS(VTreatmentAdjustmentResponseBase) void VTreatmentAdjustmentResponseBase::initConnections() { } /*! * \brief View::VTreatmentAdjustmentResponseBase::text * \details The slot to get the Reason Description * \return Reason description as string */ QString VTreatmentAdjustmentResponseBase::text() { QString text; if (_adjustment_Reason != GuiRequestReasons::REQUEST_REJECT_REASON_NONE) text = Gui::enumString(static_cast(_adjustment_Reason), "[%1] Unknown Error"); return text; }