Tue, 17 Mar 2020 23:13:47 +0200
added doublespinbox
#pragma once #include <QWidget> #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<std::unique_ptr<class Vec3Editor>> vec3Editors; };