Mercurial > hg > svgui
diff view/View.h @ 741:56ba2b03508e tonioni
Introduce a GlobalOverlays mode that shows general surrounding information but less local stuff
author | Chris Cannam |
---|---|
date | Thu, 06 Mar 2014 15:16:25 +0000 |
parents | 596414d20ef0 |
children | 9fd1bdf214dd 4c8ca536b54f |
line wrap: on
line diff
--- a/view/View.h Thu Mar 06 14:27:59 2014 +0000 +++ b/view/View.h Thu Mar 06 15:16:25 2014 +0000 @@ -200,6 +200,9 @@ virtual void drawMeasurementRect(QPainter &p, const Layer *, QRect rect, bool focus) const; + virtual bool shouldShowFeatureLabels() const { + return m_manager && m_manager->shouldShowFeatureLabels(); + } virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const { return false; }