Mercurial > hg > svgui
comparison layer/SpectrogramLayer.cpp @ 335:2f83b6e3b8ca
* Add Erase tool and mode
* Add icons for Normalize buttons in property boxes, and for Show Peaks
* Add support for velocity in notes -- not yet reflected in display or
editable in the note edit dialog, but they are imported from MIDI,
played, and exported
* Begin work on making pastes align pasted times (subtler than I thought)
author | Chris Cannam |
---|---|
date | Fri, 23 Nov 2007 16:48:23 +0000 |
parents | 0a74248af622 |
children | 813170c57b13 |
comparison
equal
deleted
inserted
replaced
334:0a74248af622 | 335:2f83b6e3b8ca |
---|---|
172 if (name == "Colour Rotation") return tr("Colour Rotation"); | 172 if (name == "Colour Rotation") return tr("Colour Rotation"); |
173 if (name == "Min Frequency") return tr("Min Frequency"); | 173 if (name == "Min Frequency") return tr("Min Frequency"); |
174 if (name == "Max Frequency") return tr("Max Frequency"); | 174 if (name == "Max Frequency") return tr("Max Frequency"); |
175 if (name == "Frequency Scale") return tr("Frequency Scale"); | 175 if (name == "Frequency Scale") return tr("Frequency Scale"); |
176 if (name == "Zero Padding") return tr("Smoothing"); | 176 if (name == "Zero Padding") return tr("Smoothing"); |
177 return ""; | |
178 } | |
179 | |
180 QString | |
181 SpectrogramLayer::getPropertyIconName(const PropertyName &name) const | |
182 { | |
183 if (name == "Normalize Columns") return "normalise-columns"; | |
184 if (name == "Normalize Visible Area") return "normalise"; | |
177 return ""; | 185 return ""; |
178 } | 186 } |
179 | 187 |
180 Layer::PropertyType | 188 Layer::PropertyType |
181 SpectrogramLayer::getPropertyType(const PropertyName &name) const | 189 SpectrogramLayer::getPropertyType(const PropertyName &name) const |