Mercurial > hg > svgui
comparison layer/SpectrumLayer.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 | 28c8e8e3c537 |
comparison
equal
deleted
inserted
replaced
215:d2334a77db73 | 216:34bbbcb3c01f |
---|---|
43 virtual PropertyList getProperties() const; | 43 virtual PropertyList getProperties() const; |
44 virtual QString getPropertyLabel(const PropertyName &) const; | 44 virtual QString getPropertyLabel(const PropertyName &) const; |
45 virtual PropertyType getPropertyType(const PropertyName &) const; | 45 virtual PropertyType getPropertyType(const PropertyName &) const; |
46 virtual QString getPropertyGroupName(const PropertyName &) const; | 46 virtual QString getPropertyGroupName(const PropertyName &) const; |
47 virtual int getPropertyRangeAndValue(const PropertyName &, | 47 virtual int getPropertyRangeAndValue(const PropertyName &, |
48 int *min, int *max) const; | 48 int *min, int *max, int *deflt) const; |
49 virtual QString getPropertyValueLabel(const PropertyName &, | 49 virtual QString getPropertyValueLabel(const PropertyName &, |
50 int value) const; | 50 int value) const; |
51 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; | 51 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; |
52 virtual void setProperty(const PropertyName &, int value); | 52 virtual void setProperty(const PropertyName &, int value); |
53 virtual void setProperties(const QXmlAttributes &); | 53 virtual void setProperties(const QXmlAttributes &); |