Vespucci  1.0.0
datawidget.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 DATAWIDGET_H
21 #define DATAWIDGET_H
22 
23 #include <QWidget>
25 
26 namespace Ui {
27 class DataWidget;
28 }
29 
30 class DataWidget : public QWidget
31 {
32  Q_OBJECT
33 
34 public:
35  explicit DataWidget(QWidget *parent, VespucciTableModel *table_model);
36  void SetTableModel(VespucciTableModel *table_model);
37  VespucciTableModel *GetTableModel();
38  ~DataWidget();
39 
40 private slots:
41  void on_forwardPushButton_clicked();
42 
43  void on_backPushButton_clicked();
44 
45 private:
46  Ui::DataWidget *ui;
47  VespucciTableModel *table_model_;
48  uword matrix_columns_;
49  uword subviews_;
50  uword current_start_column_;
51 
52 };
53 
54 #endif // DATAWIDGET_H
The VespucciTableModel class The QAbstractTableModel that handles armadillo objects for the DataViewe...
Definition: ahcadialog.h:26