Mercurial > hg > svgui
comparison widgets/ModelDataTableDialog.h @ 400:32acd578fcba
* Basic implementation of add and remove point in data editor
* Improve resilience of frame - real-time - frame round-trip conversions
author | Chris Cannam |
---|---|
date | Mon, 16 Jun 2008 14:48:42 +0000 |
parents | 80c7dd3c8dce |
children | 96531861b2f3 |
comparison
equal
deleted
inserted
replaced
399:80c7dd3c8dce | 400:32acd578fcba |
---|---|
35 signals: | 35 signals: |
36 void scrollToFrame(unsigned long frame); | 36 void scrollToFrame(unsigned long frame); |
37 | 37 |
38 public slots: | 38 public slots: |
39 void scrollToFrameRequested(unsigned long frame); | 39 void scrollToFrameRequested(unsigned long frame); |
40 void executeCommand(Command *); | 40 void addCommand(Command *); |
41 | 41 |
42 protected slots: | 42 protected slots: |
43 void viewClicked(const QModelIndex &); | 43 void viewClicked(const QModelIndex &); |
44 void viewPressed(const QModelIndex &); | 44 void viewPressed(const QModelIndex &); |
45 void currentChanged(const QModelIndex &, const QModelIndex &); | |
45 | 46 |
46 void insertRow(); | 47 void insertRow(); |
47 void deleteRow(); | 48 void deleteRows(); |
48 void editRow(); | 49 void editRow(); |
49 | 50 |
50 protected: | 51 protected: |
51 ModelDataTableModel *m_table; | 52 ModelDataTableModel *m_table; |
52 QTableView *m_tableView; | 53 QTableView *m_tableView; |
54 int m_currentRow; | |
53 }; | 55 }; |
54 | 56 |
55 #endif | 57 #endif |