src/linetypes/errorline.h

changeset 86
4bec0525ef1b
parent 77
028798a72591
child 132
488d0ba6070b
equal deleted inserted replaced
85:40e2940605a3 86:4bec0525ef1b
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 };

mercurial