32 lines
632 B
C++
32 lines
632 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QProcess>
|
|
#include <QString>
|
|
#include <QMessageBox>
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui { class MainWindow; }
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
public slots:
|
|
void en_mdf_res_state_change(int state);
|
|
void press_bt_browse();
|
|
void ffmpeg_run();
|
|
void ffmpeg_info_read();
|
|
void def_cfg();
|
|
void hor_change_event();
|
|
void ver_change_event();
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
QProcess ffmpeg_process;
|
|
};
|
|
#endif // MAINWINDOW_H
|