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