src/linetypes/errorline.h

changeset 14
20d2ed3af73d
parent 13
6e838748867b
child 35
98906a94732f
equal deleted inserted replaced
13:6e838748867b 14:20d2ed3af73d
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 };

mercurial