You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/CFDStruct/CUIProperty/CUIConfig.h

35 lines
733 B
C

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