diff -r 7b9b85b459de -r 5b7a8f2270ff src/ui/polygonobjecteditor.h --- a/src/ui/polygonobjecteditor.h Sun Mar 13 14:53:14 2022 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#pragma once -#include -#include -#include "main.h" -#include "../widgets/vec3editor.h" - -class Document; - -class PolygonObjectEditor : public QWidget -{ -public: - PolygonObjectEditor(Document* document, ldraw::id_t id); - ~PolygonObjectEditor(); - ldraw::id_t objectId() const; - void setObjectId(ldraw::id_t id); - void clear(); -private: - void buildWidgets(); - void setupPointWidget(int n); - Q_SLOT void pointChanged(const glm::vec3& value); - Document* document; - ldraw::id_t storedObjectId; - std::vector> widgets; - std::optional splitter; - class QFormLayout* formLayout = nullptr; -};