PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
WalletFrame Class Reference

#include <walletframe.h>

Inheritance diagram for WalletFrame:
[legend]
Collaboration diagram for WalletFrame:
[legend]

Public Slots

void gotoOverviewPage ()
 Switch to overview (home) page. More...
 
void gotoHistoryPage ()
 Switch to history (transactions) page. More...
 
void gotoMasternodePage ()
 Switch to masternode page. More...
 
void gotoReceiveCoinsPage ()
 Switch to receive coins page. More...
 
void gotoOptionsPage ()
 Switch to options page. More...
 
void gotoSendCoinsPage (QString addr="")
 Switch to send coins page. More...
 
void gotoBlockExplorerPage ()
 Switch to explorer page. More...
 
void gotoMultiSendDialog ()
 Show MultiSend Dialog. More...
 
void encryptWallet (bool status)
 Encrypt the wallet. More...
 
void backupWallet ()
 Backup the wallet. More...
 
void showSeedPhrase ()
 Show 24 word seed phrase. More...
 
void changePassphrase ()
 Change encrypted wallet passphrase. More...
 
void unlockWallet (AskPassphraseDialog::Context context)
 Ask for passphrase to unlock wallet temporarily. More...
 
void unlockWallet (bool setContext)
 
void lockWallet ()
 Lock wallet. More...
 
void toggleLockWallet ()
 Toggle Wallet Lock State. More...
 
void usedSendingAddresses ()
 Show used sending addresses. More...
 
void usedReceivingAddresses ()
 Show used receiving addresses. More...
 

Public Member Functions

 WalletFrame (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 ()
 
void showSyncStatus (bool fShow)
 

Private Member Functions

WalletViewcurrentWalletView ()
 

Private Attributes

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

Detailed Description

Definition at line 25 of file walletframe.h.

Constructor & Destructor Documentation

◆ WalletFrame()

WalletFrame::WalletFrame ( BitcoinGUI _gui = 0)
explicit

Definition at line 15 of file walletframe.cpp.

◆ ~WalletFrame()

WalletFrame::~WalletFrame ( )

Definition at line 30 of file walletframe.cpp.

Member Function Documentation

◆ addWallet()

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

Definition at line 39 of file walletframe.cpp.

Here is the call graph for this function:

◆ backupWallet

void WalletFrame::backupWallet ( )
slot

Backup the wallet.

Definition at line 166 of file walletframe.cpp.

Here is the call graph for this function:

◆ changePassphrase

void WalletFrame::changePassphrase ( )
slot

Change encrypted wallet passphrase.

Definition at line 173 of file walletframe.cpp.

Here is the call graph for this function:

◆ currentWalletView()

WalletView * WalletFrame::currentWalletView ( )
private

Definition at line 232 of file walletframe.cpp.

Here is the caller graph for this function:

◆ encryptWallet

void WalletFrame::encryptWallet ( bool  status)
slot

Encrypt the wallet.

Definition at line 159 of file walletframe.cpp.

Here is the call graph for this function:

◆ gotoBlockExplorerPage

void WalletFrame::gotoBlockExplorerPage ( )
slot

Switch to explorer page.

Definition at line 118 of file walletframe.cpp.

◆ gotoHistoryPage

void WalletFrame::gotoHistoryPage ( )
slot

Switch to history (transactions) page.

Definition at line 104 of file walletframe.cpp.

◆ gotoMasternodePage

void WalletFrame::gotoMasternodePage ( )
slot

Switch to masternode page.

Definition at line 111 of file walletframe.cpp.

◆ gotoMultiSendDialog

void WalletFrame::gotoMultiSendDialog ( )
slot

Show MultiSend Dialog.

Definition at line 151 of file walletframe.cpp.

Here is the call graph for this function:

◆ gotoOptionsPage

void WalletFrame::gotoOptionsPage ( )
slot

Switch to options page.

Definition at line 132 of file walletframe.cpp.

◆ gotoOverviewPage

void WalletFrame::gotoOverviewPage ( )
slot

Switch to overview (home) page.

Definition at line 97 of file walletframe.cpp.

◆ gotoReceiveCoinsPage

void WalletFrame::gotoReceiveCoinsPage ( )
slot

Switch to receive coins page.

Definition at line 125 of file walletframe.cpp.

◆ gotoSendCoinsPage

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

Switch to send coins page.

Definition at line 139 of file walletframe.cpp.

◆ lockWallet

void WalletFrame::lockWallet ( )
slot

Lock wallet.

Definition at line 197 of file walletframe.cpp.

Here is the call graph for this function:

◆ removeAllWallets()

void WalletFrame::removeAllWallets ( )

Definition at line 81 of file walletframe.cpp.

◆ removeWallet()

bool WalletFrame::removeWallet ( const QString &  name)

Definition at line 71 of file walletframe.cpp.

◆ setClientModel()

void WalletFrame::setClientModel ( ClientModel clientModel)

Definition at line 34 of file walletframe.cpp.

Here is the caller graph for this function:

◆ setCurrentWallet()

bool WalletFrame::setCurrentWallet ( const QString &  name)

Definition at line 60 of file walletframe.cpp.

Here is the call graph for this function:

◆ showSeedPhrase

void WalletFrame::showSeedPhrase ( )
slot

Show 24 word seed phrase.

Definition at line 225 of file walletframe.cpp.

Here is the call graph for this function:

◆ showSyncStatus()

void WalletFrame::showSyncStatus ( bool  fShow)

Definition at line 89 of file walletframe.cpp.

◆ toggleLockWallet

void WalletFrame::toggleLockWallet ( )
slot

Toggle Wallet Lock State.

Definition at line 204 of file walletframe.cpp.

Here is the call graph for this function:

◆ unlockWallet [1/2]

void WalletFrame::unlockWallet ( AskPassphraseDialog::Context  context)
slot

Ask for passphrase to unlock wallet temporarily.

Definition at line 190 of file walletframe.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unlockWallet [2/2]

void WalletFrame::unlockWallet ( bool  setContext)
slot

Definition at line 180 of file walletframe.cpp.

Here is the call graph for this function:

◆ usedReceivingAddresses

void WalletFrame::usedReceivingAddresses ( )
slot

Show used receiving addresses.

Definition at line 218 of file walletframe.cpp.

Here is the call graph for this function:

◆ usedSendingAddresses

void WalletFrame::usedSendingAddresses ( )
slot

Show used sending addresses.

Definition at line 211 of file walletframe.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bOutOfSync

bool WalletFrame::bOutOfSync
private

Definition at line 45 of file walletframe.h.

◆ clientModel

ClientModel* WalletFrame::clientModel
private

Definition at line 43 of file walletframe.h.

◆ gui

BitcoinGUI* WalletFrame::gui
private

Definition at line 42 of file walletframe.h.

◆ mapWalletViews

QMap<QString, WalletView*> WalletFrame::mapWalletViews
private

Definition at line 44 of file walletframe.h.

◆ walletStack

QStackedWidget* WalletFrame::walletStack
private

Definition at line 41 of file walletframe.h.


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