7 } |
7 } |
8 |
8 |
9 class ldraw::ErrorLine : public Object |
9 class ldraw::ErrorLine : public Object |
10 { |
10 { |
11 public: |
11 public: |
|
12 using BaseClass = Object; |
12 ErrorLine(QStringView text = u"", QStringView message = u""); |
13 ErrorLine(QStringView text = u"", QStringView message = u""); |
13 QVariant getProperty(Property property) const override; |
14 QVariant getProperty(Property property) const override; |
14 SetPropertyResult setProperty( |
|
15 Property property, |
|
16 const QVariant& value) override; |
|
17 QString textRepresentation() const override; |
15 QString textRepresentation() const override; |
18 QBrush textRepresentationForeground() const override; |
16 QBrush textRepresentationForeground() const override; |
19 QBrush textRepresentationBackground() const override; |
17 QBrush textRepresentationBackground() const override; |
20 QString text; |
18 QString text; |
21 QString message; |
19 QString message; |
|
20 protected: |
|
21 void setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) override; |
22 }; |
22 }; |