comparison widgets/LayerTreeDialog.h @ 336:4a542ba875c2

* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename. It's still rather unstable though.
author Chris Cannam
date Wed, 28 Nov 2007 17:45:37 +0000
parents
children 1d85aa5a49be
comparison
equal deleted inserted replaced
335:2f83b6e3b8ca 336:4a542ba875c2
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 Sonic Visualiser
5 An audio file viewer and annotation editor.
6 Centre for Digital Music, Queen Mary, University of London.
7 This file copyright 2007 QMUL.
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information.
14 */
15
16 #ifndef _LAYER_TREE_DIALOG_H_
17 #define _LAYER_TREE_DIALOG_H_
18
19 #include <QDialog>
20
21 class ModelDataModel;
22 class LayerTreeModel;
23 class PaneStack;
24 class QTreeView;
25 class QTableView;
26
27 class LayerTreeDialog : public QDialog
28 {
29 Q_OBJECT
30
31 public:
32 LayerTreeDialog(PaneStack *stack, QWidget *parent = 0);
33 ~LayerTreeDialog();
34
35 protected:
36 PaneStack *m_paneStack;
37 ModelDataModel *m_modelModel;
38 QTableView *m_modelView;
39 LayerTreeModel *m_layerModel;
40 QTreeView *m_layerView;
41 };
42
43 #endif