Vespucci  1.0.0
dataviewer.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright (C) 2014-2016 Wright State University - All Rights Reserved
3  Daniel P. Foose - Maintainer/Lead Developer
4 
5  This file is part of Vespucci.
6 
7  Vespucci is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Vespucci is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Vespucci. If not, see <http://www.gnu.org/licenses/>.
19 *******************************************************************************/
20 #ifndef DATAVIEWER_H
21 #define DATAVIEWER_H
22 
23 #include <QDialog>
27 #include "GUI/mainwindow.h"
28 class MainWindow;
29 class VespucciDataset;
30 class VespucciWorkspace;
31 class UnivariateData;
32 class VespucciTableModel;
33 class DataWidget;
34 namespace Ui {
35 class DataViewer;
36 }
37 
41 class DataViewer : public QDockWidget
42 {
43  Q_OBJECT
44 
45 public:
46  explicit DataViewer(MainWindow *parent, QSharedPointer<VespucciWorkspace> ws);
47  ~DataViewer();
48  void AddTab(QStringList keys);
49 signals:
50  void SetActionChecked(bool checked);
51 protected:
52  void closeEvent(QCloseEvent *ev);
53 public slots:
54  void RemoveTab(int index);
55  void DatasetToBeRemoved(QString name);
56  void MatrixToBeRemoved(QStringList keys);
57 private:
58  Ui::DataViewer *ui;
59  mat empty_matrix_;
60  QSharedPointer<VespucciWorkspace> workspace_;
61 };
62 
63 #endif // DATAVIEWER_H
64 
65 
66 
67 
68 
The VespucciTableModel class The QAbstractTableModel that handles armadillo objects for the DataViewe...
Definition: ahcadialog.h:26
The VespucciDataset class This is the main class for dealing with hyperspectral data. This handles the import and export of spectra, and the creation of maps. Images are handled by the MapData class. This class is intended to be allocated on the heap inside of a smart pointer, there is no copy constructor.
The DataViewer class Window that displays dataset elements in a QTableView widget inside a QTabWidget...
Definition: dataviewer.h:41
The VespucciWorkspace class A class which contains all "global variables" (that aren&#39;t held in MainWi...
The MainWindow class The main window of the program, this is where the user performs most operations...
Definition: mainwindow.h:58