diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2020-04-10 15:09:02 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2020-04-10 15:09:02 +0100 |
commit | f17f2a4f902fed525b6a47f4be68a2e10f51b227 (patch) | |
tree | 293751835cdfab320be8887ad308d49c293925d8 /src/gui/tikzscene.h | |
parent | d680579952d758eb7457e688cb80ec8ead0086e1 (diff) |
toggle show node labels from View menu (closes #62)
Diffstat (limited to 'src/gui/tikzscene.h')
-rw-r--r-- | src/gui/tikzscene.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/tikzscene.h b/src/gui/tikzscene.h index f8dc7ec..1edd50a 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; |