Browse Source

Use animated logo for sending and shutting down, we can use custom graphics later on

pull/169/head
Duke Leto 4 years ago
parent
commit
20f0fc3815
  1. 4
      src/rpc.cpp
  2. 6
      src/sendtab.cpp

4
src/rpc.cpp

@ -1218,6 +1218,10 @@ void RPC::shutdownZcashd() {
Ui_ConnectionDialog connD;
connD.setupUi(&d);
//connD.topIcon->setBasePixmap(QIcon(":/icons/res/icon.ico").pixmap(256, 256));
QMovie *movie = new QMovie(":/img/res/silentdragon-animated.gif");
connD.topIcon->setMovie(movie);
movie->start();
connD.status->setText(QObject::tr("Please enhance your calm and wait for SilentDragon to exit"));
connD.statusDetail->setText(QObject::tr("Waiting for hushd to exit, y'all"));

6
src/sendtab.cpp

@ -711,7 +711,11 @@ void MainWindow::sendButton() {
auto d = new QDialog(this);
auto connD = new Ui_ConnectionDialog();
connD->setupUi(d);
QPixmap logo(":/img/res/logobig.gif");
QMovie *movie = new QMovie(":/img/res/silentdragon-animated.gif");
connD->topIcon->setMovie(movie);
movie->start();
//connD->topIcon->setBasePixmap(logo.scaled(256, 256, Qt::KeepAspectRatio, Qt::SmoothTransformation));
connD->status->setText(tr("Please wait..."));

Loading…
Cancel
Save