Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.h @ 422:4caa28a0a8a2
* sorting arbitrary columns in data editor
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 09:03:00 +0000 |
parents | 50a956688baa |
children | 2386582f67cd |
comparison
equal
deleted
inserted
replaced
421:397fe91dc8e0 | 422:4caa28a0a8a2 |
---|---|
65 TabularModel *m_model; | 65 TabularModel *m_model; |
66 int m_sortColumn; | 66 int m_sortColumn; |
67 Qt::SortOrder m_sortOrdering; | 67 Qt::SortOrder m_sortOrdering; |
68 typedef std::vector<int> RowList; | 68 typedef std::vector<int> RowList; |
69 RowList m_sort; | 69 RowList m_sort; |
70 RowList m_rsort; | |
70 int getSorted(int row); | 71 int getSorted(int row); |
71 int getUnsorted(int row); | 72 int getUnsorted(int row); |
72 void resort(); | 73 void resort(); |
74 void resortNumeric(); | |
75 void resortAlphabetical(); | |
73 }; | 76 }; |
74 | 77 |
75 #endif | 78 #endif |