temp modify

This commit is contained in:
flykhan 2023-08-31 14:14:00 +08:00
parent 51eed417f5
commit 44913a15c1
2 changed files with 26 additions and 1 deletions

View File

@ -314,3 +314,18 @@ void MainWindow::on_next_btn_clicked()
{ {
player_rewind_or_forward(10); // 快退 10 秒 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()
{
}

View File

@ -47,7 +47,7 @@ public:
public slots: public slots:
void playNextSong(); // 切换歌曲槽函数I void playNextSong(); // 切换歌曲槽函数I
void playLastSong(); void playLastSong();
void player_rewind_or_forward(int seconds) // 快进快退函数 void player_rewind_or_forward(int seconds); // 快进快退函数
void setCurrentTimeLabel(int time); // 设置当前时间标签槽函数 void setCurrentTimeLabel(int time); // 设置当前时间标签槽函数
void setCurrentSlider(int currentProgress); // 设置当前进度条 void setCurrentSlider(int currentProgress); // 设置当前进度条
@ -62,6 +62,16 @@ private slots:
void on_front_btn_clicked(); 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: private:
Ui::MainWindow *ui; Ui::MainWindow *ui;
}; };