Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.h @ 430:304fd0223fa6
* Add playback controls to data edit dialog
* Make data edit dialog close properly when layer is removed from view
* More fixes to playback tracking & selection model in data edit dialog
* Remove edit button from data edit dialog for now
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2008 15:53:23 +0000 |
parents | 3e1d190048f4 |
children | ba7aaacb7211 |
comparison
equal
deleted
inserted
replaced
429:6036b38177e2 | 430:304fd0223fa6 |
---|---|
52 int columnCount(const QModelIndex &parent = QModelIndex()) const; | 52 int columnCount(const QModelIndex &parent = QModelIndex()) const; |
53 | 53 |
54 QModelIndex getModelIndexForFrame(size_t frame) const; | 54 QModelIndex getModelIndexForFrame(size_t frame) const; |
55 size_t getFrameForModelIndex(const QModelIndex &) const; | 55 size_t getFrameForModelIndex(const QModelIndex &) const; |
56 | 56 |
57 QModelIndex getModelIndexForRow(int row) const; | |
58 | |
59 void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); | 57 void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); |
60 | 58 |
61 void setCurrentRow(int row); | 59 void setCurrentRow(int row); |
62 int getCurrentRow(); | 60 int getCurrentRow(); |
63 | 61 |