annotate widgets/LayerTreeDialog.h @ 473:4f4f943bfdfc

* Merge from one-fftdataserver-per-fftmodel branch. This bit of reworking (which is not described very accurately by the title of the branch) turns the MatrixFile object into something that either reads or writes, but not both, and separates the FFT file cache reader and writer implementations separately. This allows the FFT data server to have a single thread owning writers and one reader per "customer" thread, and for all locking to be vastly simplified and concentrated in the data server alone (because none of the classes it makes use of is used in more than one thread at a time). The result is faster and more trustworthy code.
author Chris Cannam
date Tue, 27 Jan 2009 13:25:10 +0000
parents 1d85aa5a49be
children 05d614f6e46d
rev   line source
Chris@336 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@336 2
Chris@336 3 /*
Chris@336 4 Sonic Visualiser
Chris@336 5 An audio file viewer and annotation editor.
Chris@336 6 Centre for Digital Music, Queen Mary, University of London.
Chris@336 7 This file copyright 2007 QMUL.
Chris@336 8
Chris@336 9 This program is free software; you can redistribute it and/or
Chris@336 10 modify it under the terms of the GNU General Public License as
Chris@336 11 published by the Free Software Foundation; either version 2 of the
Chris@336 12 License, or (at your option) any later version. See the file
Chris@336 13 COPYING included with this distribution for more information.
Chris@336 14 */
Chris@336 15
Chris@336 16 #ifndef _LAYER_TREE_DIALOG_H_
Chris@336 17 #define _LAYER_TREE_DIALOG_H_
Chris@336 18
Chris@336 19 #include <QDialog>
Chris@336 20
Chris@392 21 class ModelMetadataModel;
Chris@336 22 class LayerTreeModel;
Chris@336 23 class PaneStack;
Chris@336 24 class QTreeView;
Chris@336 25 class QTableView;
Chris@336 26
Chris@336 27 class LayerTreeDialog : public QDialog
Chris@336 28 {
Chris@336 29 Q_OBJECT
Chris@336 30
Chris@336 31 public:
Chris@336 32 LayerTreeDialog(PaneStack *stack, QWidget *parent = 0);
Chris@336 33 ~LayerTreeDialog();
Chris@336 34
Chris@336 35 protected:
Chris@336 36 PaneStack *m_paneStack;
Chris@392 37 ModelMetadataModel *m_modelModel;
Chris@336 38 QTableView *m_modelView;
Chris@336 39 LayerTreeModel *m_layerModel;
Chris@336 40 QTreeView *m_layerView;
Chris@336 41 };
Chris@336 42
Chris@336 43 #endif