diff -r 764381756899 -r 62373840e33a src/ui/polygonobjecteditor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ui/polygonobjecteditor.h Tue Mar 17 23:13:29 2020 +0200 @@ -0,0 +1,19 @@ +#pragma once +#include +#include "main.h" + +class Model; + +class PolygonObjectEditor : public QWidget +{ +public: + PolygonObjectEditor(Model* model, ldraw::id_t id, QWidget* parent = nullptr); + ~PolygonObjectEditor(); + ldraw::id_t objectId() const; + void setObjectId(ldraw::id_t id); +private: + void updateNumRows(); + Model* model; + ldraw::id_t storedObjectId; + std::vector> vec3Editors; +};