Sat, 14 Dec 2019 23:00:01 +0200
fixed build
3 | 1 | #pragma once |
14 | 2 | #include "object.h" |
3 | 3 | |
13 | 4 | namespace linetypes |
3 | 5 | { |
6 | class ErrorLine; | |
7 | } | |
8 | ||
13 | 9 | class linetypes::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 | }; |