Sun, 22 Sep 2019 11:51:41 +0300
Added lots of code
3 | 1 | #include "modeleditcontext.h" |
2 | ||
3 | Model::EditContext::EditContext(Model& model) : | |
4 | model{model} | |
5 | { | |
6 | } | |
7 | ||
8 | void Model::EditContext::setObjectProperty( | |
9 | modelobjects::BaseObject* object, | |
10 | modelobjects::Property property, | |
11 | const QVariant& value) | |
12 | { | |
13 | object->setProperty(property, value); | |
14 | } |