-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatasetwindow.h
46 lines (33 loc) · 913 Bytes
/
datasetwindow.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 DATASETWINDOW_H
#define DATASETWINDOW_H
#include <QMainWindow>
#include <QFile>
#include <QFileInfo>
#include <QFileDialog>
#include "datasetgenerator.h"
#include <QThread>
#include <QMessageBox>
namespace Ui {
class DatasetWindow;
}
class DatasetWindow : public QMainWindow
{
Q_OBJECT
public:
explicit DatasetWindow(QWidget *parent = 0);
~DatasetWindow();
private slots:
void on_pushButton_clicked();
void on_generateButton_clicked();
void on_comboBox_currentIndexChanged(int index);
void on_helpButton_clicked();
void handleFinished(QString fileOut, bool success);
private:
Ui::DatasetWindow *ui;
QString centersDir = "";
QString centersName ="";
QString getDirectory (const QString & filePath);
QString getFileName (const QString & filePath);
void changeCursor(Qt::CursorShape cursor, bool loadingFile);
};
#endif // DATASETWINDOW_H