Mercurial > hg > svgui
comparison layer/WaveformLayer.h @ 133:9e6b3e239b9d
* Add zoom thumbwheels to Pane. Implement horizontal thumbwheel, and
vertical depending on layer type (supported for waveform and spectrogram,
though wrong for log-scale spectrogram at the moment).
* Add bare bones of a spectrum layer.
* Add window icon
* Add shortcut for "insert time instant" on laptops without keypad enter (";")
* Delete FFT processing thread when it exits (at least, next time we're asked
for something interesting)
* Get audio file extensions from the file readers, and thus from libsndfile for
the wave file reader -- leads to rather a wide combo box in file dialog though
* Better refresh order for spectrogram (redraw centre section first)
author | Chris Cannam |
---|---|
date | Fri, 04 Aug 2006 17:01:37 +0000 |
parents | 33929e0c3c6b |
children | b32282fefccd |
comparison
equal
deleted
inserted
replaced
132:5d3a483856ff | 133:9e6b3e239b9d |
---|---|
179 virtual QString toXmlString(QString indent = "", | 179 virtual QString toXmlString(QString indent = "", |
180 QString extraAttributes = "") const; | 180 QString extraAttributes = "") const; |
181 | 181 |
182 void setProperties(const QXmlAttributes &attributes); | 182 void setProperties(const QXmlAttributes &attributes); |
183 | 183 |
184 virtual int getVerticalZoomSteps(int &defaultStep) const; | |
185 virtual int getCurrentVerticalZoomStep() const; | |
186 virtual void setVerticalZoomStep(int); | |
187 | |
184 protected: | 188 protected: |
185 int dBscale(float sample, int m) const; | 189 int dBscale(float sample, int m) const; |
186 | 190 |
187 const RangeSummarisableTimeValueModel *m_model; // I do not own this | 191 const RangeSummarisableTimeValueModel *m_model; // I do not own this |
188 | 192 |