src/objecttypes/subfilereference.h

changeset 14
20d2ed3af73d
parent 13
6e838748867b
child 15
9e18ec63eec3
equal deleted inserted replaced
13:6e838748867b 14:20d2ed3af73d
1 #pragma once
2 #include "modelobject.h"
3 #include "matrix.h"
4
5 namespace linetypes
6 {
7 class SubfileReference;
8 }
9
10 class linetypes::SubfileReference : public ColoredObject
11 {
12 public:
13 SubfileReference() = default;
14 SubfileReference(
15 const Vertex& position,
16 const Matrix3x3& transformation,
17 const QString &referenceName,
18 const Color color = colors::main);
19 QVariant getProperty(Property property) const override;
20 SetPropertyResult setProperty(Property property, const QVariant& value) override;
21 QString textRepresentation() const override;
22 private:
23 Vertex position;
24 Matrix3x3 transformation;
25 QString referenceName;
26 };

mercurial