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.
25 lines
461 B
C
25 lines
461 B
C
3 weeks ago
|
#ifndef CUICONFIG_H
|
||
|
#define CUICONFIG_H
|
||
|
|
||
|
#include<QString>
|
||
|
#include<QMap>
|
||
|
|
||
|
class CUIConfig
|
||
|
{
|
||
|
public:
|
||
|
CUIConfig(QMap<QString,QString> property);
|
||
|
CUIConfig(QMap<QString,QString> property,QVector<CUIConfig*> sub);
|
||
|
void printConfig();
|
||
|
QMap<QString,QString> property;
|
||
|
QVector<CUIConfig*> sub;
|
||
|
|
||
|
static int labelMinWidth;
|
||
|
private:
|
||
|
// QString p;
|
||
|
void setDefault();
|
||
|
void setDefault(QString key,QString val);
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // CUICONFIG_H
|