Sun, 03 Nov 2019 13:18:55 +0200
added matrix conversions and datastream operators
3 | 1 | #pragma once |
2 | #include "modelobject.h" | |
3 | ||
4 | namespace modelobjects | |
5 | { | |
6 | class ErrorLine; | |
7 | } | |
8 | ||
9 | class modelobjects::ErrorLine : public BaseObject | |
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 | }; |