forked from frankyeh/DSI-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
70 lines (64 loc) · 2.1 KB
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QSettings>
#include <memory>
namespace Ui {
class MainWindow;
}
class group_connectometry_analysis;
class MainWindow : public QMainWindow
{
Q_OBJECT
enum { MaxRecentFiles = 50 };
void updateRecentList(void);
QSettings settings;
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
void closeEvent(QCloseEvent *event);
Ui::MainWindow *ui;
void addFib(QString Filename);
void addSrc(QString Filename);
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
void openFile(QString file_name);
public:
void loadFib(QString Filename,bool presentation_mode = false);
void loadSrc(QStringList filenames);
void add_work_dir(QString dir);
bool load_db(std::shared_ptr<group_connectometry_analysis>& database,QString& file_name);
private slots:
void on_averagefib_clicked();
void on_vbc_clicked();
void on_RenameDICOMDir_clicked();
void on_browseDir_clicked();
void on_FiberTracking_clicked();
void on_Reconstruction_clicked();
void on_OpenDICOM_clicked();
void on_RenameDICOM_clicked();
void openRecentFibFile();
void openRecentSrcFile();
void open_fib_at(int,int);
void open_src_at(int,int);
void on_batch_reconstruction_clicked();
void on_view_image_clicked();
void on_workDir_currentTextChanged(const QString &arg1);
void on_open_db_clicked();
void on_group_connectometry_clicked();
void on_linear_reg_clicked();
void on_nonlinear_reg_clicked();
void on_SRC_qc_clicked();
void on_parse_network_measures_clicked();
void on_auto_track_clicked();
void on_nii2src_bids_clicked();
void on_nii2src_sf_clicked();
void on_dicom2nii_clicked();
void on_clear_src_history_clicked();
void on_clear_fib_history_clicked();
void on_xnat_download_clicked();
void on_styles_activated(int index);
void on_clear_settings_clicked();
void on_console_clicked();
};
#endif // MAINWINDOW_H