forked from igoreksiz/VBParser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainwindow.h
More file actions
54 lines (46 loc) · 1.32 KB
/
Copy pathmainwindow.h
File metadata and controls
54 lines (46 loc) · 1.32 KB
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "common.h"
#include "settings.h"
#include "filescanner.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
//
QThread scannerThread;
settings* settingsDialog;
FileScanner* scanner;
void addFile(QString filePath, bool silent = false);
void scanDir(QString dirPath);
protected:
void dropEvent(QDropEvent *ev);
void dragEnterEvent(QDragEnterEvent *ev);
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_SettingButton_clicked();
void on_openFileButton_clicked();
void on_openDirButton_clicked();
void on_cancelButton_clicked();
//
void closeTreeFile(QWidget* item);
void showTreeFile(QString filePath);
void exportTreeFile(QObject* p);
//
void scanUpdateTextStatus(QString message);
void scanStarted(int xmin, int xmax);
void scanChanged(int state);
void scanFinished();
void scanAddResult(QTreeWidgetItem * newFileRoot);
void scanPrepare();
void on_fileTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
void on_leakMaskCheckBox_stateChanged(int arg1);
void on_fileTree_customContextMenuRequested(const QPoint &pos);
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H