ui->viewButton->setIcon(QIcon(":/icons/"+_icons_theme+"/playback.png"));
_top_gradient = ui->topWidget->styleSheet();
_bottom_gradient = ui->bottomWidget->styleSheet();
+ ui->countdownWidget->hide();
// dbus
_dbusadaptor = new DBusAdaptop(_player);
_player->play();
}
}
+
+void PlayerForm::showCountdown(QString text) {
+ ui->countdownWidget->show();
+ ui->timeLabel->setText(text);
+}
+
+void PlayerForm::hideCountdown() {
+ ui->countdownWidget->hide();
+}