comparison layer/TimeRulerLayer.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 33929e0c3c6b
children 1a49bd0d8375
comparison
equal deleted inserted replaced
215:d2334a77db73 216:34bbbcb3c01f
46 46
47 virtual PropertyList getProperties() const; 47 virtual PropertyList getProperties() const;
48 virtual QString getPropertyLabel(const PropertyName &) const; 48 virtual QString getPropertyLabel(const PropertyName &) const;
49 virtual PropertyType getPropertyType(const PropertyName &) const; 49 virtual PropertyType getPropertyType(const PropertyName &) const;
50 virtual int getPropertyRangeAndValue(const PropertyName &, 50 virtual int getPropertyRangeAndValue(const PropertyName &,
51 int *min, int *max) const; 51 int *min, int *max, int *deflt) const;
52 virtual QString getPropertyValueLabel(const PropertyName &, 52 virtual QString getPropertyValueLabel(const PropertyName &,
53 int value) const; 53 int value) const;
54 virtual void setProperty(const PropertyName &, int value); 54 virtual void setProperty(const PropertyName &, int value);
55 55
56 virtual bool getValueExtents(float &, float &, bool &, QString &) const { 56 virtual bool getValueExtents(float &, float &, bool &, QString &) const {