diff layer/Colour3DPlotLayer.cpp @ 346:8f01867cc191

* add icons to colour 3d plot layer toggles
author Chris Cannam
date Fri, 11 Jan 2008 18:19:50 +0000
parents 984c1975f1ff
children d3ee7524d39b
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Tue Jan 08 15:48:39 2008 +0000
+++ b/layer/Colour3DPlotLayer.cpp	Fri Jan 11 18:19:50 2008 +0000
@@ -100,6 +100,14 @@
     return "";
 }
 
+QString
+Colour3DPlotLayer::getPropertyIconName(const PropertyName &name) const
+{
+    if (name == "Normalize Columns") return "normalise-columns";
+    if (name == "Normalize Visible Area") return "normalise";
+    return "";
+}
+
 Layer::PropertyType
 Colour3DPlotLayer::getPropertyType(const PropertyName &name) const
 {