annotate widgets/LayerTreeDialog.h @ 583:4c484636d5ec

Record and show any error that occurs during layer processing (e.g. spectrogram layer runs out of disc space for feature files)
author Chris Cannam
date Thu, 14 Apr 2011 15:21:21 +0100
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