2023-08-29 17:08:51 +08:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
|
2023-08-29 21:14:28 +08:00
|
|
|
#include <unistd.h>
|
2023-08-30 16:09:27 +08:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <cstdio>
|
2023-08-29 21:14:28 +08:00
|
|
|
|
2023-08-29 17:08:51 +08:00
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
namespace Ui { class MainWindow; }
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
MainWindow(QWidget *parent = nullptr);
|
|
|
|
~MainWindow();
|
|
|
|
|
2023-08-29 20:24:16 +08:00
|
|
|
public:
|
|
|
|
void initMainWindow();
|
2023-08-29 21:14:28 +08:00
|
|
|
void mplayerInit(); // 初始化 mplayer
|
2023-08-29 20:24:16 +08:00
|
|
|
|
2023-08-29 17:08:51 +08:00
|
|
|
private:
|
|
|
|
Ui::MainWindow *ui;
|
|
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|