comparison view/View.h @ 267:4ed1446ad604

* more on measurement tool -- pull out some logic from pane to layer &c still more to do
author Chris Cannam
date Thu, 21 Jun 2007 16:12:00 +0000
parents 387f2f6fc333
children 70537b0434c4
comparison
equal deleted inserted replaced
266:aee39d8c0b83 267:4ed1446ad604
177 BoxedText, 177 BoxedText,
178 OutlinedText 178 OutlinedText
179 }; 179 };
180 180
181 virtual void drawVisibleText(QPainter &p, int x, int y, 181 virtual void drawVisibleText(QPainter &p, int x, int y,
182 QString text, TextStyle style); 182 QString text, TextStyle style) const;
183
184 virtual void drawMeasurementRect(QPainter &p, const Layer *, QRect rect) const;
183 185
184 virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const { 186 virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const {
185 return false; 187 return false;
186 } 188 }
187 virtual bool shouldIlluminateLocalSelection(QPoint &, bool &, bool &) const { 189 virtual bool shouldIlluminateLocalSelection(QPoint &, bool &, bool &) const {