comparison layer/SpectrogramLayer.h @ 216:34bbbcb3c01f sv1-1.0pre1

* Make getPropertyRangeAndValue return the default separately from the current value. Previously some contexts were incorrectly treating the current value as a default.
author Chris Cannam
date Fri, 02 Mar 2007 14:00:12 +0000
parents d2334a77db73
children 9465b5375235
comparison
equal deleted inserted replaced
215:d2334a77db73 216:34bbbcb3c01f
76 virtual PropertyList getProperties() const; 76 virtual PropertyList getProperties() const;
77 virtual QString getPropertyLabel(const PropertyName &) const; 77 virtual QString getPropertyLabel(const PropertyName &) const;
78 virtual PropertyType getPropertyType(const PropertyName &) const; 78 virtual PropertyType getPropertyType(const PropertyName &) const;
79 virtual QString getPropertyGroupName(const PropertyName &) const; 79 virtual QString getPropertyGroupName(const PropertyName &) const;
80 virtual int getPropertyRangeAndValue(const PropertyName &, 80 virtual int getPropertyRangeAndValue(const PropertyName &,
81 int *min, int *max) const; 81 int *min, int *max, int *deflt) const;
82 virtual QString getPropertyValueLabel(const PropertyName &, 82 virtual QString getPropertyValueLabel(const PropertyName &,
83 int value) const; 83 int value) const;
84 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; 84 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const;
85 virtual void setProperty(const PropertyName &, int value); 85 virtual void setProperty(const PropertyName &, int value);
86 86