comparison 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
comparison
equal deleted inserted replaced
334:0a74248af622 335:2f83b6e3b8ca
565 if (name == "Threshold") return tr("Threshold"); 565 if (name == "Threshold") return tr("Threshold");
566 if (name == "Gain") return tr("Gain"); 566 if (name == "Gain") return tr("Gain");
567 if (name == "Sampling Mode") return tr("Sampling Mode"); 567 if (name == "Sampling Mode") return tr("Sampling Mode");
568 if (name == "Bin Scale") return tr("Plot X Scale"); 568 if (name == "Bin Scale") return tr("Plot X Scale");
569 return SingleColourLayer::getPropertyLabel(name); 569 return SingleColourLayer::getPropertyLabel(name);
570 }
571
572 QString
573 SliceLayer::getPropertyIconName(const PropertyName &name) const
574 {
575 if (name == "Normalize") return "normalise";
576 return "";
570 } 577 }
571 578
572 Layer::PropertyType 579 Layer::PropertyType
573 SliceLayer::getPropertyType(const PropertyName &name) const 580 SliceLayer::getPropertyType(const PropertyName &name) const
574 { 581 {