annotate widgets/ModelDataTableDialog.h @ 392:1d85aa5a49be

* Start adding a spreadsheet-style editor window for model data
author Chris Cannam
date Fri, 06 Jun 2008 15:26:27 +0000
parents
children 6671eb37d6d6
rev   line source
Chris@392 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@392 2
Chris@392 3 /*
Chris@392 4 Sonic Visualiser
Chris@392 5 An audio file viewer and annotation editor.
Chris@392 6 Centre for Digital Music, Queen Mary, University of London.
Chris@392 7 This file copyright 2008 QMUL.
Chris@392 8
Chris@392 9 This program is free software; you can redistribute it and/or
Chris@392 10 modify it under the terms of the GNU General Public License as
Chris@392 11 published by the Free Software Foundation; either version 2 of the
Chris@392 12 License, or (at your option) any later version. See the file
Chris@392 13 COPYING included with this distribution for more information.
Chris@392 14 */
Chris@392 15
Chris@392 16 #ifndef _MODEL_DATA_TABLE_DIALOG_H_
Chris@392 17 #define _MODEL_DATA_TABLE_DIALOG_H_
Chris@392 18
Chris@392 19 #include <QDialog>
Chris@392 20
Chris@392 21 class Model;
Chris@392 22 class ModelDataTableModel;
Chris@392 23 class QTableView;
Chris@392 24
Chris@392 25 class ModelDataTableDialog : public QDialog
Chris@392 26 {
Chris@392 27 Q_OBJECT
Chris@392 28
Chris@392 29 public:
Chris@392 30 ModelDataTableDialog(Model *model, QWidget *parent = 0);
Chris@392 31 ~ModelDataTableDialog();
Chris@392 32
Chris@392 33 protected:
Chris@392 34 ModelDataTableModel *m_table;
Chris@392 35 QTableView *m_tableView;
Chris@392 36 };
Chris@392 37
Chris@392 38 #endif