![]() |
Bitcoin Core
22.0.0
P2P Digital Currency
|
A container for embedding all wallet-related controls into BitcoinGUI. More...
#include <walletframe.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 (bool from_clipboard=false) |
| Load Partially Signed Bitcoin Transaction. 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... | |
Signals | |
| void | createWalletButtonClicked () |
Public Member Functions | |
| WalletFrame (const PlatformStyle *platformStyle, QWidget *parent) | |
| ~WalletFrame () | |
| void | setClientModel (ClientModel *clientModel) |
| bool | addWallet (WalletModel *walletModel, WalletView *walletView) |
| void | setCurrentWallet (WalletModel *wallet_model) |
| void | removeWallet (WalletModel *wallet_model) |
| void | removeAllWallets () |
| bool | handlePaymentRequest (const SendCoinsRecipient &recipient) |
| void | showOutOfSyncWarning (bool fShow) |
| QSize | sizeHint () const override |
| WalletView * | currentWalletView () const |
| WalletModel * | currentWalletModel () const |
Private Attributes | |
| QStackedWidget * | walletStack |
| ClientModel * | clientModel |
| QMap< WalletModel *, WalletView * > | mapWalletViews |
| bool | bOutOfSync |
| const PlatformStyle * | platformStyle |
| const QSize | m_size_hint |
A container for embedding all wallet-related controls into BitcoinGUI.
The purpose of this class is to allow future refinements of the wallet controls with minimal need for further modifications to BitcoinGUI, thus greatly simplifying merges while reducing the risk of breaking top-level stuff.
Definition at line 28 of file walletframe.h.
|
explicit |
Definition at line 19 of file walletframe.cpp.
| WalletFrame::~WalletFrame | ( | ) |
Definition at line 48 of file walletframe.cpp.
| bool WalletFrame::addWallet | ( | WalletModel * | walletModel, |
| WalletView * | walletView | ||
| ) |
|
slot |
Backup the wallet.
Definition at line 200 of file walletframe.cpp.
|
slot |
Change encrypted wallet passphrase.
Definition at line 207 of file walletframe.cpp.
|
signal |
| WalletModel * WalletFrame::currentWalletModel | ( | ) | const |
Definition at line 240 of file walletframe.cpp.
| WalletView * WalletFrame::currentWalletView | ( | ) | const |
|
slot |
Encrypt the wallet.
Definition at line 193 of file walletframe.cpp.
|
slot |
Switch to history (transactions) page.
Definition at line 150 of file walletframe.cpp.
|
slot |
Load Partially Signed Bitcoin Transaction.
Definition at line 185 of file walletframe.cpp.
|
slot |
Switch to overview (home) page.
Definition at line 143 of file walletframe.cpp.
|
slot |
Switch to receive coins page.
Definition at line 157 of file walletframe.cpp.
|
slot |
Switch to send coins page.
Definition at line 164 of file walletframe.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to sign message tab.
Definition at line 171 of file walletframe.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to verify message tab.
Definition at line 178 of file walletframe.cpp.
| bool WalletFrame::handlePaymentRequest | ( | const SendCoinsRecipient & | recipient | ) |
| void WalletFrame::removeAllWallets | ( | ) |
Definition at line 118 of file walletframe.cpp.
| void WalletFrame::removeWallet | ( | WalletModel * | wallet_model | ) |
Definition at line 109 of file walletframe.cpp.
| void WalletFrame::setClientModel | ( | ClientModel * | clientModel | ) |
| void WalletFrame::setCurrentWallet | ( | WalletModel * | wallet_model | ) |
| void WalletFrame::showOutOfSyncWarning | ( | bool | fShow | ) |
|
inlineoverride |
Definition at line 47 of file walletframe.h.
|
slot |
Ask for passphrase to unlock wallet temporarily.
Definition at line 214 of file walletframe.cpp.
|
slot |
Show used receiving addresses.
Definition at line 228 of file walletframe.cpp.
|
slot |
Show used sending addresses.
Definition at line 221 of file walletframe.cpp.
|
private |
Definition at line 57 of file walletframe.h.
|
private |
Definition at line 54 of file walletframe.h.
|
private |
Definition at line 61 of file walletframe.h.
|
private |
Definition at line 55 of file walletframe.h.
|
private |
Definition at line 59 of file walletframe.h.
|
private |
Definition at line 53 of file walletframe.h.
1.8.14