Mercurial > hg > svgui
comparison layer/SpectrumLayer.cpp @ 557:3b128519773c
* Fix incorrect grouping for spectrum layer parameters
author | Chris Cannam |
---|---|
date | Tue, 15 Jun 2010 10:48:28 +0000 |
parents | bd4db63b085e |
children | f4960f8ce798 |
comparison
equal
deleted
inserted
replaced
556:eabefd562995 | 557:3b128519773c |
---|---|
168 QString | 168 QString |
169 SpectrumLayer::getPropertyGroupName(const PropertyName &name) const | 169 SpectrumLayer::getPropertyGroupName(const PropertyName &name) const |
170 { | 170 { |
171 if (name == "Window Size" || | 171 if (name == "Window Size" || |
172 name == "Window Increment") return tr("Window"); | 172 name == "Window Increment") return tr("Window"); |
173 if (name == "Show Peak Frequencies") return tr("Plot Type"); | 173 if (name == "Show Peak Frequencies") return tr("Bins"); |
174 return SliceLayer::getPropertyGroupName(name); | 174 return SliceLayer::getPropertyGroupName(name); |
175 } | 175 } |
176 | 176 |
177 int | 177 int |
178 SpectrumLayer::getPropertyRangeAndValue(const PropertyName &name, | 178 SpectrumLayer::getPropertyRangeAndValue(const PropertyName &name, |