enumtype.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_GUI_DATA_ENUMTYPE_H
2 #define DNAI_MODELS_GUI_DATA_ENUMTYPE_H
3 #include <QJsonArray>
4 #include <QMap>
5 #include "entity.h"
6 
7 namespace dnai
8 {
9  namespace models
10  {
11  namespace gui
12  {
13  namespace data
14  {
15  struct EnumType : Entity
16  {
17  QStringList names;
18  QMap<QString, QString> values;
19  EnumType& operator=(const EnumType& other) = default;
20  };
21  }
22  }
23  }
24 }
25 
26 #endif //DNAI_MODELS_GUI_DATA_ENUMTYPE_H
QStringList names
Definition: enumtype.h:17
Definition: entity.h:15
QMap< QString, QString > values
Definition: enumtype.h:18
EnumType & operator=(const EnumType &other)=default
Definition: api.h:13
Definition: enumtype.h:15