Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletview.cpp
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | void WalletView::processNewTransaction(const QModelIndex &parent, int start, | ||||
QModelIndex index = ttm->index(start, 0, parent); | QModelIndex index = ttm->index(start, 0, parent); | ||||
QString address = | QString address = | ||||
ttm->data(index, TransactionTableModel::AddressRole).toString(); | ttm->data(index, TransactionTableModel::AddressRole).toString(); | ||||
QString label = | QString label = | ||||
ttm->data(index, TransactionTableModel::LabelRole).toString(); | ttm->data(index, TransactionTableModel::LabelRole).toString(); | ||||
Q_EMIT incomingTransaction(date, | Q_EMIT incomingTransaction(date, | ||||
walletModel->getOptionsModel()->getDisplayUnit(), | walletModel->getOptionsModel()->getDisplayUnit(), | ||||
amount, type, address, label); | Amount(amount), type, address, label); | ||||
} | } | ||||
void WalletView::gotoOverviewPage() { | void WalletView::gotoOverviewPage() { | ||||
setCurrentWidget(overviewPage); | setCurrentWidget(overviewPage); | ||||
} | } | ||||
void WalletView::gotoHistoryPage() { | void WalletView::gotoHistoryPage() { | ||||
setCurrentWidget(transactionsPage); | setCurrentWidget(transactionsPage); | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |