Raven Core  3.0.0
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 ()
 RVN END. 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 processNewTransaction (const QModelIndex &parent, int start, int end)
 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 ()
 Ask for passphrase to unlock wallet temporarily. More...
 
void usedSendingAddresses ()
 Show used sending addresses. More...
 
void usedReceivingAddresses ()
 Show used receiving addresses. More...
 
void updateEncryptionStatus ()
 Re-emit encryption status signal. More...
 
void showProgress (const QString &title, int nProgress)
 Show progress dialog e.g. More...
 
void requestedSyncWarningInfo ()
 User has requested more information about the out of sync state. More...
 
void gotoAssetsPage ()
 RVN START. More...
 
void gotoCreateAssetsPage ()
 
void gotoManageAssetsPage ()
 

Signals

void showNormalIfMinimized ()
 RVN END. 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 hdEnabledStatusChanged (int hdEnabled)
 HD-Enabled status of wallet changed (only possible during startup) More...
 
void incomingTransaction (const QString &date, int unit, const CAmount &amount, const QString &type, const QString &address, const QString &label, const QString &assetName)
 Notify that a new transaction appeared. More...
 
void outOfSyncWarningClicked ()
 Notify that the out of sync warning icon has been pressed. More...
 
void checkAssets ()
 Show the assets GUI. More...
 

Public Member Functions

 WalletView (const PlatformStyle *platformStyle, QWidget *parent)
 
 ~WalletView ()
 
void setRavenGUI (RavenGUI *gui)
 
void setClientModel (ClientModel *clientModel)
 Set the client model. More...
 
void setWalletModel (WalletModel *walletModel)
 Set the wallet model. More...
 
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
 
AssetsDialogassetsPage
 RVN START. More...
 
CreateAssetDialogcreateAssetsPage
 
ReissueAssetDialogmanageAssetsPage
 

Detailed Description

Definition at line 38 of file walletview.h.

Constructor & Destructor Documentation

◆ WalletView()

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

RVN START

RVN END

RVN START

RNV END

Definition at line 39 of file walletview.cpp.

Here is the call graph for this function:

◆ ~WalletView()

WalletView::~WalletView ( )

Definition at line 109 of file walletview.cpp.

Member Function Documentation

◆ backupWallet

void WalletView::backupWallet ( )
slot

Backup the wallet.

Definition at line 312 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 331 of file walletview.cpp.

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

◆ checkAssets

void WalletView::checkAssets ( )
signal

Show the assets GUI.

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

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

◆ gotoAssetsPage

void WalletView::gotoAssetsPage ( )
slot

RVN START.

Switch to assets page

Definition at line 401 of file walletview.cpp.

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

◆ gotoCreateAssetsPage

void WalletView::gotoCreateAssetsPage ( )
slot

Definition at line 411 of file walletview.cpp.

Here is the caller graph for this function:

◆ gotoHistoryPage

void WalletView::gotoHistoryPage ( )
slot

Switch to history (transactions) page.

Definition at line 244 of file walletview.cpp.

Here is the caller graph for this function:

◆ gotoManageAssetsPage

void WalletView::gotoManageAssetsPage ( )
slot

Definition at line 416 of file walletview.cpp.

Here is the caller graph for this function:

◆ gotoOverviewPage

void WalletView::gotoOverviewPage ( )
slot

RVN END.

Switch to overview (home) page

Definition at line 238 of file walletview.cpp.

Here is the caller graph for this function:

◆ gotoReceiveCoinsPage

void WalletView::gotoReceiveCoinsPage ( )
slot

Switch to receive coins page.

Definition at line 249 of file walletview.cpp.

◆ gotoSendCoinsPage

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

Switch to send coins page.

Definition at line 254 of file walletview.cpp.

Here is the call graph for this function:

◆ gotoSignMessageTab

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

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

Definition at line 262 of file walletview.cpp.

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

◆ gotoVerifyMessageTab

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

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

Definition at line 274 of file walletview.cpp.

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

◆ handlePaymentRequest()

bool WalletView::handlePaymentRequest ( const SendCoinsRecipient recipient)

Definition at line 286 of file walletview.cpp.

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

◆ hdEnabledStatusChanged

void WalletView::hdEnabledStatusChanged ( int  hdEnabled)
signal

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

Here is the caller graph for this function:

◆ incomingTransaction

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

Notify that a new transaction appeared.

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:

◆ outOfSyncWarningClicked

void WalletView::outOfSyncWarningClicked ( )
signal

Notify that the out of sync warning icon has been pressed.

Here is the caller graph for this function:

◆ processNewTransaction

void WalletView::processNewTransaction ( const QModelIndex &  parent,
int  start,
int  end 
)
slot

Show incoming transaction notification for new transactions.

The new items are those between start and end inclusive, under the given parent item.

RVN START

RVN END

Everytime we get an new transaction. We should check to see if assets are enabled or not

Definition at line 198 of file walletview.cpp.

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

◆ requestedSyncWarningInfo

void WalletView::requestedSyncWarningInfo ( )
slot

User has requested more information about the out of sync state.

Definition at line 394 of file walletview.cpp.

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

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

◆ setRavenGUI()

void WalletView::setRavenGUI ( RavenGUI gui)

Definition at line 113 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 raven wallet, and offers access to the list of transactions, address book and sending functionality.

RVN START

Definition at line 157 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

RVN END.

Signal that we want to show the main window

◆ showOutOfSyncWarning()

void WalletView::showOutOfSyncWarning ( bool  fShow)

Definition at line 291 of file walletview.cpp.

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

◆ showProgress

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

Show progress dialog e.g.

for rescan

Definition at line 371 of file walletview.cpp.

Here is the caller graph for this function:

◆ unlockWallet

void WalletView::unlockWallet ( )
slot

Ask for passphrase to unlock wallet temporarily.

Definition at line 338 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-emit encryption status signal.

Definition at line 296 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 361 of file walletview.cpp.

Here is the caller graph for this function:

◆ usedSendingAddresses

void WalletView::usedSendingAddresses ( )
slot

Show used sending addresses.

Definition at line 351 of file walletview.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ assetsPage

AssetsDialog* WalletView::assetsPage
private

RVN START.

Definition at line 79 of file walletview.h.

◆ clientModel

ClientModel* WalletView::clientModel
private

Definition at line 62 of file walletview.h.

◆ createAssetsPage

CreateAssetDialog* WalletView::createAssetsPage
private

Definition at line 80 of file walletview.h.

◆ manageAssetsPage

ReissueAssetDialog* WalletView::manageAssetsPage
private

Definition at line 81 of file walletview.h.

◆ overviewPage

OverviewPage* WalletView::overviewPage
private

Definition at line 65 of file walletview.h.

◆ platformStyle

const PlatformStyle* WalletView::platformStyle
private

Definition at line 75 of file walletview.h.

◆ progressDialog

QProgressDialog* WalletView::progressDialog
private

Definition at line 74 of file walletview.h.

◆ receiveCoinsPage

ReceiveCoinsDialog* WalletView::receiveCoinsPage
private

Definition at line 67 of file walletview.h.

◆ sendCoinsPage

SendCoinsDialog* WalletView::sendCoinsPage
private

Definition at line 68 of file walletview.h.

◆ transactionsPage

QWidget* WalletView::transactionsPage
private

Definition at line 66 of file walletview.h.

◆ transactionView

TransactionView* WalletView::transactionView
private

Definition at line 72 of file walletview.h.

◆ usedReceivingAddressesPage

AddressBookPage* WalletView::usedReceivingAddressesPage
private

Definition at line 70 of file walletview.h.

◆ usedSendingAddressesPage

AddressBookPage* WalletView::usedSendingAddressesPage
private

Definition at line 69 of file walletview.h.

◆ walletModel

WalletModel* WalletView::walletModel
private

Definition at line 63 of file walletview.h.


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