src/linetypes/errorline.h

Wed, 11 Mar 2020 19:05:34 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 11 Mar 2020 19:05:34 +0200
changeset 80
764381756899
parent 77
028798a72591
child 86
4bec0525ef1b
permissions
-rw-r--r--

simplification

#pragma once
#include "object.h"

namespace ldraw
{
	class ErrorLine;
}

class ldraw::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;
	QString text;
	QString message;
};

mercurial