entity.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_GUI_DATA_ENTITY_H
2 #define DNAI_MODELS_GUI_DATA_ENTITY_H
3 
4 #include <QString>
5 #include <QUuid>
6 
7 namespace dnai
8 {
9  namespace models
10  {
11  namespace gui
12  {
13  namespace data
14  {
15  struct Entity
16  {
17  int index = 0;
18  QUuid listIndex;
19  QString description;
20  bool expanded = false;
21 
22  Entity& operator=(const Entity& other) = default;
23  bool operator!=(const Entity& other) const;
24  bool operator==(const Entity& other) const;
25  };
26  }
27  }
28  }
29 }
30 
31 #endif //DNAI_MODELS_GUI_DATA_ENTITY_H
QUuid listIndex
Definition: entity.h:18
QString description
Definition: entity.h:19
Definition: entity.h:15
bool operator==(const Entity &other) const
Definition: entity.cpp:15
int index
Definition: entity.h:17
bool operator!=(const Entity &other) const
Definition: entity.cpp:10
bool expanded
Definition: entity.h:20
Definition: api.h:13
Entity & operator=(const Entity &other)=default