Mercurial > hg > svgui
comparison layer/TimeRulerLayer.h @ 87:4b98bda7e94d
* Add property labels to property containers (so i18n() won't affect file format)
author | Chris Cannam |
---|---|
date | Wed, 03 May 2006 16:48:03 +0000 |
parents | 19bf27e4fb29 |
children | 0f36cdf407a6 |
comparison
equal
deleted
inserted
replaced
86:93a7efc75fb7 | 87:4b98bda7e94d |
---|---|
43 enum LabelHeight { LabelTop, LabelMiddle, LabelBottom }; | 43 enum LabelHeight { LabelTop, LabelMiddle, LabelBottom }; |
44 void setLabelHeight(LabelHeight h) { m_labelHeight = h; } | 44 void setLabelHeight(LabelHeight h) { m_labelHeight = h; } |
45 LabelHeight getLabelHeight() const { return m_labelHeight; } | 45 LabelHeight getLabelHeight() const { return m_labelHeight; } |
46 | 46 |
47 virtual PropertyList getProperties() const; | 47 virtual PropertyList getProperties() const; |
48 virtual QString getPropertyLabel(const PropertyName &) const; | |
48 virtual PropertyType getPropertyType(const PropertyName &) const; | 49 virtual PropertyType getPropertyType(const PropertyName &) const; |
49 virtual int getPropertyRangeAndValue(const PropertyName &, | 50 virtual int getPropertyRangeAndValue(const PropertyName &, |
50 int *min, int *max) const; | 51 int *min, int *max) const; |
51 virtual QString getPropertyValueLabel(const PropertyName &, | 52 virtual QString getPropertyValueLabel(const PropertyName &, |
52 int value) const; | 53 int value) const; |