Vespucci
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
spectrumeditor.h
Go to the documentation of this file.
1
#ifndef SPECTRUMEDITOR_H
2
#define SPECTRUMEDITOR_H
3
4
#include <QDialog>
5
#include "
Data/Dataset/vespuccidataset.h
"
6
#include "
GUI/QAbstractItemModel/spectratablemodel.h
"
7
8
class
PlotViewer
;
9
class
MainWindow
;
10
class
SpectraTableModel
;
11
class
VespucciWorkspace
;
12
13
namespace
Ui
{
14
class
SpectrumEditor
;
15
}
16
17
class
SpectrumEditor
:
public
QDockWidget
18
{
19
Q_OBJECT
20
21
public
:
22
explicit
SpectrumEditor
(
MainWindow
*main_window, QSharedPointer<VespucciWorkspace> workspace);
23
~
SpectrumEditor
();
24
signals:
25
void
SetActionChecked(
bool
checked);
26
protected
:
27
void
closeEvent(QCloseEvent *ev);
28
void
keyPressEvent(QKeyEvent *event);
29
public
slots:
30
void
DatasetSelectionChanged(QString dataset_key);
31
void
DatasetToBeRemoved(QString key);
32
private
slots:
33
void
on_tableView_clicked(
const
QModelIndex &index);
34
void
SpectrumRemoved(
int
row);
35
void
on_deletePushButton_clicked();
36
void
on_exportPushButton_clicked();
37
38
void
on_zeroPushButton_clicked();
39
40
private
:
41
void
RequestSpectrumPlot(
const
QModelIndex &index);
42
Ui::SpectrumEditor *ui;
43
SpectraTableModel
*table_model_;
44
QSharedPointer<VespucciDataset> dataset_;
45
PlotViewer
*plot_viewer_;
46
MainWindow
*main_window_;
47
QSharedPointer<VespucciWorkspace> workspace_;
48
};
49
50
#endif // SPECTRUMEDITOR_H
Ui
Definition:
ahcadialog.h:26
SpectrumEditor
Definition:
spectrumeditor.h:17
VespucciWorkspace
The VespucciWorkspace class A class which contains all "global variables" (that aren't held in MainWi...
Definition:
vespucciworkspace.h:44
vespuccidataset.h
SpectraTableModel
Definition:
spectratablemodel.h:9
spectratablemodel.h
MainWindow
The MainWindow class The main window of the program, this is where the user performs most operations...
Definition:
mainwindow.h:58
PlotViewer
Definition:
plotviewer.h:16
Projects
VespucciProject
Vespucci
Vespucci
GUI
Display
spectrumeditor.h
Generated by
1.8.11