comparison layer/TimeValueLayer.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 c2ed5014d4ff
children e175ade2d6b0
comparison
equal deleted inserted replaced
215:d2334a77db73 216:34bbbcb3c01f
67 virtual PropertyList getProperties() const; 67 virtual PropertyList getProperties() const;
68 virtual QString getPropertyLabel(const PropertyName &) const; 68 virtual QString getPropertyLabel(const PropertyName &) const;
69 virtual PropertyType getPropertyType(const PropertyName &) const; 69 virtual PropertyType getPropertyType(const PropertyName &) const;
70 virtual QString getPropertyGroupName(const PropertyName &) const; 70 virtual QString getPropertyGroupName(const PropertyName &) const;
71 virtual int getPropertyRangeAndValue(const PropertyName &, 71 virtual int getPropertyRangeAndValue(const PropertyName &,
72 int *min, int *max) const; 72 int *min, int *max, int *deflt) const;
73 virtual QString getPropertyValueLabel(const PropertyName &, 73 virtual QString getPropertyValueLabel(const PropertyName &,
74 int value) const; 74 int value) const;
75 virtual void setProperty(const PropertyName &, int value); 75 virtual void setProperty(const PropertyName &, int value);
76 76
77 void setBaseColour(QColor); 77 void setBaseColour(QColor);