Wed, 09 Mar 2022 14:07:58 +0200
Simplify parsing (removed header parsing)
Removed ldraw::Comment (MetaCommand handles line type 0)
#pragma once #include <QWidget> #include "../main.h" #include "../model.h" #include "polygonobjecteditor.h" class Document; class ObjectEditor : public QWidget { Q_OBJECT public: explicit ObjectEditor(Document* document, ldraw::id_t id = ldraw::NULL_ID); void setObjectId(ldraw::id_t id); private: Document* const document; ldraw::id_t objectId = ldraw::NULL_ID; std::optional<PolygonObjectEditor> polygonEditor; };