comparison layer/SliceLayer.h @ 195:4a3bdde1ef13

* beginnings of spectrum scales
author Chris Cannam
date Mon, 29 Jan 2007 18:11:20 +0000
parents 57c2350a8c40
children 6b023411087b
comparison
equal deleted inserted replaced
194:d13e209bfa94 195:4a3bdde1ef13
38 virtual const Model *getModel() const { return 0; } 38 virtual const Model *getModel() const { return 0; }
39 39
40 void setSliceableModel(const Model *model); 40 void setSliceableModel(const Model *model);
41 41
42 virtual void paint(View *v, QPainter &paint, QRect rect) const; 42 virtual void paint(View *v, QPainter &paint, QRect rect) const;
43
44 virtual int getVerticalScaleWidth(View *v, QPainter &) const;
45 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const;
43 46
44 virtual PropertyList getProperties() const; 47 virtual PropertyList getProperties() const;
45 virtual QString getPropertyLabel(const PropertyName &) const; 48 virtual QString getPropertyLabel(const PropertyName &) const;
46 virtual PropertyType getPropertyType(const PropertyName &) const; 49 virtual PropertyType getPropertyType(const PropertyName &) const;
47 virtual QString getPropertyGroupName(const PropertyName &) const; 50 virtual QString getPropertyGroupName(const PropertyName &) const;
102 PlotStyle m_plotStyle; 105 PlotStyle m_plotStyle;
103 BinScale m_binScale; 106 BinScale m_binScale;
104 bool m_normalize; 107 bool m_normalize;
105 bool m_bias; 108 bool m_bias;
106 float m_gain; 109 float m_gain;
110 mutable std::vector<int> m_scalePoints;
107 }; 111 };
108 112
109 #endif 113 #endif