src/linetypes/errorline.h

Wed, 22 Jan 2020 00:23:29 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 22 Jan 2020 00:23:29 +0200
changeset 26
3a9e761e4faa
parent 14
20d2ed3af73d
child 35
98906a94732f
permissions
-rw-r--r--

at least VAOs work now

#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;
};

mercurial