Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
740:a31c8ee2e17e | 741:56ba2b03508e |
---|---|
198 QString text, TextStyle style) const; | 198 QString text, TextStyle style) const; |
199 | 199 |
200 virtual void drawMeasurementRect(QPainter &p, const Layer *, | 200 virtual void drawMeasurementRect(QPainter &p, const Layer *, |
201 QRect rect, bool focus) const; | 201 QRect rect, bool focus) const; |
202 | 202 |
203 virtual bool shouldShowFeatureLabels() const { | |
204 return m_manager && m_manager->shouldShowFeatureLabels(); | |
205 } | |
203 virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const { | 206 virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const { |
204 return false; | 207 return false; |
205 } | 208 } |
206 virtual bool shouldIlluminateLocalSelection(QPoint &, bool &, bool &) const { | 209 virtual bool shouldIlluminateLocalSelection(QPoint &, bool &, bool &) const { |
207 return false; | 210 return false; |