Mercurial > hg > svgui
diff widgets/ModelDataTableDialog.h @ 404:4075bf03faef
* 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 | 66e01a6c9554 |
children | 55cdd79606ba |
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.h Wed Jun 18 14:34:13 2008 +0000 +++ b/widgets/ModelDataTableDialog.h Wed Jun 18 15:53:23 2008 +0000 @@ -23,15 +23,19 @@ class QTableView; class QModelIndex; class Command; +class QToolBar; class ModelDataTableDialog : public QMainWindow { Q_OBJECT public: - ModelDataTableDialog(TabularModel *model, QString title, QWidget *parent =0); + ModelDataTableDialog(TabularModel *model, + QString title, QWidget *parent =0); ~ModelDataTableDialog(); + QToolBar *getPlayToolbar() { return m_playToolbar; } + signals: void scrollToFrame(unsigned long frame); @@ -54,6 +58,7 @@ protected: void makeCurrent(int row); ModelDataTableModel *m_table; + QToolBar *m_playToolbar; QTableView *m_tableView; int m_currentRow; bool m_trackPlayback;