Mercurial > hg > svgui
comparison widgets/ModelDataTableDialog.h @ 396:2669267fb7ea
* sorting arbitrary columns in data editor
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 09:03:00 +0000 |
parents | 33c2f268c950 |
children | 80e279e4f9fe |
comparison
equal
deleted
inserted
replaced
395:33c2f268c950 | 396:2669267fb7ea |
---|---|
14 */ | 14 */ |
15 | 15 |
16 #ifndef _MODEL_DATA_TABLE_DIALOG_H_ | 16 #ifndef _MODEL_DATA_TABLE_DIALOG_H_ |
17 #define _MODEL_DATA_TABLE_DIALOG_H_ | 17 #define _MODEL_DATA_TABLE_DIALOG_H_ |
18 | 18 |
19 #include <QDialog> | 19 #include <QMainWindow> |
20 | 20 |
21 class TabularModel; | 21 class TabularModel; |
22 class ModelDataTableModel; | 22 class ModelDataTableModel; |
23 class QTableView; | 23 class QTableView; |
24 class QModelIndex; | 24 class QModelIndex; |
25 class Command; | 25 class Command; |
26 | 26 |
27 class ModelDataTableDialog : public QDialog | 27 class ModelDataTableDialog : public QMainWindow |
28 { | 28 { |
29 Q_OBJECT | 29 Q_OBJECT |
30 | 30 |
31 public: | 31 public: |
32 ModelDataTableDialog(TabularModel *model, QWidget *parent = 0); | 32 ModelDataTableDialog(TabularModel *model, QWidget *parent = 0); |