Mercurial > hg > svgui
comparison layer/RegionLayer.h @ 1266:a34a2a25907c
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 4fe7a09be0fe |
children | d79e21855aef |
comparison
equal
deleted
inserted
replaced
1265:6e724c81f18f | 1266:a34a2a25907c |
---|---|
46 | 46 |
47 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; | 47 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; |
48 virtual QString getLabelPreceding(sv_frame_t) const; | 48 virtual QString getLabelPreceding(sv_frame_t) const; |
49 | 49 |
50 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, | 50 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, |
51 int &resolution, | 51 int &resolution, |
52 SnapType snap) const; | 52 SnapType snap) const; |
53 virtual bool snapToSimilarFeature(LayerGeometryProvider *v, sv_frame_t &frame, | 53 virtual bool snapToSimilarFeature(LayerGeometryProvider *v, sv_frame_t &frame, |
54 int &resolution, | 54 int &resolution, |
55 SnapType snap) const; | 55 SnapType snap) const; |
56 | 56 |
57 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *); | 57 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *); |
84 virtual PropertyType getPropertyType(const PropertyName &) const; | 84 virtual PropertyType getPropertyType(const PropertyName &) const; |
85 virtual QString getPropertyGroupName(const PropertyName &) const; | 85 virtual QString getPropertyGroupName(const PropertyName &) const; |
86 virtual int getPropertyRangeAndValue(const PropertyName &, | 86 virtual int getPropertyRangeAndValue(const PropertyName &, |
87 int *min, int *max, int *deflt) const; | 87 int *min, int *max, int *deflt) const; |
88 virtual QString getPropertyValueLabel(const PropertyName &, | 88 virtual QString getPropertyValueLabel(const PropertyName &, |
89 int value) const; | 89 int value) const; |
90 virtual void setProperty(const PropertyName &, int value); | 90 virtual void setProperty(const PropertyName &, int value); |
91 | 91 |
92 void setFillColourMap(int); | 92 void setFillColourMap(int); |
93 int getFillColourMap() const { return m_colourMap; } | 93 int getFillColourMap() const { return m_colourMap; } |
94 | 94 |
101 | 101 |
102 void setVerticalScale(VerticalScale scale); | 102 void setVerticalScale(VerticalScale scale); |
103 VerticalScale getVerticalScale() const { return m_verticalScale; } | 103 VerticalScale getVerticalScale() const { return m_verticalScale; } |
104 | 104 |
105 enum PlotStyle { | 105 enum PlotStyle { |
106 PlotLines, | 106 PlotLines, |
107 PlotSegmentation | 107 PlotSegmentation |
108 }; | 108 }; |
109 | 109 |
110 void setPlotStyle(PlotStyle style); | 110 void setPlotStyle(PlotStyle style); |
111 PlotStyle getPlotStyle() const { return m_plotStyle; } | 111 PlotStyle getPlotStyle() const { return m_plotStyle; } |
112 | 112 |