comparison layer/SpectrogramLayer.h @ 101:0f36cdf407a6 sv1-v0.9rc1

* Make vertical scale alignment modes work in note layer as well as time-value layer, and several significant fixes to it * Make it possible to draw notes properly on the note layer * Show units (and frequencies etc in note layer's case) in the time-value and note layer description boxes * Minor fix to item edit dialog layout * Some minor menu rearrangement * Comment out a lot of debug output * Add SV website and reference URLs to Help menu, and add code to (attempt to) open them in the user's preferred browser
author Chris Cannam
date Fri, 12 May 2006 14:40:43 +0000
parents a0e7edf9703a
children 1348818e7be7
comparison
equal deleted inserted replaced
100:0db5e7492ce8 101:0f36cdf407a6
184 float getYForFrequency(View *v, float frequency) const; 184 float getYForFrequency(View *v, float frequency) const;
185 float getFrequencyForY(View *v, int y) const; 185 float getFrequencyForY(View *v, int y) const;
186 186
187 virtual int getCompletion() const; 187 virtual int getCompletion() const;
188 188
189 virtual bool getValueExtents(float &min, float &max, QString &unit) const; 189 virtual bool getValueExtents(float &min, float &max,
190 bool &logarithmic, QString &unit) const;
191
192 virtual bool getDisplayExtents(float &min, float &max) const;
190 193
191 virtual QString toXmlString(QString indent = "", 194 virtual QString toXmlString(QString indent = "",
192 QString extraAttributes = "") const; 195 QString extraAttributes = "") const;
193 196
194 void setProperties(const QXmlAttributes &attributes); 197 void setProperties(const QXmlAttributes &attributes);