Mercurial > hg > svgui
comparison layer/RegionLayer.h @ 916:94e4952a6774 osx-retina
Start trying to introduce LayerGeometryProvider as proxyable interface for View methods that the Layer wants to use
author | Chris Cannam |
---|---|
date | Tue, 17 Mar 2015 15:05:25 +0000 |
parents | 251dd0abc7b7 |
children | 4fe7a09be0fe |
comparison
equal
deleted
inserted
replaced
915:f6d9f28f37cb | 916:94e4952a6774 |
---|---|
37 Q_OBJECT | 37 Q_OBJECT |
38 | 38 |
39 public: | 39 public: |
40 RegionLayer(); | 40 RegionLayer(); |
41 | 41 |
42 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 42 virtual void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const; |
43 | 43 |
44 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const; | 44 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const; |
45 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; | 45 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; |
46 | 46 |
47 virtual QString getFeatureDescription(View *v, QPoint &) const; | 47 virtual QString getFeatureDescription(View *v, QPoint &) const; |