comparison layer/WaveformLayer.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 42118892f428
children 11021509c4eb
comparison
equal deleted inserted replaced
215:d2334a77db73 216:34bbbcb3c01f
51 virtual PropertyList getProperties() const; 51 virtual PropertyList getProperties() const;
52 virtual QString getPropertyLabel(const PropertyName &) const; 52 virtual QString getPropertyLabel(const PropertyName &) const;
53 virtual PropertyType getPropertyType(const PropertyName &) const; 53 virtual PropertyType getPropertyType(const PropertyName &) const;
54 virtual QString getPropertyGroupName(const PropertyName &) const; 54 virtual QString getPropertyGroupName(const PropertyName &) const;
55 virtual int getPropertyRangeAndValue(const PropertyName &, 55 virtual int getPropertyRangeAndValue(const PropertyName &,
56 int *min, int *max) const; 56 int *min, int *max, int *deflt) const;
57 virtual QString getPropertyValueLabel(const PropertyName &, 57 virtual QString getPropertyValueLabel(const PropertyName &,
58 int value) const; 58 int value) const;
59 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; 59 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const;
60 virtual void setProperty(const PropertyName &, int value); 60 virtual void setProperty(const PropertyName &, int value);
61 61