Mercurial > hg > svgui
diff layer/TimeValueLayer.cpp @ 198:c2ed5014d4ff
* Scale fixes and feature descriptions in slice layer
author | Chris Cannam |
---|---|
date | Thu, 01 Feb 2007 16:54:42 +0000 |
parents | 6b023411087b |
children | 6969f21da18a |
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp Thu Feb 01 14:31:28 2007 +0000 +++ b/layer/TimeValueLayer.cpp Thu Feb 01 16:54:42 2007 +0000 @@ -98,6 +98,15 @@ else return ValueProperty; } +QString +TimeValueLayer::getPropertyGroupName(const PropertyName &name) const +{ + if (name == "Vertical Scale" || name == "Scale Units") { + return tr("Scale"); + } + return QString(); +} + int TimeValueLayer::getPropertyRangeAndValue(const PropertyName &name, int *min, int *max) const @@ -189,9 +198,9 @@ switch (value) { default: case 0: return tr("Auto-Align"); - case 1: return tr("Linear Scale"); - case 2: return tr("Log Scale"); - case 3: return tr("+/-1 Scale"); + case 1: return tr("Linear"); + case 2: return tr("Log"); + case 3: return tr("+/-1"); } } return tr("<unknown>");