Sun, 03 Nov 2019 18:17:08 +0200
split quadrilateral and triangle into their own source files
#include "modeleditcontext.h" Model::EditContext::EditContext(Model& model) : model{model} { } void Model::EditContext::append(std::unique_ptr<linetypes::Object>&& object) { this->model.append(std::move(object)); } void Model::EditContext::setObjectProperty( linetypes::Object* object, linetypes::Property property, const QVariant& value) { object->setProperty(property, value); }