Raven Core  3.0.0
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
OverviewPage Class Reference

Overview ("home") page widget. More...

#include <overviewpage.h>

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

Public Slots

void setBalance (const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance)
 

Signals

void transactionClicked (const QModelIndex &index)
 
void assetSendClicked (const QModelIndex &index)
 
void assetIssueSubClicked (const QModelIndex &index)
 
void assetIssueUniqueClicked (const QModelIndex &index)
 
void assetReissueClicked (const QModelIndex &index)
 
void outOfSyncWarningClicked ()
 

Public Member Functions

 OverviewPage (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~OverviewPage ()
 
void setClientModel (ClientModel *clientModel)
 
void setWalletModel (WalletModel *walletModel)
 
void showOutOfSyncWarning (bool fShow)
 
void showAssets ()
 

Private Slots

void updateDisplayUnit ()
 
void handleTransactionClicked (const QModelIndex &index)
 
void handleAssetClicked (const QModelIndex &index)
 
void updateAlerts (const QString &warnings)
 
void updateWatchOnlyLabels (bool showWatchOnly)
 
void handleOutOfSyncWarningClicks ()
 
void assetSearchChanged ()
 

Private Attributes

Ui::OverviewPage * ui
 
ClientModelclientModel
 
WalletModelwalletModel
 
CAmount currentBalance
 
CAmount currentUnconfirmedBalance
 
CAmount currentImmatureBalance
 
CAmount currentWatchOnlyBalance
 
CAmount currentWatchUnconfBalance
 
CAmount currentWatchImmatureBalance
 
TxViewDelegatetxdelegate
 
std::unique_ptr< TransactionFilterProxyfilter
 
std::unique_ptr< AssetFilterProxyassetFilter
 
AssetViewDelegateassetdelegate
 
QMenu * contextMenu
 
QAction * sendAction
 
QAction * issueSub
 
QAction * issueUnique
 
QAction * reissue
 

Detailed Description

Overview ("home") page widget.

Definition at line 34 of file overviewpage.h.

Constructor & Destructor Documentation

◆ OverviewPage()

OverviewPage::OverviewPage ( const PlatformStyle platformStyle,
QWidget *  parent = 0 
)
explicit

Create the list of assets

Set the overview page background colors, and the frames colors and padding

Create the shadow effects on the frames

Update the labels colors

Update the labels font

Update the sub labels font

Create the search bar for assets

Definition at line 282 of file overviewpage.cpp.

Here is the call graph for this function:

◆ ~OverviewPage()

OverviewPage::~OverviewPage ( )

Definition at line 483 of file overviewpage.cpp.

Member Function Documentation

◆ assetIssueSubClicked

void OverviewPage::assetIssueSubClicked ( const QModelIndex &  index)
signal
Here is the caller graph for this function:

◆ assetIssueUniqueClicked

void OverviewPage::assetIssueUniqueClicked ( const QModelIndex &  index)
signal
Here is the caller graph for this function:

◆ assetReissueClicked

void OverviewPage::assetReissueClicked ( const QModelIndex &  index)
signal
Here is the caller graph for this function:

◆ assetSearchChanged

void OverviewPage::assetSearchChanged ( )
privateslot

Definition at line 635 of file overviewpage.cpp.

Here is the caller graph for this function:

◆ assetSendClicked

void OverviewPage::assetSendClicked ( const QModelIndex &  index)
signal
Here is the caller graph for this function:

◆ handleAssetClicked

void OverviewPage::handleAssetClicked ( const QModelIndex &  index)
privateslot

Definition at line 427 of file overviewpage.cpp.

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

◆ handleOutOfSyncWarningClicks

void OverviewPage::handleOutOfSyncWarningClicks ( )
privateslot

Definition at line 478 of file overviewpage.cpp.

Here is the caller graph for this function:

◆ handleTransactionClicked

void OverviewPage::handleTransactionClicked ( const QModelIndex &  index)
privateslot

Definition at line 421 of file overviewpage.cpp.

Here is the caller graph for this function:

◆ outOfSyncWarningClicked

void OverviewPage::outOfSyncWarningClicked ( )
signal
Here is the caller graph for this function:

◆ setBalance

void OverviewPage::setBalance ( const CAmount balance,
const CAmount unconfirmedBalance,
const CAmount immatureBalance,
const CAmount watchOnlyBalance,
const CAmount watchUnconfBalance,
const CAmount watchImmatureBalance 
)
slot

Definition at line 488 of file overviewpage.cpp.

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

◆ setClientModel()

void OverviewPage::setClientModel ( ClientModel clientModel)

Definition at line 531 of file overviewpage.cpp.

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

◆ setWalletModel()

void OverviewPage::setWalletModel ( WalletModel walletModel)

Definition at line 542 of file overviewpage.cpp.

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

◆ showAssets()

void OverviewPage::showAssets ( )

Definition at line 614 of file overviewpage.cpp.

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

◆ showOutOfSyncWarning()

void OverviewPage::showOutOfSyncWarning ( bool  fShow)

Definition at line 605 of file overviewpage.cpp.

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

◆ transactionClicked

void OverviewPage::transactionClicked ( const QModelIndex &  index)
signal
Here is the caller graph for this function:

◆ updateAlerts

void OverviewPage::updateAlerts ( const QString &  warnings)
privateslot

Definition at line 599 of file overviewpage.cpp.

Here is the caller graph for this function:

◆ updateDisplayUnit

void OverviewPage::updateDisplayUnit ( )
privateslot

Definition at line 584 of file overviewpage.cpp.

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

◆ updateWatchOnlyLabels

void OverviewPage::updateWatchOnlyLabels ( bool  showWatchOnly)
privateslot

Definition at line 518 of file overviewpage.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ assetdelegate

AssetViewDelegate* OverviewPage::assetdelegate
private

Definition at line 74 of file overviewpage.h.

◆ assetFilter

std::unique_ptr<AssetFilterProxy> OverviewPage::assetFilter
private

Definition at line 72 of file overviewpage.h.

◆ clientModel

ClientModel* OverviewPage::clientModel
private

Definition at line 61 of file overviewpage.h.

◆ contextMenu

QMenu* OverviewPage::contextMenu
private

Definition at line 75 of file overviewpage.h.

◆ currentBalance

CAmount OverviewPage::currentBalance
private

Definition at line 63 of file overviewpage.h.

◆ currentImmatureBalance

CAmount OverviewPage::currentImmatureBalance
private

Definition at line 65 of file overviewpage.h.

◆ currentUnconfirmedBalance

CAmount OverviewPage::currentUnconfirmedBalance
private

Definition at line 64 of file overviewpage.h.

◆ currentWatchImmatureBalance

CAmount OverviewPage::currentWatchImmatureBalance
private

Definition at line 68 of file overviewpage.h.

◆ currentWatchOnlyBalance

CAmount OverviewPage::currentWatchOnlyBalance
private

Definition at line 66 of file overviewpage.h.

◆ currentWatchUnconfBalance

CAmount OverviewPage::currentWatchUnconfBalance
private

Definition at line 67 of file overviewpage.h.

◆ filter

std::unique_ptr<TransactionFilterProxy> OverviewPage::filter
private

Definition at line 71 of file overviewpage.h.

◆ issueSub

QAction* OverviewPage::issueSub
private

Definition at line 77 of file overviewpage.h.

◆ issueUnique

QAction* OverviewPage::issueUnique
private

Definition at line 78 of file overviewpage.h.

◆ reissue

QAction* OverviewPage::reissue
private

Definition at line 79 of file overviewpage.h.

◆ sendAction

QAction* OverviewPage::sendAction
private

Definition at line 76 of file overviewpage.h.

◆ txdelegate

TxViewDelegate* OverviewPage::txdelegate
private

Definition at line 70 of file overviewpage.h.

◆ ui

Ui::OverviewPage* OverviewPage::ui
private

Definition at line 60 of file overviewpage.h.

◆ walletModel

WalletModel* OverviewPage::walletModel
private

Definition at line 62 of file overviewpage.h.


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