From 44913a15c1fc6cdf42e1fb49cf702133a90296f0 Mon Sep 17 00:00:00 2001 From: flykhan Date: Thu, 31 Aug 2023 14:14:00 +0800 Subject: [PATCH] temp modify --- mainwindow.cpp | 15 +++++++++++++++ mainwindow.h | 12 +++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 9db2498..0027163 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -314,3 +314,18 @@ void MainWindow::on_next_btn_clicked() { player_rewind_or_forward(10); // 快退 10 秒 } + +void MainWindow::on_mute_btn_clicked() +{ + +} + +void MainWindow::on_volume_down_btn_clicked() +{ + +} + +void MainWindow::on_volume_up_btn_clicked() +{ + +} diff --git a/mainwindow.h b/mainwindow.h index 40fafc7..efebef3 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -47,7 +47,7 @@ public: public slots: void playNextSong(); // 切换歌曲槽函数I void playLastSong(); - void player_rewind_or_forward(int seconds); // 快进快退函数 + void player_rewind_or_forward(int seconds); // 快进快退函数 void setCurrentTimeLabel(int time); // 设置当前时间标签槽函数 void setCurrentSlider(int currentProgress); // 设置当前进度条 @@ -62,6 +62,16 @@ private slots: void on_front_btn_clicked(); + void on_last_btn_clicked(); + + void on_next_btn_clicked(); + + void on_mute_btn_clicked(); + + void on_volume_down_btn_clicked(); + + void on_volume_up_btn_clicked(); + private: Ui::MainWindow *ui; };