-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjudgepage.h
44 lines (35 loc) · 802 Bytes
/
judgepage.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
#ifndef JUDGEPAGE_H
#define JUDGEPAGE_H
#include <QWidget>
#include <iostream>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <sys/stat.h>
#include <QDragEnterEvent>
#include <QMimeData>
#include <judgethread.h>
namespace Ui {
class JudgePage;
}
class JudgePage : public QWidget
{
Q_OBJECT
public:
explicit JudgePage(QWidget *parent = nullptr);
~JudgePage();
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
private slots:
void on_pushButton_clicked();
int scan_dir(std::string folderpath,std::string* folders);
void on_CloseBtn_clicked();
private:
Ui::JudgePage *ui;
bool Uploaded=false;
std::string folderpath;
};
#endif // JUDGEPAGE_H