From d9ec25d1bcea4e45d1965e95bb3099c3864e04a0 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Sun, 12 Apr 2020 16:43:44 +0100 Subject: parsing and outputting complex paths --- src/data/edge.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/data/edge.h') diff --git a/src/data/edge.h b/src/data/edge.h index 954145f..ad21f36 100644 --- a/src/data/edge.h +++ b/src/data/edge.h @@ -27,6 +27,8 @@ #include "node.h" #include "style.h" +class Path; + #include #include @@ -92,12 +94,15 @@ public: void setStyleName(const QString & styleName); Style *style() const; + Path *path() const; + void setPath(Path *path); + signals: public slots: private: - QPointF bezierTangent(qreal start, qreal end) const; + QPointF bezierTangent(qreal start, qreal end) const; QString _sourceAnchor; QString _targetAnchor; @@ -108,6 +113,7 @@ private: // referenced Node *_source; Node *_target; + Path *_path; Style *_style; -- cgit v1.2.3