comparison layer/SliceLayer.h @ 265:a3a54632cd4c

* fixes to spectrum harmonic cursor etc
author Chris Cannam
date Fri, 15 Jun 2007 15:48:11 +0000
parents a2ae3d93c645
children 4ed1446ad604
comparison
equal deleted inserted replaced
264:7e9e533f1863 265:a3a54632cd4c
103 public slots: 103 public slots:
104 void sliceableModelReplaced(const Model *, const Model *); 104 void sliceableModelReplaced(const Model *, const Model *);
105 void modelAboutToBeDeleted(Model *); 105 void modelAboutToBeDeleted(Model *);
106 106
107 protected: 107 protected:
108 float getXForBin(int bin, int totalBins, float w) const; 108 virtual float getXForBin(int bin, int totalBins, float w) const;
109 int getBinForX(float x, int totalBins, float w) const; 109 virtual int getBinForX(float x, int totalBins, float w) const;
110 110
111 virtual QString getFeatureDescription(View *v, QPoint &, 111 virtual QString getFeatureDescription(View *v, QPoint &,
112 bool includeBinDescription, 112 bool includeBinDescription,
113 int &minbin, int &maxbin, 113 int &minbin, int &maxbin,
114 int &range) const; 114 int &range) const;