#ifndef CUICONFIG_H #define CUICONFIG_H #include "CUIPropertyAPI.h" #include #include #include class CUISigsCenter; class CUIPropertyAPI CUIConfig { public: CUIConfig(QMap temp); CUIConfig(QMap temp, QVector sub); void printConfig(); void setValue(QVariant); QString getPropertyValue(QString); QVariant getPropertyOriginValue(QString); QVector getSub(); private: void setDefault(); void setDefault(QString key, QVariant val); private: QMap property; QVector sub; static int labelMinWidth; CUISigsCenter *m_sigsCenter = nullptr; }; #endif // CUICONFIG_H