Mon, 11 May 2020 12:18:04 +0300
finetuning in multiplyfactordialog
#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: Q_SLOT void vectorChanged(const glm::vec3& value); void updateNumRows(); Model* model; ldraw::id_t storedObjectId; std::optional<Vec3Editor> vec3Editors[4]; };