From 6a484c615ae3f04873fe41a415277ef6c2c37573 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 17 Dec 2020 15:43:37 +0100 Subject: WIP --- sqlitebackend.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sqlitebackend.h') diff --git a/sqlitebackend.h b/sqlitebackend.h index baa3b19..a1e8026 100644 --- a/sqlitebackend.h +++ b/sqlitebackend.h @@ -19,7 +19,7 @@ public: Tag() : valid(false) {} Tag(long long int id, QString name, qreal anchor_x, qreal anchor_y, QByteArray metadata); Tag(long long int id, const Tag &other); - Tag(QString name, const QPointF &anchor, const QVariantMap metadata=QVariantMap()); + Tag(QString name, const QPointF &anchor=QPointF(), const QVariantMap metadata=QVariantMap()); bool operator==(const Tag &t2) const { return id == t2.id; } @@ -29,6 +29,7 @@ public: long long int id; QString name; QPointF anchor; + QPointF labelPos; QVariantMap metadata; private: -- cgit