summaryrefslogtreecommitdiff
path: root/src/gui/tikzscene.h
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-04-14 09:07:12 +0200
committerGard Spreemann <gspr@nonempty.org>2020-04-14 09:07:12 +0200
commit45669f894014e853d5add401c8d52e6ed8ffda73 (patch)
tree0b1f0927b39be726221422f258a2927909b6cf4c /src/gui/tikzscene.h
parent7c4e0d98192d20e67f91edeaf0236d3b9cdc4b73 (diff)
parentccf98283025f9d5cc2083c87352993dce4545e71 (diff)
Merge tag 'v2.1.5' into debian/sid
Diffstat (limited to 'src/gui/tikzscene.h')
-rw-r--r--src/gui/tikzscene.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/tikzscene.h b/src/gui/tikzscene.h
index f8dc7ec..2e7baa5 100644
--- a/src/gui/tikzscene.h
+++ b/src/gui/tikzscene.h
@@ -90,6 +90,9 @@ public:
bool highlightHeads() const;
bool highlightTails() const;
+ bool drawNodeLabels() const;
+ void setDrawNodeLabels(bool drawNodeLabels);
+
public slots:
void graphReplaced();
void refreshZIndices();
@@ -115,6 +118,7 @@ private:
bool _firstControlPoint;
QPointF _mouseDownPos;
bool _draggingNodes;
+ bool _drawNodeLabels;
QMap<Node*,QPointF> _oldNodePositions;
qreal _oldWeight;
@@ -126,6 +130,8 @@ private:
bool _highlightHeads;
bool _highlightTails;
bool _smartTool;
+
+ bool _ctrlWasPressed;
};
#endif // TIKZSCENE_H