-
Notifications
You must be signed in to change notification settings - Fork 1
/
mainwindow.h
50 lines (31 loc) · 934 Bytes
/
mainwindow.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
50
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
void init();
protected:
void keyPressEvent(QKeyEvent *event);
private slots:
void slot_start_play_video();
void slot_pause_play_video();
void slot_change_audio_volume(int volume);
void slot_seek_video_position(double position);
void slot_show_about_developer();
void slot_open_video_file();
void slot_close_video_file();
void slot_media_show_full_screen();
void slot_thread_save_capture_status(bool status, const QString &path);
void slot_system_output_message(const QString &message);
void slot_start_play_target_media(const QString &path);
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H