comparison data/model/ImageModel.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 f14e2f7b24f7
children 6a96bff0bd59
comparison
equal deleted inserted replaced
344:277006c62fea 345:700cd3350391
87 public: 87 public:
88 ImageModel(size_t sampleRate, size_t resolution, bool notifyOnAdd = true) : 88 ImageModel(size_t sampleRate, size_t resolution, bool notifyOnAdd = true) :
89 SparseModel<ImagePoint>(sampleRate, resolution, notifyOnAdd) 89 SparseModel<ImagePoint>(sampleRate, resolution, notifyOnAdd)
90 { } 90 { }
91 91
92 QString getTypeName() const { return tr("Image"); }
93
92 virtual void toXml(QTextStream &out, 94 virtual void toXml(QTextStream &out,
93 QString indent = "", 95 QString indent = "",
94 QString extraAttributes = "") const 96 QString extraAttributes = "") const
95 { 97 {
96 SparseModel<ImagePoint>::toXml 98 SparseModel<ImagePoint>::toXml