|
1 #pragma once |
|
2 #include "object.h" |
|
3 |
|
4 namespace linetypes |
|
5 { |
|
6 class ErrorLine; |
|
7 } |
|
8 |
|
9 class linetypes::ErrorLine : public Object |
|
10 { |
|
11 public: |
|
12 ErrorLine(QStringView text = u"", QStringView message = u""); |
|
13 QVariant getProperty(Property property) const override; |
|
14 SetPropertyResult setProperty( |
|
15 Property property, |
|
16 const QVariant& value) override; |
|
17 QString textRepresentation() const override; |
|
18 QBrush textRepresentationForeground() const override; |
|
19 QBrush textRepresentationBackground() const override; |
|
20 private: |
|
21 QString text; |
|
22 QString message; |
|
23 }; |