Mercurial > hg > svgui
diff layer/SpectrumLayer.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 | 29fcf125f98b |
children | 8c3fb13ef11c 0895517bb2d1 |
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp Thu Nov 22 14:27:41 2007 +0000 +++ b/layer/SpectrumLayer.cpp Fri Nov 23 16:48:23 2007 +0000 @@ -136,6 +136,13 @@ return SliceLayer::getPropertyLabel(name); } +QString +SpectrumLayer::getPropertyIconName(const PropertyName &name) const +{ + if (name == "Show Peak Frequencies") return "show-peaks"; + return SliceLayer::getPropertyIconName(name); +} + Layer::PropertyType SpectrumLayer::getPropertyType(const PropertyName &name) const {