Sun, 03 Nov 2019 18:09:47 +0200
renamings
3 | 1 | #pragma once |
2 | #include "modelobject.h" | |
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 | }; |