Mercurial > hg > svcore
comparison data/model/SparseValueModel.h @ 345:700cd3350391
* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename.
It's still rather unstable though.
author | Chris Cannam |
---|---|
date | Wed, 28 Nov 2007 17:45:37 +0000 |
parents | 7a4bd2c8585c |
children | 1415e35881f6 |
comparison
equal
deleted
inserted
replaced
344:277006c62fea | 345:700cd3350391 |
---|---|
49 { } | 49 { } |
50 | 50 |
51 using SparseModel<PointType>::m_points; | 51 using SparseModel<PointType>::m_points; |
52 using SparseModel<PointType>::modelChanged; | 52 using SparseModel<PointType>::modelChanged; |
53 using SparseModel<PointType>::getPoints; | 53 using SparseModel<PointType>::getPoints; |
54 using SparseModel<PointType>::tr; | |
55 | |
56 QString getTypeName() const { return tr("Sparse Value"); } | |
54 | 57 |
55 virtual float getValueMinimum() const { return m_valueMinimum; } | 58 virtual float getValueMinimum() const { return m_valueMinimum; } |
56 virtual float getValueMaximum() const { return m_valueMaximum; } | 59 virtual float getValueMaximum() const { return m_valueMaximum; } |
57 | 60 |
58 virtual QString getScaleUnits() const { return m_units; } | 61 virtual QString getScaleUnits() const { return m_units; } |