comparison layer/NoteLayer.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
64 virtual PropertyList getProperties() const; 64 virtual PropertyList getProperties() const;
65 virtual QString getPropertyLabel(const PropertyName &) const; 65 virtual QString getPropertyLabel(const PropertyName &) const;
66 virtual PropertyType getPropertyType(const PropertyName &) const; 66 virtual PropertyType getPropertyType(const PropertyName &) const;
67 virtual QString getPropertyGroupName(const PropertyName &) const; 67 virtual QString getPropertyGroupName(const PropertyName &) const;
68 virtual int getPropertyRangeAndValue(const PropertyName &, 68 virtual int getPropertyRangeAndValue(const PropertyName &,
69 int *min, int *max) const; 69 int *min, int *max, int *deflt) const;
70 virtual QString getPropertyValueLabel(const PropertyName &, 70 virtual QString getPropertyValueLabel(const PropertyName &,
71 int value) const; 71 int value) const;
72 virtual void setProperty(const PropertyName &, int value); 72 virtual void setProperty(const PropertyName &, int value);
73 73
74 void setBaseColour(QColor); 74 void setBaseColour(QColor);