More UI work
This commit is contained in:
parent
2deadc6cfb
commit
c6713d0876
15 changed files with 352 additions and 75 deletions
|
|
@ -21,7 +21,10 @@ public:
|
|||
Tag(long long int id, const Tag &other);
|
||||
Tag(QString name, const QPointF &anchor, const QVariantMap metadata=QVariantMap());
|
||||
|
||||
bool isValid() { return valid; }
|
||||
bool operator==(const Tag &t2) const { return id == t2.id; }
|
||||
|
||||
bool isValid() const { return valid; }
|
||||
QString humanReadableAnchor() { return QString("%1, %2").arg(anchor.x()).arg(anchor.y()); }
|
||||
|
||||
long long int id;
|
||||
QString name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue