# HG changeset patch # User Chris Cannam # Date 1410518335 -3600 # Node ID a54016762f77582f95bb6fedb1f302cb32906612 # Parent a8f91db36e9de56198a1d4d5b8ef8948a01f49b2 Experimentally add the hybrid normalisation as an option (not working well either in UI or implementation) diff -r a8f91db36e9d -r a54016762f77 base/PropertyContainer.cpp --- a/base/PropertyContainer.cpp Wed Sep 10 09:40:45 2014 +0100 +++ b/base/PropertyContainer.cpp Fri Sep 12 11:38:55 2014 +0100 @@ -59,6 +59,12 @@ return QString(); } +QString +PropertyContainer::getPropertyValueIconName(const PropertyName &, int) const +{ + return QString(); +} + RangeMapper * PropertyContainer::getNewPropertyRangeMapper(const PropertyName &) const { diff -r a8f91db36e9d -r a54016762f77 base/PropertyContainer.h --- a/base/PropertyContainer.h Wed Sep 10 09:40:45 2014 +0100 +++ b/base/PropertyContainer.h Fri Sep 12 11:38:55 2014 +0100 @@ -91,6 +91,13 @@ int value) const; /** + * If the given property is a ValueProperty, return the icon to be + * used for the given value for that property, if any. + */ + virtual QString getPropertyValueIconName(const PropertyName &, + int value) const; + + /** * If the given property is a RangeProperty, return a new * RangeMapper object mapping its integer range onto an underlying * floating point value range for human-intelligible display, if