Merge pull request #1314 from Diapolo/Wallet_Transaction_state_Overviewpage

GUI: add 2 labels to the overviewpage that display Wallet and Transaction status
This commit is contained in:
Wladimir J. van der Laan
2012-05-17 14:13:23 -07:00
4 changed files with 98 additions and 46 deletions

View File

@@ -574,12 +574,16 @@ void BitcoinGUI::setNumBlocks(int count)
{
tooltip = tr("Up to date") + QString(".<br>") + tooltip;
labelBlocksIcon->setPixmap(QIcon(":/icons/synced").pixmap(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE));
overviewPage->showOutOfSyncWarning(false);
}
else
{
tooltip = tr("Catching up...") + QString("<br>") + tooltip;
labelBlocksIcon->setMovie(syncIconMovie);
syncIconMovie->start();
overviewPage->showOutOfSyncWarning(true);
}
if(!text.isEmpty())