21 #include "ui_dataviewer.h" 35 connect(ui->tabWidget, &QTabWidget::tabCloseRequested,
49 ui->tabWidget->removeTab(index);
63 int i = ui->tabWidget->count();
67 ui->tabWidget->removeTab(i);
78 int i = ui->tabWidget->count();
83 ui->tabWidget->removeTab(i);
90 workspace_->GetMatrix(keys),
93 ui->tabWidget->addTab(widget, keys.last());
94 ui->tabWidget->setCurrentIndex(ui->tabWidget->count() - 1);
99 QDockWidget::closeEvent(ev);
The VespucciTableModel class The QAbstractTableModel that handles armadillo objects for the DataViewe...
DataViewer(MainWindow *parent, QSharedPointer< VespucciWorkspace > ws)
DataViewer::DataViewer.
void DatasetToBeRemoved(QString name)
DataViewer::DatasetRemoved.
The DataViewer class Window that displays dataset elements in a QTableView widget inside a QTabWidget...
bool KeysAreEqual(QStringList &keys1, QStringList &keys2)
void MatrixToBeRemoved(QStringList keys)
DataViewer::MatrixToBeRemoved.
void AddTab(QStringList keys)
void closeEvent(QCloseEvent *ev)
void RemoveTab(int index)
void SetActionChecked(bool checked)
The MainWindow class The main window of the program, this is where the user performs most operations...