comparison layer/SliceLayer.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 45e995ed84d9
children bd2d0346da0e
comparison
equal deleted inserted replaced
215:d2334a77db73 216:34bbbcb3c01f
49 virtual PropertyList getProperties() const; 49 virtual PropertyList getProperties() const;
50 virtual QString getPropertyLabel(const PropertyName &) const; 50 virtual QString getPropertyLabel(const PropertyName &) const;
51 virtual PropertyType getPropertyType(const PropertyName &) const; 51 virtual PropertyType getPropertyType(const PropertyName &) const;
52 virtual QString getPropertyGroupName(const PropertyName &) const; 52 virtual QString getPropertyGroupName(const PropertyName &) const;
53 virtual int getPropertyRangeAndValue(const PropertyName &, 53 virtual int getPropertyRangeAndValue(const PropertyName &,
54 int *min, int *max) const; 54 int *min, int *max, int *deflt) const;
55 virtual QString getPropertyValueLabel(const PropertyName &, 55 virtual QString getPropertyValueLabel(const PropertyName &,
56 int value) const; 56 int value) const;
57 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; 57 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const;
58 virtual void setProperty(const PropertyName &, int value); 58 virtual void setProperty(const PropertyName &, int value);
59 virtual void setProperties(const QXmlAttributes &); 59 virtual void setProperties(const QXmlAttributes &);