mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-03 20:29:46 -08:00
Updated UserInterface
This commit is contained in:
@@ -25,12 +25,6 @@ InfoPage::InfoPage(QWidget *parent) :
|
||||
void InfoPage::setWalletModel(WalletModel *model)
|
||||
{
|
||||
this->walletModel = model;
|
||||
if(model)
|
||||
{
|
||||
// subscribe to transaction changes
|
||||
connect(model, SIGNAL(numTransactionsChanged(int)), this, SLOT(setNumTransactions(int)));
|
||||
setNumTransactions(model->getNumTransactions());
|
||||
}
|
||||
}
|
||||
|
||||
void InfoPage::setClientModel(ClientModel *model)
|
||||
@@ -65,11 +59,6 @@ void InfoPage::setNumBlocks(int count, int countOfPeers)
|
||||
}
|
||||
}
|
||||
|
||||
void InfoPage::setNumTransactions(int count)
|
||||
{
|
||||
ui->txtTransactionCount->setText(QString::number(count));
|
||||
}
|
||||
|
||||
double InfoPage::GetNetworkHashRate(int lookup, int height) {
|
||||
CBlockIndex *pb = pindexBest;
|
||||
|
||||
@@ -119,7 +108,8 @@ void InfoPage::createExchangesWidget()
|
||||
ui->verticalLayoutExchanges->addWidget( exchangesWidget->dockQmlToWidget() );
|
||||
}
|
||||
|
||||
void InfoPage::setCoinFiatValue(QString coinValue)
|
||||
void InfoPage::setCoinValues(QString coinValue, QString coinFiatValue)
|
||||
{
|
||||
ui->txtCoinFiatValue->setText(coinValue);
|
||||
ui->txtCoinValue->setText(coinValue);
|
||||
ui->txtCoinFiatValue->setText(coinFiatValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user