diff layer/TimeValueLayer.cpp @ 515:ff1dc4f302bd sv-v1.5pre1

* Add icons for "show segment division lines" in time value layer and "always opaque" in colour 3d plot
author Chris Cannam
date Fri, 27 Feb 2009 14:24:54 +0000
parents 1341e95eeae9
children 1c6439ef99d6
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Fri Feb 27 13:33:16 2009 +0000
+++ b/layer/TimeValueLayer.cpp	Fri Feb 27 14:24:54 2009 +0000
@@ -103,6 +103,13 @@
     return SingleColourLayer::getPropertyLabel(name);
 }
 
+QString
+TimeValueLayer::getPropertyIconName(const PropertyName &name) const
+{
+    if (name == "Draw Segment Division Lines") return "lines";
+    return "";
+}
+
 Layer::PropertyType
 TimeValueLayer::getPropertyType(const PropertyName &name) const
 {