forked from frankyeh/DSI-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauto_track.h
46 lines (36 loc) · 808 Bytes
/
auto_track.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
#ifndef AUTO_TRACK_H
#define AUTO_TRACK_H
#include <future>
#include <QMainWindow>
#include <QProgressBar>
#include <QTimer>
#include "fib_data.hpp"
namespace Ui {
class auto_track;
}
class auto_track : public QMainWindow
{
Q_OBJECT
public:
explicit auto_track(QWidget *parent = nullptr);
~auto_track();
public:
void update_list(void);
public:
std::shared_ptr<std::future<void> > thread;
int prog = 0;
QStringList file_list;
std::shared_ptr<QTimer> timer;
private slots:
void on_open_clicked();
void on_delete_2_clicked();
void on_open_dir_clicked();
void check_status();
void on_delete_all_clicked();
void on_run_clicked();
void select_tracts();
private:
Ui::auto_track *ui;
QProgressBar* progress_bar;
};
#endif // AUTO_TRACK_H