diff 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
line wrap: on
line diff
--- a/data/model/SparseValueModel.h	Wed Nov 28 13:20:40 2007 +0000
+++ b/data/model/SparseValueModel.h	Wed Nov 28 17:45:37 2007 +0000
@@ -51,6 +51,9 @@
     using SparseModel<PointType>::m_points;
     using SparseModel<PointType>::modelChanged;
     using SparseModel<PointType>::getPoints;
+    using SparseModel<PointType>::tr;
+
+    QString getTypeName() const { return tr("Sparse Value"); }
 
     virtual float getValueMinimum() const { return m_valueMinimum; }
     virtual float getValueMaximum() const { return m_valueMaximum; }