Mercurial > hg > svgui
diff layer/SliceLayer.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 | 984c1975f1ff |
children | e1a9e478b7f2 |
line wrap: on
line diff
--- a/layer/SliceLayer.cpp Thu Nov 22 14:27:41 2007 +0000 +++ b/layer/SliceLayer.cpp Fri Nov 23 16:48:23 2007 +0000 @@ -569,6 +569,13 @@ return SingleColourLayer::getPropertyLabel(name); } +QString +SliceLayer::getPropertyIconName(const PropertyName &name) const +{ + if (name == "Normalize") return "normalise"; + return ""; +} + Layer::PropertyType SliceLayer::getPropertyType(const PropertyName &name) const {