4 #include "modeleditcontext.h" |
4 #include "modeleditcontext.h" |
5 #include "widgets/vec3editor.h" |
5 #include "widgets/vec3editor.h" |
6 #include "ui/polygonobjecteditor.h" |
6 #include "ui/polygonobjecteditor.h" |
7 |
7 |
8 static constexpr char INDEX_NAME[] = "_ldforge_index"; |
8 static constexpr char INDEX_NAME[] = "_ldforge_index"; |
9 static constexpr char PROPERTY_NAME[] = "_ldforge_property"; |
|
10 static constexpr char OBJECT_ID_NAME[] = "_ldforge_id"; |
|
11 static constexpr char LABEL_NAME[] = "_ldforge_label"; |
9 static constexpr char LABEL_NAME[] = "_ldforge_label"; |
12 |
10 |
13 PolygonObjectEditor::PolygonObjectEditor(Model* model, ldraw::id_t id, QWidget* parent) : |
11 PolygonObjectEditor::PolygonObjectEditor(Model* model, ldraw::id_t id, QWidget* parent) : |
14 QWidget{parent}, |
12 QWidget{parent}, |
15 model{model}, |
13 model{model}, |