/*! * * 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 VHDOperationModeData.h * \author (last) Behrouz NematiPour * \date (last) 08-Sep-2020 * \author (original) Behrouz NematiPour * \date (original) 13-Aug-2020 * */ #pragma once // Qt #include // Project #include "main.h" // Doxygen : don't remove #include "MModel.h" #include "VView.h" #include "GuiGlobals.h" // namespace using namespace Gui; namespace View { /*! * \brief The VHDOperationMode class * \details View for Model's data representation. * * \sa Model::MHDOperationMode * */ class VHDOperationMode : public QObject { Q_OBJECT PROPERTY( quint32 , opMode , 0) Q_PROPERTY(QString text READ text NOTIFY opModeChanged) VIEW_DEC(VHDOperationMode, HDOperationModeData) private: QString opModeText(GuiHDOpModes vEnum); public slots: QString text(); }; }