Raven Core
3.0.0
P2P Digital Currency
|
A container for embedding all wallet-related controls into RavenGUI. 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 | encryptWallet (bool status) |
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 | outOfSyncWarningClicked () |
Pass on signal over requested out-of-sync-warning information. More... | |
void | gotoAssetsPage () |
RVN START. More... | |
void | gotoCreateAssetsPage () |
void | gotoManageAssetsPage () |
Signals | |
void | requestedSyncWarningInfo () |
Notify that the user has requested more information about the out-of-sync warning. More... | |
Public Member Functions | |
WalletFrame (const PlatformStyle *platformStyle, RavenGUI *_gui=0) | |
~WalletFrame () | |
void | setClientModel (ClientModel *clientModel) |
bool | addWallet (const QString &name, WalletModel *walletModel) |
bool | setCurrentWallet (const QString &name) |
bool | removeWallet (const QString &name) |
void | removeAllWallets () |
bool | handlePaymentRequest (const SendCoinsRecipient &recipient) |
void | showOutOfSyncWarning (bool fShow) |
Private Member Functions | |
WalletView * | currentWalletView () |
Private Attributes | |
QStackedWidget * | walletStack |
RavenGUI * | gui |
ClientModel * | clientModel |
QMap< QString, WalletView * > | mapWalletViews |
bool | bOutOfSync |
const PlatformStyle * | platformStyle |
A container for embedding all wallet-related controls into RavenGUI.
The purpose of this class is to allow future refinements of the wallet controls with minimal need for further modifications to RavenGUI, thus greatly simplifying merges while reducing the risk of breaking top-level stuff.
Definition at line 30 of file walletframe.h.
|
explicit |
Definition at line 17 of file walletframe.cpp.
WalletFrame::~WalletFrame | ( | ) |
Definition at line 34 of file walletframe.cpp.
bool WalletFrame::addWallet | ( | const QString & | name, |
WalletModel * | walletModel | ||
) |
Definition at line 43 of file walletframe.cpp.
|
slot |
Backup the wallet.
Definition at line 163 of file walletframe.cpp.
|
slot |
Change encrypted wallet passphrase.
Definition at line 170 of file walletframe.cpp.
|
private |
|
slot |
Encrypt the wallet.
Definition at line 156 of file walletframe.cpp.
|
slot |
RVN START.
Switch to assets page
Definition at line 209 of file walletframe.cpp.
|
slot |
|
slot |
Switch to history (transactions) page.
Definition at line 121 of file walletframe.cpp.
|
slot |
|
slot |
Switch to overview (home) page.
Definition at line 114 of file walletframe.cpp.
|
slot |
Switch to receive coins page.
Definition at line 128 of file walletframe.cpp.
|
slot |
Switch to send coins page.
Definition at line 135 of file walletframe.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to sign message tab.
Definition at line 142 of file walletframe.cpp.
|
slot |
Show Sign/Verify Message dialog and switch to verify message tab.
Definition at line 149 of file walletframe.cpp.
bool WalletFrame::handlePaymentRequest | ( | const SendCoinsRecipient & | recipient | ) |
Definition at line 97 of file walletframe.cpp.
|
slot |
Pass on signal over requested out-of-sync-warning information.
Definition at line 203 of file walletframe.cpp.
void WalletFrame::removeAllWallets | ( | ) |
bool WalletFrame::removeWallet | ( | const QString & | name | ) |
Definition at line 79 of file walletframe.cpp.
|
signal |
Notify that the user has requested more information about the out-of-sync warning.
void WalletFrame::setClientModel | ( | ClientModel * | clientModel | ) |
bool WalletFrame::setCurrentWallet | ( | const QString & | name | ) |
Definition at line 67 of file walletframe.cpp.
void WalletFrame::showOutOfSyncWarning | ( | bool | fShow | ) |
Definition at line 106 of file walletframe.cpp.
|
slot |
Ask for passphrase to unlock wallet temporarily.
Definition at line 177 of file walletframe.cpp.
|
slot |
Show used receiving addresses.
Definition at line 191 of file walletframe.cpp.
|
slot |
Show used sending addresses.
Definition at line 184 of file walletframe.cpp.
|
private |
Definition at line 59 of file walletframe.h.
|
private |
Definition at line 56 of file walletframe.h.
|
private |
Definition at line 55 of file walletframe.h.
|
private |
Definition at line 57 of file walletframe.h.
|
private |
Definition at line 61 of file walletframe.h.
|
private |
Definition at line 54 of file walletframe.h.