/*! * * 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) 13-Aug-2020 * \author (original) Behrouz NematiPour * \date (original) 13-Aug-2020 * */ #pragma once // Qt #include // Project #include "MModel.h" #include "vview.h" #include "guiglobals.h" // namespace using namespace Gui; namespace View { class VHDOperationMode : public QObject { Q_OBJECT PROPERTY( quint32 , opMode , 0) VIEW_DEC(VHDOperationMode, HDOperationModeData) Q_PROPERTY(QString text READ text NOTIFY opModeChanged) private: QString opModeText(GuiHDOpModes vEnum); public slots: QString text(); }; }