Bitcoin
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
WalletView Class Reference

#include <walletview.h>

Inheritance diagram for WalletView:

Public Slots

void gotoOverviewPage ()
 
void gotoHistoryPage ()
 
void gotoReceiveCoinsPage ()
 
void gotoSendCoinsPage (QString addr="")
 
void gotoSignMessageTab (QString addr="")
 
void gotoVerifyMessageTab (QString addr="")
 
void processNewTransaction (const QModelIndex &parent, int start, int)
 
void encryptWallet (bool status)
 
void backupWallet ()
 
void changePassphrase ()
 
void unlockWallet ()
 
void usedSendingAddresses ()
 
void usedReceivingAddresses ()
 
void updateEncryptionStatus ()
 
void showProgress (const QString &title, int nProgress)
 
void requestedSyncWarningInfo ()
 

Signals

void showNormalIfMinimized ()
 
void message (const QString &title, const QString &message, unsigned int style)
 
void encryptionStatusChanged ()
 
void hdEnabledStatusChanged ()
 
void incomingTransaction (const QString &date, int unit, const CAmount &amount, const QString &type, const QString &address, const QString &label, const QString &walletName)
 
void outOfSyncWarningClicked ()
 

Public Member Functions

 WalletView (const PlatformStyle *platformStyle, QWidget *parent)
 
 ~WalletView ()
 
void setBitcoinGUI (BitcoinGUI *gui)
 
void setClientModel (ClientModel *clientModel)
 
WalletModelgetWalletModel ()
 
void setWalletModel (WalletModel *walletModel)
 
bool handlePaymentRequest (const SendCoinsRecipient &recipient)
 
void showOutOfSyncWarning (bool fShow)
 

Private Attributes

ClientModelclientModel
 
WalletModelwalletModel
 
OverviewPageoverviewPage
 
QWidget * transactionsPage
 
ReceiveCoinsDialogreceiveCoinsPage
 
SendCoinsDialogsendCoinsPage
 
AddressBookPageusedSendingAddressesPage
 
AddressBookPageusedReceivingAddressesPage
 
TransactionViewtransactionView
 
QProgressDialog * progressDialog
 
const PlatformStyleplatformStyle
 

Constructor & Destructor Documentation

◆ WalletView()

WalletView::WalletView ( const PlatformStyle platformStyle,
QWidget *  parent 
)
explicit

◆ ~WalletView()

WalletView::~WalletView ( )

Member Function Documentation

◆ backupWallet

void WalletView::backupWallet ( )
slot

Backup the wallet

◆ changePassphrase

void WalletView::changePassphrase ( )
slot

Change encrypted wallet passphrase

◆ encryptionStatusChanged

void WalletView::encryptionStatusChanged ( )
signal

Encryption status of wallet changed

◆ encryptWallet

void WalletView::encryptWallet ( bool  status)
slot

Encrypt the wallet

◆ getWalletModel()

WalletModel* WalletView::getWalletModel ( )
inline

◆ gotoHistoryPage

void WalletView::gotoHistoryPage ( )
slot

Switch to history (transactions) page

◆ gotoOverviewPage

void WalletView::gotoOverviewPage ( )
slot

Switch to overview (home) page

◆ gotoReceiveCoinsPage

void WalletView::gotoReceiveCoinsPage ( )
slot

Switch to receive coins page

◆ gotoSendCoinsPage

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

Switch to send coins page

◆ gotoSignMessageTab

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

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

◆ gotoVerifyMessageTab

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

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

◆ handlePaymentRequest()

bool WalletView::handlePaymentRequest ( const SendCoinsRecipient recipient)

◆ hdEnabledStatusChanged

void WalletView::hdEnabledStatusChanged ( )
signal

HD-Enabled status of wallet changed (only possible during startup)

◆ incomingTransaction

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

Notify that a new transaction appeared

◆ message

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

Fired when a message should be reported to the user

◆ outOfSyncWarningClicked

void WalletView::outOfSyncWarningClicked ( )
signal

Notify that the out of sync warning icon has been pressed

◆ 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.

◆ requestedSyncWarningInfo

void WalletView::requestedSyncWarningInfo ( )
slot

User has requested more information about the out of sync state

◆ setBitcoinGUI()

void WalletView::setBitcoinGUI ( BitcoinGUI gui)

◆ 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.

◆ 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.

◆ showNormalIfMinimized

void WalletView::showNormalIfMinimized ( )
signal

Signal that we want to show the main window

◆ showOutOfSyncWarning()

void WalletView::showOutOfSyncWarning ( bool  fShow)

◆ showProgress

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

Show progress dialog e.g. for rescan

◆ unlockWallet

void WalletView::unlockWallet ( )
slot

Ask for passphrase to unlock wallet temporarily

◆ updateEncryptionStatus

void WalletView::updateEncryptionStatus ( )
slot

Re-emit encryption status signal

◆ usedReceivingAddresses

void WalletView::usedReceivingAddresses ( )
slot

Show used receiving addresses

◆ usedSendingAddresses

void WalletView::usedSendingAddresses ( )
slot

Show used sending addresses

Member Data Documentation

◆ clientModel

ClientModel* WalletView::clientModel
private

◆ overviewPage

OverviewPage* WalletView::overviewPage
private

◆ platformStyle

const PlatformStyle* WalletView::platformStyle
private

◆ progressDialog

QProgressDialog* WalletView::progressDialog
private

◆ receiveCoinsPage

ReceiveCoinsDialog* WalletView::receiveCoinsPage
private

◆ sendCoinsPage

SendCoinsDialog* WalletView::sendCoinsPage
private

◆ transactionsPage

QWidget* WalletView::transactionsPage
private

◆ transactionView

TransactionView* WalletView::transactionView
private

◆ usedReceivingAddressesPage

AddressBookPage* WalletView::usedReceivingAddressesPage
private

◆ usedSendingAddressesPage

AddressBookPage* WalletView::usedSendingAddressesPage
private

◆ walletModel

WalletModel* WalletView::walletModel
private

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