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 }; |
|