src/objecttypes/errorline.h

changeset 8
44679e468ba9
parent 6
73e448b2943d
child 13
6e838748867b
equal deleted inserted replaced
7:68443f5be176 8:44679e468ba9
7 } 7 }
8 8
9 class modelobjects::ErrorLine : public BaseObject 9 class modelobjects::ErrorLine : public BaseObject
10 { 10 {
11 public: 11 public:
12 ErrorLine(QStringView text = u""); 12 ErrorLine(QStringView text = u"", QStringView message = u"");
13 QVariant getProperty(Property property) const override; 13 QVariant getProperty(Property property) const override;
14 SetPropertyResult setProperty( 14 SetPropertyResult setProperty(
15 Property property, 15 Property property,
16 const QVariant& value) override; 16 const QVariant& value) override;
17 QString textRepresentation() const override; 17 QString textRepresentation() const override;
18 QBrush textRepresentationForeground() const override; 18 QBrush textRepresentationForeground() const override;
19 QBrush textRepresentationBackground() const override; 19 QBrush textRepresentationBackground() const override;
20 private: 20 private:
21 QString text; 21 QString text;
22 QString message;
22 }; 23 };

mercurial