Dash Core  0.12.2.1
P2P Digital Currency
WalletFrame Class Reference

#include <walletframe.h>

+ Inheritance diagram for WalletFrame:

Public Slots

void gotoOverviewPage ()
 
void gotoHistoryPage ()
 
void gotoMasternodePage ()
 
void gotoReceiveCoinsPage ()
 
void gotoSendCoinsPage (QString addr="")
 
void gotoSignMessageTab (QString addr="")
 
void gotoVerifyMessageTab (QString addr="")
 
void encryptWallet (bool status)
 
void backupWallet ()
 
void changePassphrase ()
 
void unlockWallet ()
 
void lockWallet ()
 
void usedSendingAddresses ()
 
void usedReceivingAddresses ()
 
void outOfSyncWarningClicked ()
 

Signals

void requestedSyncWarningInfo ()
 

Public Member Functions

 WalletFrame (const PlatformStyle *platformStyle, BitcoinGUI *_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

WalletViewcurrentWalletView ()
 

Private Attributes

QStackedWidget * walletStack
 
BitcoinGUIgui
 
ClientModelclientModel
 
QMap< QString, WalletView * > mapWalletViews
 
bool bOutOfSync
 
const PlatformStyleplatformStyle
 

Detailed Description

Definition at line 22 of file walletframe.h.

Constructor & Destructor Documentation

◆ WalletFrame()

WalletFrame::WalletFrame ( const PlatformStyle platformStyle,
BitcoinGUI _gui = 0 
)
explicit

Definition at line 15 of file walletframe.cpp.

◆ ~WalletFrame()

WalletFrame::~WalletFrame ( )

Definition at line 32 of file walletframe.cpp.

Member Function Documentation

◆ addWallet()

bool WalletFrame::addWallet ( const QString &  name,
WalletModel walletModel 
)

Definition at line 41 of file walletframe.cpp.

◆ backupWallet

void WalletFrame::backupWallet ( )
slot

Backup the wallet

Definition at line 167 of file walletframe.cpp.

◆ changePassphrase

void WalletFrame::changePassphrase ( )
slot

Change encrypted wallet passphrase

Definition at line 174 of file walletframe.cpp.

◆ currentWalletView()

◆ encryptWallet

void WalletFrame::encryptWallet ( bool  status)
slot

Encrypt the wallet

Definition at line 160 of file walletframe.cpp.

◆ gotoHistoryPage

void WalletFrame::gotoHistoryPage ( )
slot

Switch to history (transactions) page

Definition at line 118 of file walletframe.cpp.

◆ gotoMasternodePage

void WalletFrame::gotoMasternodePage ( )
slot

Switch to masternode page

Definition at line 125 of file walletframe.cpp.

◆ gotoOverviewPage

void WalletFrame::gotoOverviewPage ( )
slot

Switch to overview (home) page

Definition at line 111 of file walletframe.cpp.

◆ gotoReceiveCoinsPage

void WalletFrame::gotoReceiveCoinsPage ( )
slot

Switch to receive coins page

Definition at line 132 of file walletframe.cpp.

◆ gotoSendCoinsPage

void WalletFrame::gotoSendCoinsPage ( QString  addr = "")
slot

Switch to send coins page

Definition at line 139 of file walletframe.cpp.

◆ gotoSignMessageTab

void WalletFrame::gotoSignMessageTab ( QString  addr = "")
slot

Show Sign/Verify Message dialog and switch to sign message tab

Definition at line 146 of file walletframe.cpp.

◆ gotoVerifyMessageTab

void WalletFrame::gotoVerifyMessageTab ( QString  addr = "")
slot

Show Sign/Verify Message dialog and switch to verify message tab

Definition at line 153 of file walletframe.cpp.

◆ handlePaymentRequest()

bool WalletFrame::handlePaymentRequest ( const SendCoinsRecipient recipient)

Definition at line 94 of file walletframe.cpp.

◆ lockWallet

void WalletFrame::lockWallet ( )
slot

Lock wallet

Definition at line 188 of file walletframe.cpp.

◆ outOfSyncWarningClicked

void WalletFrame::outOfSyncWarningClicked ( )
slot

Pass on signal over requested out-of-sync-warning information

Definition at line 214 of file walletframe.cpp.

Referenced by addWallet().

◆ removeAllWallets()

void WalletFrame::removeAllWallets ( )

Definition at line 86 of file walletframe.cpp.

◆ removeWallet()

bool WalletFrame::removeWallet ( const QString &  name)

Definition at line 76 of file walletframe.cpp.

◆ requestedSyncWarningInfo

void WalletFrame::requestedSyncWarningInfo ( )
signal

Notify that the user has requested more information about the out-of-sync warning

Definition at line 202 of file moc_walletframe.cpp.

Referenced by outOfSyncWarningClicked().

◆ setClientModel()

void WalletFrame::setClientModel ( ClientModel clientModel)

Definition at line 36 of file walletframe.cpp.

Referenced by BitcoinGUI::setClientModel().

◆ setCurrentWallet()

bool WalletFrame::setCurrentWallet ( const QString &  name)

Definition at line 65 of file walletframe.cpp.

◆ showOutOfSyncWarning()

void WalletFrame::showOutOfSyncWarning ( bool  fShow)

◆ unlockWallet

void WalletFrame::unlockWallet ( )
slot

Ask for passphrase to unlock wallet temporarily

Definition at line 181 of file walletframe.cpp.

◆ usedReceivingAddresses

void WalletFrame::usedReceivingAddresses ( )
slot

Show used receiving addresses

Definition at line 202 of file walletframe.cpp.

◆ usedSendingAddresses

void WalletFrame::usedSendingAddresses ( )
slot

Show used sending addresses

Definition at line 195 of file walletframe.cpp.

Member Data Documentation

◆ bOutOfSync

bool WalletFrame::bOutOfSync
private

Definition at line 51 of file walletframe.h.

Referenced by addWallet(), and showOutOfSyncWarning().

◆ clientModel

ClientModel* WalletFrame::clientModel
private

Definition at line 48 of file walletframe.h.

Referenced by addWallet(), and setClientModel().

◆ gui

BitcoinGUI* WalletFrame::gui
private

Definition at line 47 of file walletframe.h.

Referenced by addWallet().

◆ mapWalletViews

◆ platformStyle

const PlatformStyle* WalletFrame::platformStyle
private

Definition at line 53 of file walletframe.h.

Referenced by addWallet().

◆ walletStack

QStackedWidget* WalletFrame::walletStack
private

The documentation for this class was generated from the following files: