Sat, 14 Dec 2019 23:00:01 +0200
fixed build
3 | 1 | #pragma once |
14 | 2 | #include "object.h" |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
3 | #include "matrix.h" |
3 | 4 | |
13 | 5 | namespace linetypes |
3 | 6 | { |
7 | class SubfileReference; | |
8 | } | |
9 | ||
13 | 10 | class linetypes::SubfileReference : public ColoredObject |
3 | 11 | { |
12 | public: | |
13 | SubfileReference() = default; | |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
14 | SubfileReference( |
18 | 15 | const Point3D& position, |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
16 | const Matrix3x3& transformation, |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
17 | const QString &referenceName, |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
18 | const Color color = colors::main); |
3 | 19 | QVariant getProperty(Property property) const override; |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
20 | SetPropertyResult setProperty(Property property, const QVariant& value) override; |
6 | 21 | QString textRepresentation() const override; |
3 | 22 | private: |
18 | 23 | Point3D position; |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
24 | Matrix3x3 transformation; |
3 | 25 | QString referenceName; |
26 | }; |