diff 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
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.h	Wed Jun 11 17:00:04 2008 +0000
+++ b/data/model/ModelDataTableModel.h	Thu Jun 12 09:03:00 2008 +0000
@@ -67,9 +67,12 @@
     Qt::SortOrder m_sortOrdering;
     typedef std::vector<int> RowList;
     RowList m_sort;
+    RowList m_rsort;
     int getSorted(int row);
     int getUnsorted(int row);
     void resort();
+    void resortNumeric();
+    void resortAlphabetical();
 };
 
 #endif