src/objecttypes/conditionaledge.h

Mon, 23 Sep 2019 14:06:36 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 23 Sep 2019 14:06:36 +0300
changeset 4
68988ebc2a68
parent 3
55a55a9ec2c2
child 6
73e448b2943d
permissions
-rw-r--r--

added regular expressions for the parser

#pragma once
#include "edge.h"

namespace modelobjects
{
	class ConditionalEdge;
}

class modelobjects::ConditionalEdge : public Edge
{
public:
	ConditionalEdge() = default;
	ConditionalEdge(
		const Vertex& point_1,
		const Vertex& point_2,
		const Vertex& controlPoint_1,
		const Vertex& controlPoint_2,
		const Color color_index = colors::edge);
	QVariant getProperty(Property property) const override;
	SetPropertyResult setProperty(
		Property property,
		const QVariant& value) override;
private:
	Vertex controlPoint_1 = {};
	Vertex controlPoint_2 = {};
};

mercurial