comparison layer/TimeInstantLayer.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
37 37
38 virtual QString getLabelPreceding(sv_frame_t) const; 38 virtual QString getLabelPreceding(sv_frame_t) const;
39 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; 39 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const;
40 40
41 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame, 41 virtual bool snapToFeatureFrame(LayerGeometryProvider *v, sv_frame_t &frame,
42 int &resolution, 42 int &resolution,
43 SnapType snap) const; 43 SnapType snap) const;
44 44
45 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *); 45 virtual void drawStart(LayerGeometryProvider *v, QMouseEvent *);
46 virtual void drawDrag(LayerGeometryProvider *v, QMouseEvent *); 46 virtual void drawDrag(LayerGeometryProvider *v, QMouseEvent *);
47 virtual void drawEnd(LayerGeometryProvider *v, QMouseEvent *); 47 virtual void drawEnd(LayerGeometryProvider *v, QMouseEvent *);
48 48
71 virtual QString getPropertyLabel(const PropertyName &) const; 71 virtual QString getPropertyLabel(const PropertyName &) const;
72 virtual PropertyType getPropertyType(const PropertyName &) const; 72 virtual PropertyType getPropertyType(const PropertyName &) const;
73 virtual int getPropertyRangeAndValue(const PropertyName &, 73 virtual int getPropertyRangeAndValue(const PropertyName &,
74 int *min, int *max, int *deflt) const; 74 int *min, int *max, int *deflt) const;
75 virtual QString getPropertyValueLabel(const PropertyName &, 75 virtual QString getPropertyValueLabel(const PropertyName &,
76 int value) const; 76 int value) const;
77 virtual void setProperty(const PropertyName &, int value); 77 virtual void setProperty(const PropertyName &, int value);
78 78
79 enum PlotStyle { 79 enum PlotStyle {
80 PlotInstants, 80 PlotInstants,
81 PlotSegmentation 81 PlotSegmentation
82 }; 82 };
83 83
84 void setPlotStyle(PlotStyle style); 84 void setPlotStyle(PlotStyle style);
85 PlotStyle getPlotStyle() const { return m_plotStyle; } 85 PlotStyle getPlotStyle() const { return m_plotStyle; }
86 86