Wed, 18 Mar 2020 17:11:23 +0200
added a matrix editing widget
#pragma once #include <QWidget> #include "main.h" #include "../widgets/vec3editor.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::optional<Vec3Editor> vec3Editors[4]; };