按钮图标修改测试
This commit is contained in:
parent
aad4cb963f
commit
0fe9ca51a1
|
@ -198,3 +198,8 @@ void MainWindow::setCurrentSlider(int currentProgress)
|
|||
// 设置时间滑动条状态
|
||||
ui->time_slider->setValue(currentProgress);
|
||||
}
|
||||
|
||||
void MainWindow::on_play_btn_clicked()
|
||||
{
|
||||
ui->play_btn->setIcon(QIcon(":/icon/button"));
|
||||
}
|
||||
|
|
|
@ -51,6 +51,9 @@ signals:
|
|||
void currentTimeSignal(int time); // 当前时间信号
|
||||
void currentProgressSignal(int currentProgress); // 当前进度信号
|
||||
|
||||
private slots:
|
||||
void on_play_btn_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue