-
Notifications
You must be signed in to change notification settings - Fork 20
/
batchdenoisedlg.h
51 lines (33 loc) · 881 Bytes
/
batchdenoisedlg.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
#ifndef BATCHDENOISEDLG_H
#define BATCHDENOISEDLG_H
#include <QDialog>
#include <QTimer>
namespace Ui {
class BatchDenoiseDlg;
}
class BatchDenoiseDlg : public QDialog
{
Q_OBJECT
public:
explicit BatchDenoiseDlg(QWidget *parent = nullptr);
~BatchDenoiseDlg();
// if we included mainwindow.h in here it would result in circular dependency problem so we include it in the .cpp
// and make it a void* here
void* pMainWindow;
private slots:
void IterateDo();
void on_btnFindFolder_clicked();
void on_edtFolPath_editingFinished();
void on_btnStart_clicked();
private:
void SetControls(bool En);
QStringList Files;
QTimer* timIter;
int32_t ProcessedFiles;
int32_t CurrentIndex;
int32_t Failures;
void SetLabel();
void UpdateDirectory();
Ui::BatchDenoiseDlg *ui;
};
#endif // BATCHDENOISEDLG_H