comparison layer/Colour3DPlotLayer.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 6b023411087b
children cd2492c5fe45
comparison
equal deleted inserted replaced
215:d2334a77db73 216:34bbbcb3c01f
73 virtual PropertyList getProperties() const; 73 virtual PropertyList getProperties() const;
74 virtual PropertyType getPropertyType(const PropertyName &) const; 74 virtual PropertyType getPropertyType(const PropertyName &) const;
75 virtual QString getPropertyLabel(const PropertyName &) const; 75 virtual QString getPropertyLabel(const PropertyName &) const;
76 virtual QString getPropertyGroupName(const PropertyName &) const; 76 virtual QString getPropertyGroupName(const PropertyName &) const;
77 virtual int getPropertyRangeAndValue(const PropertyName &, 77 virtual int getPropertyRangeAndValue(const PropertyName &,
78 int *min, int *max) const; 78 int *min, int *max, int *deflt) const;
79 virtual QString getPropertyValueLabel(const PropertyName &, 79 virtual QString getPropertyValueLabel(const PropertyName &,
80 int value) const; 80 int value) const;
81 virtual void setProperty(const PropertyName &, int value); 81 virtual void setProperty(const PropertyName &, int value);
82 virtual void setProperties(const QXmlAttributes &); 82 virtual void setProperties(const QXmlAttributes &);
83 83