![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#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 | processNewTransaction (const QModelIndex &parent, int start, int) |
| 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 | showProgress (const QString &title, int nProgress) |
| Show progress dialog e.g. | |
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 | incomingTransaction (const QString &date, BitcoinUnit unit, const CAmount &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 (WalletModel *wallet_model, const PlatformStyle *platformStyle, QWidget *parent) | |
| ~WalletView () | |
| void | setClientModel (ClientModel *clientModel) |
| Set the client model. | |
| WalletModel * | getWalletModel () const noexcept |
| bool | handlePaymentRequest (const SendCoinsRecipient &recipient) |
| void | showOutOfSyncWarning (bool fShow) |
Private Slots | |
| void | disableTransactionView (bool disable) |
Private Attributes | |
| ClientModel * | clientModel {nullptr} |
| WalletModel *const | walletModel |
| OverviewPage * | overviewPage |
| QWidget * | transactionsPage |
| ReceiveCoinsDialog * | receiveCoinsPage |
| SendCoinsDialog * | sendCoinsPage |
| AddressBookPage * | usedSendingAddressesPage |
| AddressBookPage * | usedReceivingAddressesPage |
| TransactionView * | transactionView |
| QProgressDialog * | progressDialog {nullptr} |
| const PlatformStyle * | platformStyle |
Definition at line 34 of file walletview.h.
|
explicit |
|
default |
|
slot |
Backup the wallet.
Definition at line 211 of file walletview.cpp.
|
slot |
Change encrypted wallet passphrase.
Definition at line 231 of file walletview.cpp.
|
signal |
|
privateslot |
|
signal |
Encryption status of wallet changed.
|
slot |
Encrypt the wallet.
Definition at line 203 of file walletview.cpp.
|
inlinenoexcept |
|
slot |
Switch to history (transactions) page.
Definition at line 151 of file walletview.cpp.
|
slot |
Switch to overview (home) page.
Definition at line 146 of file walletview.cpp.
|
slot |
Switch to receive coins page.
Definition at line 156 of file walletview.cpp.
|
slot |
Switch to send coins page.
Definition at line 161 of file walletview.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to sign message tab.
Definition at line 169 of file walletview.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to verify message tab.
Definition at line 181 of file walletview.cpp.
| bool WalletView::handlePaymentRequest | ( | const SendCoinsRecipient & | recipient | ) |
|
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 125 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 116 of file walletview.cpp.
|
signal |
| void WalletView::showOutOfSyncWarning | ( | bool | fShow | ) |
|
slot |
Show progress dialog e.g.
for rescan
Definition at line 260 of file walletview.cpp.
|
signal |
|
slot |
Ask for passphrase to unlock wallet temporarily.
Definition at line 238 of file walletview.cpp.
|
slot |
Show used receiving addresses.
Definition at line 255 of file walletview.cpp.
|
slot |
Show used sending addresses.
Definition at line 250 of file walletview.cpp.
|
private |
Definition at line 53 of file walletview.h.
|
private |
Definition at line 61 of file walletview.h.
|
private |
Definition at line 71 of file walletview.h.
|
private |
Definition at line 70 of file walletview.h.
|
private |
Definition at line 63 of file walletview.h.
|
private |
Definition at line 64 of file walletview.h.
|
private |
Definition at line 62 of file walletview.h.
|
private |
Definition at line 68 of file walletview.h.
|
private |
Definition at line 66 of file walletview.h.
|
private |
Definition at line 65 of file walletview.h.
|
private |
The wallet model represents a bitcoin wallet, and offers access to the list of transactions, address book and sending functionality.
Definition at line 59 of file walletview.h.