comparison layer/TextLayer.h @ 1324:13d9b422f7fe zoom

Merge from default branch
author Chris Cannam
date Mon, 17 Sep 2018 13:51:31 +0100
parents a34a2a25907c
children a18e78b9c78b
comparison
equal deleted inserted replaced
1183:57d192e26331 1324:13d9b422f7fe
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; }