src/modeleditcontext.cpp@68443f5be176
src/modeleditcontext.cpp
Sat, 05 Oct 2019 23:47:03 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Sat, 05 Oct 2019 23:47:03 +0300
- changeset 7
- 68443f5be176
- parent 3
-
55a55a9ec2c2
- child 8
-
44679e468ba9
- permissions
- -rw-r--r--
added the settings editor
#include "modeleditcontext.h"
Model::EditContext::EditContext(Model& model) :
model{model}
{
}
void Model::EditContext::setObjectProperty(
modelobjects::BaseObject* object,
modelobjects::Property property,
const QVariant& value)
{
object->setProperty(property, value);
}