Sat, 17 Mar 2018 23:59:15 +0200
Added vertex object editing dialog
#pragma once #include <QDialog> #include "../main.h" class VertexObjectEditor : public QDialog { Q_OBJECT public: VertexObjectEditor(LDObject* object = nullptr, QWidget* parent = nullptr); ~VertexObjectEditor(); void accept() override; private: class QDoubleSpinBox* spinboxAt(int i, Axis axis); void setColorButton(LDColor color); class Ui_VertexObjectEditor& ui; class QGridLayout* vertexGrid; LDObject* const object; LDColor currentColor; };