Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
345:8c3fb13ef11c | 346:8f01867cc191 |
---|---|
95 { | 95 { |
96 if (name == "Colour") return tr("Colour"); | 96 if (name == "Colour") return tr("Colour"); |
97 if (name == "Colour Scale") return tr("Scale"); | 97 if (name == "Colour Scale") return tr("Scale"); |
98 if (name == "Normalize Columns") return tr("Normalize Columns"); | 98 if (name == "Normalize Columns") return tr("Normalize Columns"); |
99 if (name == "Normalize Visible Area") return tr("Normalize Visible Area"); | 99 if (name == "Normalize Visible Area") return tr("Normalize Visible Area"); |
100 return ""; | |
101 } | |
102 | |
103 QString | |
104 Colour3DPlotLayer::getPropertyIconName(const PropertyName &name) const | |
105 { | |
106 if (name == "Normalize Columns") return "normalise-columns"; | |
107 if (name == "Normalize Visible Area") return "normalise"; | |
100 return ""; | 108 return ""; |
101 } | 109 } |
102 | 110 |
103 Layer::PropertyType | 111 Layer::PropertyType |
104 Colour3DPlotLayer::getPropertyType(const PropertyName &name) const | 112 Colour3DPlotLayer::getPropertyType(const PropertyName &name) const |