Mercurial > hg > svgui
comparison layer/TextLayer.h @ 1266:a34a2a25907c
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 4fe7a09be0fe |
children | a18e78b9c78b |
comparison
equal
deleted
inserted
replaced
1265:6e724c81f18f | 1266:a34a2a25907c |
---|---|
35 virtual void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const; | 35 virtual void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const; |
36 | 36 |
37 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; | 37 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; |
38 | 38 |
39 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, | 39 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, |
40 int &resolution, | 40 int &resolution, |
41 SnapType snap) const; | 41 SnapType snap) const; |
42 | 42 |
43 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *); | 43 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *); |
44 virtual void drawDrag(LayerGeometryProvider *v, QMouseEvent *); | 44 virtual void drawDrag(LayerGeometryProvider *v, QMouseEvent *); |
45 virtual void drawEnd(LayerGeometryProvider *v, QMouseEvent *); | 45 virtual void drawEnd(LayerGeometryProvider *v, QMouseEvent *); |
46 | 46 |
69 virtual QString getPropertyLabel(const PropertyName &) const; | 69 virtual QString getPropertyLabel(const PropertyName &) const; |
70 virtual PropertyType getPropertyType(const PropertyName &) const; | 70 virtual PropertyType getPropertyType(const PropertyName &) const; |
71 virtual int getPropertyRangeAndValue(const PropertyName &, | 71 virtual int getPropertyRangeAndValue(const PropertyName &, |
72 int *min, int *max, int *deflt) const; | 72 int *min, int *max, int *deflt) const; |
73 virtual QString getPropertyValueLabel(const PropertyName &, | 73 virtual QString getPropertyValueLabel(const PropertyName &, |
74 int value) const; | 74 int value) const; |
75 virtual void setProperty(const PropertyName &, int value); | 75 virtual void setProperty(const PropertyName &, int value); |
76 | 76 |
77 virtual bool isLayerScrollable(const LayerGeometryProvider *v) const; | 77 virtual bool isLayerScrollable(const LayerGeometryProvider *v) const; |
78 | 78 |
79 virtual bool isLayerEditable() const { return true; } | 79 virtual bool isLayerEditable() const { return true; } |