Fri, 06 Mar 2020 16:08:45 +0200
default to XZ
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: | |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
12 | ErrorLine(QStringView text = u"", QStringView message = u""); |
3 | 13 | QVariant getProperty(Property property) const override; |
14 | SetPropertyResult setProperty( | |
15 | Property property, | |
16 | const QVariant& value) override; | |
6 | 17 | QString textRepresentation() const override; |
18 | QBrush textRepresentationForeground() const override; | |
19 | QBrush textRepresentationBackground() const override; | |
3 | 20 | private: |
21 | QString text; | |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
22 | QString message; |
3 | 23 | }; |