src/linetypes/subfilereference.h

Fri, 08 Nov 2019 19:05:07 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 08 Nov 2019 19:05:07 +0200
changeset 16
aeb5f203b3eb
parent 14
20d2ed3af73d
child 18
918b6c0f8b5b
permissions
-rw-r--r--

things

#pragma once
#include "object.h"
#include "matrix.h"

namespace linetypes
{
	class SubfileReference;
}

class linetypes::SubfileReference : public ColoredObject
{
public:
	SubfileReference() = default;
	SubfileReference(
		const Vertex& position,
		const Matrix3x3& transformation,
		const QString &referenceName,
		const Color color = colors::main);
	QVariant getProperty(Property property) const override;
	SetPropertyResult setProperty(Property property, const QVariant& value) override;
	QString textRepresentation() const override;
private:
	Vertex position;
	Matrix3x3 transformation;
	QString referenceName;
};

mercurial