Bitcoin ABC 0.30.7
P2P Digital Currency
|
WalletView class. More...
#include <walletview.h>
Public Slots | |
void | gotoOverviewPage () |
Switch to overview (home) page. More... | |
void | gotoHistoryPage () |
Switch to history (transactions) page. More... | |
void | gotoReceiveCoinsPage () |
Switch to receive coins page. More... | |
void | gotoSendCoinsPage (QString addr="") |
Switch to send coins page. More... | |
void | gotoSignMessageTab (QString addr="") |
Show Sign/Verify Message dialog and switch to sign message tab. More... | |
void | gotoVerifyMessageTab (QString addr="") |
Show Sign/Verify Message dialog and switch to verify message tab. More... | |
void | gotoLoadPSBT () |
Load Partially Signed Bitcoin Transaction. More... | |
void | processNewTransaction (const QModelIndex &parent, int start, int end) |
Show incoming transaction notification for new transactions. More... | |
void | encryptWallet () |
Encrypt the wallet. More... | |
void | backupWallet () |
Backup the wallet. More... | |
void | changePassphrase () |
Change encrypted wallet passphrase. More... | |
void | unlockWallet () |
Ask for passphrase to unlock wallet temporarily. More... | |
void | usedSendingAddresses () |
Show used sending addresses. More... | |
void | usedReceivingAddresses () |
Show used receiving addresses. More... | |
void | updateEncryptionStatus () |
Re-emit encryption status signal. More... | |
void | showProgress (const QString &title, int nProgress) |
Show progress dialog e.g. More... | |
void | requestedSyncWarningInfo () |
User has requested more information about the out of sync state. More... | |
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. More... | |
void | encryptionStatusChanged () |
Encryption status of wallet changed. More... | |
void | hdEnabledStatusChanged () |
HD-Enabled status of wallet changed (only possible during startup) More... | |
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. More... | |
void | outOfSyncWarningClicked () |
Notify that the out of sync warning icon has been pressed. More... | |
Public Member Functions | |
WalletView (const PlatformStyle *platformStyle, WalletModel *walletModel, QWidget *parent) | |
~WalletView () | |
void | setClientModel (ClientModel *clientModel) |
Set the client model. More... | |
WalletModel * | getWalletModel () |
void | setWalletModel (WalletModel *walletModel) |
Set the wallet model. More... | |
bool | handlePaymentRequest (const SendCoinsRecipient &recipient) |
void | showOutOfSyncWarning (bool fShow) |
Private Attributes | |
ClientModel * | clientModel |
WalletModel * | walletModel |
OverviewPage * | overviewPage |
QWidget * | transactionsPage |
ReceiveCoinsDialog * | receiveCoinsPage |
SendCoinsDialog * | sendCoinsPage |
AddressBookPage * | usedSendingAddressesPage |
AddressBookPage * | usedReceivingAddressesPage |
TransactionView * | transactionView |
QProgressDialog * | progressDialog {nullptr} |
const PlatformStyle * | platformStyle |
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.
|
slot |
Switch to send coins page.
Definition at line 215 of file walletview.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to sign message tab.
Definition at line 223 of file walletview.cpp.
|
slot |
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 | ) |
Definition at line 345 of file walletview.cpp.
|
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.
|
signal |
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.
void WalletView::showOutOfSyncWarning | ( | bool | fShow | ) |
Definition at line 349 of file walletview.cpp.
|
slot |
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.