diff -r 6e838748867b -r 20d2ed3af73d src/linetypes/errorline.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/linetypes/errorline.h Sun Nov 03 18:13:38 2019 +0200 @@ -0,0 +1,23 @@ +#pragma once +#include "object.h" + +namespace linetypes +{ + class ErrorLine; +} + +class linetypes::ErrorLine : public Object +{ +public: + ErrorLine(QStringView text = u"", QStringView message = u""); + QVariant getProperty(Property property) const override; + SetPropertyResult setProperty( + Property property, + const QVariant& value) override; + QString textRepresentation() const override; + QBrush textRepresentationForeground() const override; + QBrush textRepresentationBackground() const override; +private: + QString text; + QString message; +};