Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
514:4ba0476ebbb6 | 515:ff1dc4f302bd |
---|---|
99 if (name == "Plot Type") return tr("Plot Type"); | 99 if (name == "Plot Type") return tr("Plot Type"); |
100 if (name == "Vertical Scale") return tr("Vertical Scale"); | 100 if (name == "Vertical Scale") return tr("Vertical Scale"); |
101 if (name == "Scale Units") return tr("Scale Units"); | 101 if (name == "Scale Units") return tr("Scale Units"); |
102 if (name == "Draw Segment Division Lines") return tr("Draw Segment Division Lines"); | 102 if (name == "Draw Segment Division Lines") return tr("Draw Segment Division Lines"); |
103 return SingleColourLayer::getPropertyLabel(name); | 103 return SingleColourLayer::getPropertyLabel(name); |
104 } | |
105 | |
106 QString | |
107 TimeValueLayer::getPropertyIconName(const PropertyName &name) const | |
108 { | |
109 if (name == "Draw Segment Division Lines") return "lines"; | |
110 return ""; | |
104 } | 111 } |
105 | 112 |
106 Layer::PropertyType | 113 Layer::PropertyType |
107 TimeValueLayer::getPropertyType(const PropertyName &name) const | 114 TimeValueLayer::getPropertyType(const PropertyName &name) const |
108 { | 115 { |