--- a/src/ui/polygonobjecteditor.h Mon May 11 12:18:04 2020 +0300 +++ b/src/ui/polygonobjecteditor.h Mon May 11 12:18:59 2020 +0300 @@ -13,9 +13,11 @@ ldraw::id_t objectId() const; void setObjectId(ldraw::id_t id); private: - Q_SLOT void vectorChanged(const glm::vec3& value); - void updateNumRows(); + void buildWidgets(); + void setupPointWidget(int n); + Q_SLOT void pointChanged(const glm::vec3& value); Model* model; ldraw::id_t storedObjectId; - std::optional<Vec3Editor> vec3Editors[4]; + std::vector<std::unique_ptr<QWidget>> widgets; + std::optional<class QSplitter> splitter; };