-
Notifications
You must be signed in to change notification settings - Fork 8
/
moviemod.h
49 lines (40 loc) · 879 Bytes
/
moviemod.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
#ifndef MOVIEMOD_H
#define MOVIEMOD_H
#include <QWidget>
#include <QMainWindow>
#include <QLabel>
#include <QTextEdit>
#include <QPushButton>
#include <QLineEdit>
#include <QFileDialog>
#include <QProcess>
#include <QFileSystemWatcher>
class Moviemod : public QWidget
{
Q_OBJECT
public:
explicit Moviemod(QWidget *parent);
~Moviemod();
// QString path_srt;
private:
QLabel* websitelabel;
QLabel* streamlabel;
QLineEdit* websitetext;
QLineEdit* streamtext;
QPushButton* okbtn;
QPushButton* closebtn;
QPushButton* choosemoive;
QLineEdit* moviename;
QPushButton* choosesrt;
QLineEdit* srt_name;
QProcess* process_0;
QFileSystemWatcher fswatcher;
signals:
public slots:
void mkandexcute_shell();
void showfile();
void showsrt();
void downsrt();
void setsrt(QString);
};
#endif // MOVIEMOD_H