Mercurial > hg > svcore
comparison data/model/SparseModel.h @ 422:4caa28a0a8a2
* sorting arbitrary columns in data editor
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 09:03:00 +0000 |
parents | 50a956688baa |
children | f5e8f12d2e58 |
comparison
equal
deleted
inserted
replaced
421:397fe91dc8e0 | 422:4caa28a0a8a2 |
---|---|
291 virtual QString getHeading(int column) const { return tr("Unknown"); } | 291 virtual QString getHeading(int column) const { return tr("Unknown"); } |
292 virtual QVariant getData(int row, int column, int role) const { | 292 virtual QVariant getData(int row, int column, int role) const { |
293 return QVariant(); | 293 return QVariant(); |
294 } | 294 } |
295 virtual bool isColumnTimeValue(int column) const { return true; } | 295 virtual bool isColumnTimeValue(int column) const { return true; } |
296 virtual SortType getSortType(int column) const { return SortNumeric; } | |
296 | 297 |
297 protected: | 298 protected: |
298 size_t m_sampleRate; | 299 size_t m_sampleRate; |
299 size_t m_resolution; | 300 size_t m_resolution; |
300 bool m_notifyOnAdd; | 301 bool m_notifyOnAdd; |