Sun, 22 Sep 2019 11:51:41 +0300
Added lots of code
3 | 1 | #include "subfilereference.h" |
2 | ||
3 | QVariant modelobjects::SubfileReference::getProperty(Property property) const | |
4 | { | |
5 | switch (property) | |
6 | { | |
7 | case Property::Position: | |
8 | return this->position; | |
9 | case Property::Transformation: | |
10 | return QVariant::fromValue(this->transformation); | |
11 | case Property::ReferenceName: | |
12 | return this->referenceName; | |
13 | default: | |
14 | return ColoredBaseObject::getProperty(property); | |
15 | } | |
16 | } |