Mercurial > hg > svcore
changeset 1109:a65328f0c450 3.0-integration
Merge from branch simple-fft-model
author | Chris Cannam |
---|---|
date | Wed, 01 Jul 2015 13:27:03 +0100 |
parents | ee0aff1d0743 (diff) 16574eea3229 (current diff) |
children | 4d7de68707c8 |
files | |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/base/PropertyContainer.cpp Tue Jun 30 10:26:23 2015 +0100 +++ b/base/PropertyContainer.cpp Wed Jul 01 13:27:03 2015 +0100 @@ -59,6 +59,12 @@ return QString(); } +QString +PropertyContainer::getPropertyValueIconName(const PropertyName &, int) const +{ + return QString(); +} + RangeMapper * PropertyContainer::getNewPropertyRangeMapper(const PropertyName &) const {
--- a/base/PropertyContainer.h Tue Jun 30 10:26:23 2015 +0100 +++ b/base/PropertyContainer.h Wed Jul 01 13:27:03 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