-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmainwidget.h
37 lines (33 loc) · 896 Bytes
/
mainwidget.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QString>
#include <QFileDialog>
#include <QLineEdit>
#include <QTextStream>
#include <QMessageBox>
#include <QProgressBar>
#include <QDebug>
#include <iostream>
namespace Ui
{
class MainWidget;
}
class MainWidget : public QWidget
{
Q_OBJECT
private :
QString fileToRead;
QLineEdit *lineFiletodecode;
QString fileToWrite;
QLineEdit *lineWriteFile;
QProgressBar* progressBar;
public:
explicit MainWidget(QWidget *parent = 0);
~MainWidget();
public slots:
void getPathFileToRead(); //this slot is called when the user hit the find path button for reading the js
void getPathFileToWrite(); //this slot is called when the user hit the find path button for writing the export file
void processFile(); // this slot is called when the user begin the scan
};
#endif // MAINWINDOW_H