src/objecttypes/comment.h

Sat, 05 Oct 2019 23:47:03 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Oct 2019 23:47:03 +0300
changeset 7
68443f5be176
parent 6
73e448b2943d
child 8
44679e468ba9
permissions
-rw-r--r--

added the settings editor

#pragma once
#include "modelobject.h"

namespace modelobjects
{
	class Comment;
}

class modelobjects::Comment : public BaseObject
{
public:
	Comment() = default;
	Comment(QStringView text);
	QVariant getProperty(Property property) const override;
	SetPropertyResult setProperty(
		Property property,
		const QVariant& value) override;
	QString textRepresentation() const override;
	QFont textRepresentationFont() const override;
private:
	QString storedText = "";
};

mercurial