-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.hpp
54 lines (45 loc) · 1.02 KB
/
MainWindow.hpp
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 <QtWidgets/QWidget>
#include <QtCore/QProcess>
#include "AboutWindow.hpp"
#include <string>
class QPushButton;
class QTextBrowser;
class QLabel;
class QFileDialog;
class QComboBox;
class QMenuBar;
class QMenu;
class QAction;
class MainWindow : public QWidget {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void onButtonReleased();
void onCaptureProcessOutput();
void onOpenFile();
void onExit();
void onAbout();
private:
void createActionMenu();
void createMenu();
QFileDialog* m_file_dialog;
QComboBox* m_bitrate;
QComboBox* m_extension;
QPushButton* m_start;
QPushButton* m_open;
QTextBrowser* m_txtbrowser;
QTextBrowser* m_srcfile;
QLabel* m_label;
QProcess m_process;
QMenuBar* m_menu;
QMenu* m_fileMenu;
QMenu* m_helpMenu;
QAction* m_actionExit;
QAction* m_actionAbout;
AboutWindow* mw_about;
};
#endif // __MAINWINDOW_H__