comparison layer/TimeValueLayer.h @ 1266:a34a2a25907c

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents a8e126fe6a53
children d79e21855aef
comparison
equal deleted inserted replaced
1265:6e724c81f18f 1266:a34a2a25907c
44 44
45 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; 45 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const;
46 virtual QString getLabelPreceding(sv_frame_t) const; 46 virtual QString getLabelPreceding(sv_frame_t) const;
47 47
48 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, 48 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame,
49 int &resolution, 49 int &resolution,
50 SnapType snap) const; 50 SnapType snap) const;
51 virtual bool snapToSimilarFeature(LayerGeometryProvider *v, sv_frame_t &frame, 51 virtual bool snapToSimilarFeature(LayerGeometryProvider *v, sv_frame_t &frame,
52 int &resolution, 52 int &resolution,
53 SnapType snap) const; 53 SnapType snap) const;
54 54
55 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *); 55 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *);
83 virtual PropertyType getPropertyType(const PropertyName &) const; 83 virtual PropertyType getPropertyType(const PropertyName &) const;
84 virtual QString getPropertyGroupName(const PropertyName &) const; 84 virtual QString getPropertyGroupName(const PropertyName &) const;
85 virtual int getPropertyRangeAndValue(const PropertyName &, 85 virtual int getPropertyRangeAndValue(const PropertyName &,
86 int *min, int *max, int *deflt) const; 86 int *min, int *max, int *deflt) const;
87 virtual QString getPropertyValueLabel(const PropertyName &, 87 virtual QString getPropertyValueLabel(const PropertyName &,
88 int value) const; 88 int value) const;
89 virtual void setProperty(const PropertyName &, int value); 89 virtual void setProperty(const PropertyName &, int value);
90 90
91 void setFillColourMap(int); 91 void setFillColourMap(int);
92 int getFillColourMap() const { return m_colourMap; } 92 int getFillColourMap() const { return m_colourMap; }
93 93
94 enum PlotStyle { 94 enum PlotStyle {
95 PlotPoints, 95 PlotPoints,
96 PlotStems, 96 PlotStems,
97 PlotConnectedPoints, 97 PlotConnectedPoints,
98 PlotLines, 98 PlotLines,
99 PlotCurve, 99 PlotCurve,
100 PlotSegmentation, 100 PlotSegmentation,
101 PlotDiscreteCurves 101 PlotDiscreteCurves
102 }; 102 };
103 103
104 void setPlotStyle(PlotStyle style); 104 void setPlotStyle(PlotStyle style);
105 PlotStyle getPlotStyle() const { return m_plotStyle; } 105 PlotStyle getPlotStyle() const { return m_plotStyle; }