Mercurial > hg > svgui
comparison layer/SpectrogramLayer.cpp @ 1198:69ff93e0c624 levelpanwidget
Introduce a colour map combo too. Doesn't yet have swatches
author | Chris Cannam |
---|---|
date | Fri, 16 Dec 2016 14:16:05 +0000 |
parents | ab169938832a |
children | f7bb22999d2e |
comparison
equal
deleted
inserted
replaced
1197:ff77b7707c95 | 1198:69ff93e0c624 |
---|---|
253 SpectrogramLayer::getPropertyType(const PropertyName &name) const | 253 SpectrogramLayer::getPropertyType(const PropertyName &name) const |
254 { | 254 { |
255 if (name == "Gain") return RangeProperty; | 255 if (name == "Gain") return RangeProperty; |
256 if (name == "Colour Rotation") return RangeProperty; | 256 if (name == "Colour Rotation") return RangeProperty; |
257 if (name == "Threshold") return RangeProperty; | 257 if (name == "Threshold") return RangeProperty; |
258 if (name == "Colour") return ColourMapProperty; | |
258 return ValueProperty; | 259 return ValueProperty; |
259 } | 260 } |
260 | 261 |
261 QString | 262 QString |
262 SpectrogramLayer::getPropertyGroupName(const PropertyName &name) const | 263 SpectrogramLayer::getPropertyGroupName(const PropertyName &name) const |