Thu, 03 Oct 2019 23:44:28 +0300
language support
| 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 | } |