Fri, 17 Sep 2021 22:38:53 +0300
Add missing changes to canvas.h
3 | 1 | #pragma once |
14 | 2 | #include "object.h" |
3 | 3 | |
35
98906a94732f
renamed the linetypes namespace to ldraw namespace and added more structures to it
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
4 | namespace ldraw |
3 | 5 | { |
6 | class ErrorLine; | |
7 | } | |
8 | ||
35
98906a94732f
renamed the linetypes namespace to ldraw namespace and added more structures to it
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
9 | class ldraw::ErrorLine : public Object |
3 | 10 | { |
11 | public: | |
86
4bec0525ef1b
PolygonObjectEditor can now modify the object properly
Teemu Piippo <teemu@hecknology.net>
parents:
77
diff
changeset
|
12 | using BaseClass = Object; |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
13 | ErrorLine(QStringView text = u"", QStringView message = u""); |
3 | 14 | QVariant getProperty(Property property) const override; |
6 | 15 | QString textRepresentation() const override; |
16 | QBrush textRepresentationForeground() const override; | |
17 | QBrush textRepresentationBackground() const override; | |
3 | 18 | QString text; |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
19 | QString message; |
86
4bec0525ef1b
PolygonObjectEditor can now modify the object properly
Teemu Piippo <teemu@hecknology.net>
parents:
77
diff
changeset
|
20 | protected: |
4bec0525ef1b
PolygonObjectEditor can now modify the object properly
Teemu Piippo <teemu@hecknology.net>
parents:
77
diff
changeset
|
21 | void setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) override; |
3 | 22 | }; |