Bitcoin ABC 0.26.3
P2P Digital Currency
|
WalletView class. More...
#include <walletview.h>
Public Slots | |
void | gotoOverviewPage () |
Switch to overview (home) page. | |
void | gotoHistoryPage () |
Switch to history (transactions) page. | |
void | gotoReceiveCoinsPage () |
Switch to receive coins page. | |
void | gotoSendCoinsPage (QString addr="") |
Switch to send coins page. | |
void | gotoSignMessageTab (QString addr="") |
Show Sign/Verify Message dialog and switch to sign message tab. | |
void | gotoVerifyMessageTab (QString addr="") |
Show Sign/Verify Message dialog and switch to verify message tab. | |
void | gotoLoadPSBT () |
Load Partially Signed Bitcoin Transaction. | |
void | processNewTransaction (const QModelIndex &parent, int start, int end) |
Show incoming transaction notification for new transactions. | |
void | encryptWallet () |
Encrypt the wallet. | |
void | backupWallet () |
Backup the wallet. | |
void | changePassphrase () |
Change encrypted wallet passphrase. | |
void | unlockWallet () |
Ask for passphrase to unlock wallet temporarily. | |
void | usedSendingAddresses () |
Show used sending addresses. | |
void | usedReceivingAddresses () |
Show used receiving addresses. | |
void | updateEncryptionStatus () |
Re-emit encryption status signal. | |
void | showProgress (const QString &title, int nProgress) |
Show progress dialog e.g. | |
void | requestedSyncWarningInfo () |
User has requested more information about the out of sync state. | |
Signals | |
void | setPrivacy (bool privacy) |
void | transactionClicked () |
void | coinsSent () |
void | message (const QString &title, const QString &message, unsigned int style) |
Fired when a message should be reported to the user. | |
void | encryptionStatusChanged () |
Encryption status of wallet changed. | |
void | hdEnabledStatusChanged () |
HD-Enabled status of wallet changed (only possible during startup) | |
void | incomingTransaction (const QString &date, int unit, const Amount amount, const QString &type, const QString &address, const QString &label, const QString &walletName) |
Notify that a new transaction appeared. | |
void | outOfSyncWarningClicked () |
Notify that the out of sync warning icon has been pressed. | |
Public Member Functions | |
WalletView (const PlatformStyle *platformStyle, WalletModel *walletModel, QWidget *parent) | |
~WalletView () | |
void | setClientModel (ClientModel *clientModel) |
Set the client model. | |
WalletModel * | getWalletModel () |
void | setWalletModel (WalletModel *walletModel) |
Set the wallet model. | |
bool | handlePaymentRequest (const SendCoinsRecipient &recipient) |
void | showOutOfSyncWarning (bool fShow) |
WalletView class.
This class represents the view to a single wallet. It was added to support multiple wallet functionality. Each wallet gets its own WalletView instance. It communicates with both the client and the wallet models to give the user an up-to-date view of the current core state.
Definition at line 34 of file walletview.h.
WalletView::WalletView | ( | const PlatformStyle * | platformStyle, |
WalletModel * | walletModel, | ||
QWidget * | parent | ||
) |
WalletView::~WalletView | ( | ) |
Definition at line 116 of file walletview.cpp.
|
slot |
Backup the wallet.
Definition at line 368 of file walletview.cpp.
|
slot |
Change encrypted wallet passphrase.
Definition at line 391 of file walletview.cpp.
|
signal |
|
signal |
Encryption status of wallet changed.
|
slot |
Encrypt the wallet.
Definition at line 357 of file walletview.cpp.
|
inline |
|
slot |
Switch to history (transactions) page.
Definition at line 207 of file walletview.cpp.
|
slot |
Load Partially Signed Bitcoin Transaction.
Definition at line 249 of file walletview.cpp.
|
slot |
Switch to overview (home) page.
Definition at line 203 of file walletview.cpp.
|
slot |
Switch to receive coins page.
Definition at line 211 of file walletview.cpp.
Switch to send coins page.
Definition at line 215 of file walletview.cpp.
Show Sign/Verify Message dialog and switch to sign message tab.
Definition at line 223 of file walletview.cpp.
Show Sign/Verify Message dialog and switch to verify message tab.
Definition at line 236 of file walletview.cpp.
bool WalletView::handlePaymentRequest | ( | const SendCoinsRecipient & | recipient | ) |
|
signal |
HD-Enabled status of wallet changed (only possible during startup)
|
signal |
Notify that a new transaction appeared.
|
signal |
Fired when a message should be reported to the user.
|
signal |
Notify that the out of sync warning icon has been pressed.
|
slot |
Show incoming transaction notification for new transactions.
The new items are those between start and end inclusive, under the given parent item.
Definition at line 169 of file walletview.cpp.
|
slot |
User has requested more information about the out of sync state.
Definition at line 449 of file walletview.cpp.
void WalletView::setClientModel | ( | ClientModel * | clientModel | ) |
Set the client model.
The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic.
Definition at line 118 of file walletview.cpp.
void WalletView::setWalletModel | ( | WalletModel * | walletModel | ) |
Set the wallet model.
The wallet model represents a bitcoin wallet, and offers access to the list of transactions, address book and sending functionality.
Definition at line 128 of file walletview.cpp.
Show progress dialog e.g.
for rescan
Definition at line 426 of file walletview.cpp.
|
signal |
|
slot |
Ask for passphrase to unlock wallet temporarily.
Definition at line 397 of file walletview.cpp.
|
slot |
Re-emit encryption status signal.
Definition at line 353 of file walletview.cpp.
|
slot |
Show used receiving addresses.
Definition at line 418 of file walletview.cpp.
|
slot |
Show used sending addresses.
Definition at line 410 of file walletview.cpp.
|
private |
Definition at line 61 of file walletview.h.
|
private |
Definition at line 64 of file walletview.h.
|
private |
Definition at line 74 of file walletview.h.
|
private |
Definition at line 73 of file walletview.h.
|
private |
Definition at line 66 of file walletview.h.
|
private |
Definition at line 67 of file walletview.h.
|
private |
Definition at line 65 of file walletview.h.
|
private |
Definition at line 71 of file walletview.h.
|
private |
Definition at line 69 of file walletview.h.
|
private |
Definition at line 68 of file walletview.h.
|
private |
Definition at line 62 of file walletview.h.