# HG changeset patch # User Chris Cannam # Date 1435771888 -3600 # Node ID 4d7de68707c8f1b47695f65c3a95eba4557de6aa # Parent a65328f0c45067b31d55cdf4b0aa97f646bab37d# Parent 457a1a619c5fedf4591bca81ff58df0baa0bafc7 Merge from branch simple-fft-model diff -r 457a1a619c5f -r 4d7de68707c8 base/PropertyContainer.cpp --- a/base/PropertyContainer.cpp Wed Jan 07 17:42:21 2015 +0000 +++ b/base/PropertyContainer.cpp Wed Jul 01 18:31:28 2015 +0100 @@ -59,6 +59,12 @@ return QString(); } +QString +PropertyContainer::getPropertyValueIconName(const PropertyName &, int) const +{ + return QString(); +} + RangeMapper * PropertyContainer::getNewPropertyRangeMapper(const PropertyName &) const { diff -r 457a1a619c5f -r 4d7de68707c8 base/PropertyContainer.h --- a/base/PropertyContainer.h Wed Jan 07 17:42:21 2015 +0000 +++ b/base/PropertyContainer.h Wed Jul 01 18:31:28 2015 +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