comparison layer/TimeValueLayer.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 ee01a4062747
children 491dd600570c
comparison
equal deleted inserted replaced
1197:ff77b7707c95 1198:69ff93e0c624
130 TimeValueLayer::getPropertyType(const PropertyName &name) const 130 TimeValueLayer::getPropertyType(const PropertyName &name) const
131 { 131 {
132 if (name == "Plot Type") return ValueProperty; 132 if (name == "Plot Type") return ValueProperty;
133 if (name == "Vertical Scale") return ValueProperty; 133 if (name == "Vertical Scale") return ValueProperty;
134 if (name == "Scale Units") return UnitsProperty; 134 if (name == "Scale Units") return UnitsProperty;
135 if (name == "Colour" && m_plotStyle == PlotSegmentation) return ValueProperty; 135 if (name == "Colour" && m_plotStyle == PlotSegmentation) return ColourMapProperty;
136 if (name == "Draw Segment Division Lines") return ToggleProperty; 136 if (name == "Draw Segment Division Lines") return ToggleProperty;
137 if (name == "Show Derivative") return ToggleProperty; 137 if (name == "Show Derivative") return ToggleProperty;
138 return SingleColourLayer::getPropertyType(name); 138 return SingleColourLayer::getPropertyType(name);
139 } 139 }
140 140