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

#include <walletview.h>

Inheritance diagram for WalletView:
[legend]
Collaboration diagram for WalletView:
[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 gotoBlockExplorerPage ()
 Switch to explorer 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 gotoMultiSendDialog ()
 Show MultiSend Dialog. More...
 
void showSeedPhrase ()
 Return 24 word seed phrase. More...
 
void processNewTransaction (const QModelIndex &parent, int start, int)
 Show incoming transaction notification for new transactions. More...
 
void encryptWallet (bool status)
 Encrypt the wallet. More...
 
void backupWallet ()
 Backup the wallet. More...
 
void changePassphrase ()
 Change encrypted wallet passphrase. More...
 
void unlockWallet (AskPassphraseDialog::Context context)
 Ask for passphrase to unlock wallet temporarily. More...
 
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...
 
void updateEncryptionStatus ()
 Re-Q_EMIT encryption status signal. More...
 
void showProgress (const QString &title, int nProgress)
 Show progress dialog e.g. More...
 
void trxAmount (QString amount)
 Update selected PRCY amount from transactionview. More...
 
void stakingStatus (bool)
 

Signals

void showNormalIfMinimized ()
 Signal that we want to show the main window. More...
 
void message (const QString &title, const QString &message, unsigned int style)
 Fired when a message should be reported to the user. More...
 
void encryptionStatusChanged (int status)
 Encryption status of wallet changed. More...
 
void incomingTransaction (const QString &date, int unit, const CAmount &amount, const QString &type, const QString &address, const QString &confirmations)
 Notify that a new transaction appeared. More...
 
void stakingStatusChanged (bool)
 

Public Member Functions

 WalletView (QWidget *parent)
 
 ~WalletView ()
 
void setBitcoinGUI (BitcoinGUI *gui)
 
void setClientModel (ClientModel *clientModel)
 Set the client model. More...
 
void setWalletModel (WalletModel *walletModel)
 Set the wallet model. More...
 
void showSyncStatus (bool fShow)
 

Private Attributes

ClientModelclientModel
 
WalletModelwalletModel
 
OverviewPageoverviewPage
 
QWidget * transactionsPage
 
ReceiveCoinsDialogreceiveCoinsPage
 
OptionsPageoptionsPage
 
HistoryPagehistoryPage
 
SendCoinsDialogsendCoinsPage
 
BlockExplorerexplorerWindow
 
MasternodeListmasternodeListPage
 
TransactionViewtransactionView
 
QProgressDialog * progressDialog
 
QLabel * transactionSum
 

Detailed Description

Definition at line 38 of file walletview.h.

Constructor & Destructor Documentation

◆ WalletView()

WalletView::WalletView ( QWidget *  parent)
explicit

Definition at line 38 of file walletview.cpp.

Here is the call graph for this function:

◆ ~WalletView()

WalletView::~WalletView ( )

Definition at line 98 of file walletview.cpp.

Member Function Documentation

◆ backupWallet

void WalletView::backupWallet ( )
slot

Backup the wallet.

Definition at line 257 of file walletview.cpp.

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

◆ changePassphrase

void WalletView::changePassphrase ( )
slot

Change encrypted wallet passphrase.

Definition at line 341 of file walletview.cpp.

Here is the caller graph for this function:

◆ encryptionStatusChanged

void WalletView::encryptionStatusChanged ( int  status)
signal

Encryption status of wallet changed.

Here is the caller graph for this function:

◆ encryptWallet

void WalletView::encryptWallet ( bool  status)
slot

Encrypt the wallet.

Definition at line 246 of file walletview.cpp.

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

◆ gotoBlockExplorerPage

void WalletView::gotoBlockExplorerPage ( )
slot

Switch to explorer page.

Definition at line 204 of file walletview.cpp.

◆ gotoHistoryPage

void WalletView::gotoHistoryPage ( )
slot

Switch to history (transactions) page.

Definition at line 194 of file walletview.cpp.

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

◆ gotoMasternodePage

void WalletView::gotoMasternodePage ( )
slot

Switch to masternode page.

Definition at line 209 of file walletview.cpp.

◆ gotoMultiSendDialog

void WalletView::gotoMultiSendDialog ( )
slot

Show MultiSend Dialog.

Definition at line 229 of file walletview.cpp.

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

◆ gotoOptionsPage

void WalletView::gotoOptionsPage ( )
slot

Switch to options page.

Definition at line 219 of file walletview.cpp.

◆ gotoOverviewPage

void WalletView::gotoOverviewPage ( )
slot

Switch to overview (home) page.

Definition at line 187 of file walletview.cpp.

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

◆ gotoReceiveCoinsPage

void WalletView::gotoReceiveCoinsPage ( )
slot

Switch to receive coins page.

Definition at line 214 of file walletview.cpp.

◆ gotoSendCoinsPage

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

Switch to send coins page.

Definition at line 224 of file walletview.cpp.

◆ incomingTransaction

void WalletView::incomingTransaction ( const QString &  date,
int  unit,
const CAmount amount,
const QString &  type,
const QString &  address,
const QString &  confirmations 
)
signal

Notify that a new transaction appeared.

Here is the caller graph for this function:

◆ lockWallet

void WalletView::lockWallet ( )
slot

Lock wallet.

Definition at line 359 of file walletview.cpp.

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

◆ message

void WalletView::message ( const QString &  title,
const QString &  message,
unsigned int  style 
)
signal

Fired when a message should be reported to the user.

Here is the caller graph for this function:

◆ processNewTransaction

void WalletView::processNewTransaction ( const QModelIndex &  parent,
int  start,
int   
)
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 168 of file walletview.cpp.

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

◆ setBitcoinGUI()

void WalletView::setBitcoinGUI ( BitcoinGUI gui)

Definition at line 102 of file walletview.cpp.

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

◆ setClientModel()

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 125 of file walletview.cpp.

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

◆ setWalletModel()

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 135 of file walletview.cpp.

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

◆ showNormalIfMinimized

void WalletView::showNormalIfMinimized ( )
signal

Signal that we want to show the main window.

◆ showProgress

void WalletView::showProgress ( const QString &  title,
int  nProgress 
)
slot

Show progress dialog e.g.

for rescan

Definition at line 405 of file walletview.cpp.

Here is the caller graph for this function:

◆ showSeedPhrase

void WalletView::showSeedPhrase ( )
slot

Return 24 word seed phrase.

Definition at line 269 of file walletview.cpp.

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

◆ showSyncStatus()

void WalletView::showSyncStatus ( bool  fShow)

Definition at line 236 of file walletview.cpp.

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

◆ stakingStatus

void WalletView::stakingStatus ( bool  stt)
slot

Definition at line 120 of file walletview.cpp.

Here is the caller graph for this function:

◆ stakingStatusChanged

void WalletView::stakingStatusChanged ( bool  )
signal
Here is the caller graph for this function:

◆ toggleLockWallet

void WalletView::toggleLockWallet ( )
slot

Toggle wallet lock state.

Definition at line 367 of file walletview.cpp.

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

◆ trxAmount

void WalletView::trxAmount ( QString  amount)
slot

Update selected PRCY amount from transactionview.

Update wallet with the sum of the selected transactions.

Definition at line 424 of file walletview.cpp.

Here is the caller graph for this function:

◆ unlockWallet

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

Ask for passphrase to unlock wallet temporarily.

Definition at line 347 of file walletview.cpp.

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

◆ updateEncryptionStatus

void WalletView::updateEncryptionStatus ( )
slot

Re-Q_EMIT encryption status signal.

Definition at line 241 of file walletview.cpp.

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

◆ usedReceivingAddresses

void WalletView::usedReceivingAddresses ( )
slot

Show used receiving addresses.

Definition at line 395 of file walletview.cpp.

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

◆ usedSendingAddresses

void WalletView::usedSendingAddresses ( )
slot

Show used sending addresses.

Definition at line 385 of file walletview.cpp.

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

Member Data Documentation

◆ clientModel

ClientModel* WalletView::clientModel
private

Definition at line 61 of file walletview.h.

◆ explorerWindow

BlockExplorer* WalletView::explorerWindow
private

Definition at line 70 of file walletview.h.

◆ historyPage

HistoryPage* WalletView::historyPage
private

Definition at line 68 of file walletview.h.

◆ masternodeListPage

MasternodeList* WalletView::masternodeListPage
private

Definition at line 71 of file walletview.h.

◆ optionsPage

OptionsPage* WalletView::optionsPage
private

Definition at line 67 of file walletview.h.

◆ overviewPage

OverviewPage* WalletView::overviewPage
private

Definition at line 64 of file walletview.h.

◆ progressDialog

QProgressDialog* WalletView::progressDialog
private

Definition at line 75 of file walletview.h.

◆ receiveCoinsPage

ReceiveCoinsDialog* WalletView::receiveCoinsPage
private

Definition at line 66 of file walletview.h.

◆ sendCoinsPage

SendCoinsDialog* WalletView::sendCoinsPage
private

Definition at line 69 of file walletview.h.

◆ transactionsPage

QWidget* WalletView::transactionsPage
private

Definition at line 65 of file walletview.h.

◆ transactionSum

QLabel* WalletView::transactionSum
private

Definition at line 76 of file walletview.h.

◆ transactionView

TransactionView* WalletView::transactionView
private

Definition at line 73 of file walletview.h.

◆ walletModel

WalletModel* WalletView::walletModel
private

Definition at line 62 of file walletview.h.


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