Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.h @ 454:ba7aaacb7211
* Support transforms that output regions with more than one bin (by
creating more than one region)
* When model displayed in the spreadsheet dialog is deleted, close
the dialog in preference to crashing
author | Chris Cannam |
---|---|
date | Thu, 09 Oct 2008 13:13:33 +0000 |
parents | 304fd0223fa6 |
children | b1dc68507e46 |
comparison
equal
deleted
inserted
replaced
453:1f15beefcd76 | 454:ba7aaacb7211 |
---|---|
61 | 61 |
62 signals: | 62 signals: |
63 void frameSelected(size_t); | 63 void frameSelected(size_t); |
64 void addCommand(Command *); | 64 void addCommand(Command *); |
65 void currentChanged(const QModelIndex &); | 65 void currentChanged(const QModelIndex &); |
66 void modelRemoved(); | |
66 | 67 |
67 protected slots: | 68 protected slots: |
68 void modelChanged(); | 69 void modelChanged(); |
69 void modelChanged(size_t, size_t); | 70 void modelChanged(size_t, size_t); |
71 void modelAboutToBeDeleted(); | |
70 | 72 |
71 protected: | 73 protected: |
72 TabularModel *m_model; | 74 TabularModel *m_model; |
73 int m_sortColumn; | 75 int m_sortColumn; |
74 Qt::SortOrder m_sortOrdering; | 76 Qt::SortOrder m_sortOrdering; |