Mercurial > hg > svgui
comparison layer/TimeInstantLayer.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 | e175ade2d6b0 |
comparison
equal
deleted
inserted
replaced
215:d2334a77db73 | 216:34bbbcb3c01f |
---|---|
63 | 63 |
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 int getPropertyRangeAndValue(const PropertyName &, | 67 virtual int getPropertyRangeAndValue(const PropertyName &, |
68 int *min, int *max) const; | 68 int *min, int *max, int *deflt) const; |
69 virtual QString getPropertyValueLabel(const PropertyName &, | 69 virtual QString getPropertyValueLabel(const PropertyName &, |
70 int value) const; | 70 int value) const; |
71 virtual void setProperty(const PropertyName &, int value); | 71 virtual void setProperty(const PropertyName &, int value); |
72 | 72 |
73 void setBaseColour(QColor); | 73 void setBaseColour(QColor); |