Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
Show First 20 Lines • Show All 1,019 Lines • ▼ Show 20 Lines | void BitcoinGUI::showEvent(QShowEvent *event) { | ||||
// enable the debug window when the main window shows up | // enable the debug window when the main window shows up | ||||
openRPCConsoleAction->setEnabled(true); | openRPCConsoleAction->setEnabled(true); | ||||
aboutAction->setEnabled(true); | aboutAction->setEnabled(true); | ||||
optionsAction->setEnabled(true); | optionsAction->setEnabled(true); | ||||
} | } | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
void BitcoinGUI::incomingTransaction(const QString &date, int unit, | void BitcoinGUI::incomingTransaction(const QString &date, int unit, | ||||
const CAmount &amount, const QString &type, | const Amount amount, const QString &type, | ||||
const QString &address, | const QString &address, | ||||
const QString &label) { | const QString &label) { | ||||
// On new transaction, make an info balloon | // On new transaction, make an info balloon | ||||
QString msg = tr("Date: %1\n").arg(date) + | QString msg = tr("Date: %1\n").arg(date) + | ||||
tr("Amount: %1\n") | tr("Amount: %1\n") | ||||
.arg(BitcoinUnits::formatWithUnit(unit, amount, true)) + | .arg(BitcoinUnits::formatWithUnit(unit, amount, true)) + | ||||
tr("Type: %1\n").arg(type); | tr("Type: %1\n").arg(type); | ||||
if (!label.isEmpty()) | if (!label.isEmpty()) | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |