Mon, 23 Sep 2019 14:06:36 +0300
added regular expressions for the parser
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 | } |