Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Overview ("home") page widget. More...
#include <overviewpage.h>
Public Slots | |
void | privateSendStatus (bool fForce=false) |
void | setBalance (const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &anonymizedBalance, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance) |
Signals | |
void | transactionClicked (const QModelIndex &index) |
void | outOfSyncWarningClicked () |
Public Member Functions | |
OverviewPage (QWidget *parent=0) | |
~OverviewPage () | |
void | setClientModel (ClientModel *clientModel) |
void | setWalletModel (WalletModel *walletModel) |
void | showOutOfSyncWarning (bool fShow) |
Private Slots | |
void | togglePrivateSend () |
void | updateDisplayUnit () |
void | updatePrivateSendProgress () |
void | updateAdvancedPSUI (bool fShowAdvancedPSUI) |
void | handleTransactionClicked (const QModelIndex &index) |
void | updateAlerts (const QString &warnings) |
void | updateWatchOnlyLabels (bool showWatchOnly) |
void | handleOutOfSyncWarningClicks () |
Private Member Functions | |
void | SetupTransactionList (int nNumItems) |
void | DisablePrivateSendCompletely () |
Private Attributes | |
QTimer * | timer |
Ui::OverviewPage * | ui |
ClientModel * | clientModel |
WalletModel * | walletModel |
CAmount | currentBalance |
CAmount | currentUnconfirmedBalance |
CAmount | currentImmatureBalance |
CAmount | currentAnonymizedBalance |
CAmount | currentWatchOnlyBalance |
CAmount | currentWatchUnconfBalance |
CAmount | currentWatchImmatureBalance |
int | nDisplayUnit |
bool | fShowAdvancedPSUI |
int | cachedNumISLocks |
TxViewDelegate * | txdelegate |
std::unique_ptr< TransactionFilterProxy > | filter |
Detailed Description
Overview ("home") page widget.
Definition at line 27 of file overviewpage.h.
Constructor & Destructor Documentation
◆ OverviewPage()
|
explicit |
Definition at line 111 of file overviewpage.cpp.
References GUIUtil::Bold, CPrivateSendClientManager::fCreateAutoBackups, handleTransactionClicked(), privateSendClient, privateSendStatus(), GUIUtil::setFont(), showOutOfSyncWarning(), timer, txdelegate, ui, and GUIUtil::updateFonts().
◆ ~OverviewPage()
OverviewPage::~OverviewPage | ( | ) |
Definition at line 185 of file overviewpage.cpp.
References privateSendStatus(), timer, and ui.
Member Function Documentation
◆ DisablePrivateSendCompletely()
|
private |
Definition at line 683 of file overviewpage.cpp.
References CPrivateSendClientManager::fPrivateSendRunning, GUIUtil::getThemedStyleQString(), nWalletBackups, privateSendClient, GUIUtil::TS_ERROR, and ui.
Referenced by privateSendStatus().
◆ handleOutOfSyncWarningClicks
|
privateslot |
Definition at line 180 of file overviewpage.cpp.
References outOfSyncWarningClicked().
◆ handleTransactionClicked
|
privateslot |
Definition at line 174 of file overviewpage.cpp.
References filter, and transactionClicked().
Referenced by OverviewPage().
◆ outOfSyncWarningClicked
|
signal |
Referenced by handleOutOfSyncWarningClicks().
◆ privateSendStatus
|
slot |
Definition at line 439 of file overviewpage.cpp.
References WalletModel::autoBackupWallet(), clientModel, DisablePrivateSendCompletely(), CPrivateSendClientManager::fEnablePrivateSend, fMasternodeMode, CPrivateSendClientManager::fPrivateSendRunning, fShowAdvancedPSUI, WalletModel::getKeysLeftSinceAutoBackup(), ClientModel::getNumBlocks(), CPrivateSendClientManager::GetSessionDenoms(), GUIUtil::getThemedStyleQString(), GetTime(), CMasternodeSync::IsBlockchainSynced(), LogPrint, masternodeSync, CPrivateSendClientManager::nCachedNumBlocks, NUM_ITEMS_DISABLED, NUM_ITEMS_ENABLED_ADVANCED, NUM_ITEMS_ENABLED_NORMAL, nWalletBackups, BCLog::PRIVATESEND, PRIVATESEND_KEYS_THRESHOLD_WARNING, privateSendClient, SetupTransactionList(), ShutdownRequested(), timer, GUIUtil::TS_COMMAND, GUIUtil::TS_ERROR, ui, updatePrivateSendProgress(), and walletModel.
Referenced by OverviewPage(), setWalletModel(), updateAdvancedPSUI(), and ~OverviewPage().
◆ setBalance
|
slot |
Definition at line 191 of file overviewpage.cpp.
References cachedNumISLocks, currentAnonymizedBalance, currentBalance, currentImmatureBalance, currentUnconfirmedBalance, currentWatchImmatureBalance, currentWatchOnlyBalance, currentWatchUnconfBalance, BitcoinUnits::floorHtmlWithUnit(), gArgs, ArgsManager::GetBoolArg(), WalletModel::getNumISLocks(), nDisplayUnit, BitcoinUnits::separatorAlways, ui, updatePrivateSendProgress(), and walletModel.
Referenced by setWalletModel(), and updateDisplayUnit().
◆ setClientModel()
void OverviewPage::setClientModel | ( | ClientModel * | clientModel | ) |
Definition at line 253 of file overviewpage.cpp.
References clientModel, ClientModel::getStatusBarWarnings(), and updateAlerts().
Referenced by WalletView::setClientModel().
◆ SetupTransactionList()
|
private |
Definition at line 658 of file overviewpage.cpp.
References TransactionTableModel::Date, filter, WalletModel::getTransactionTableModel(), ITEM_HEIGHT, ui, and walletModel.
Referenced by privateSendStatus().
◆ setWalletModel()
void OverviewPage::setWalletModel | ( | WalletModel * | walletModel | ) |
Definition at line 264 of file overviewpage.cpp.
References gArgs, WalletModel::getAnonymizedBalance(), WalletModel::getBalance(), ArgsManager::GetBoolArg(), WalletModel::getImmatureBalance(), WalletModel::getOptionsModel(), OptionsModel::getShowAdvancedPSUI(), WalletModel::getUnconfirmedBalance(), WalletModel::getWatchBalance(), WalletModel::getWatchImmatureBalance(), WalletModel::getWatchUnconfirmedBalance(), WalletModel::haveWatchOnly(), OptionsModel::privateSendEnabledChanged(), privateSendStatus(), setBalance(), togglePrivateSend(), ui, updateAdvancedPSUI(), updateDisplayUnit(), updatePrivateSendProgress(), updateWatchOnlyLabels(), and walletModel.
Referenced by WalletView::setWalletModel().
◆ showOutOfSyncWarning()
void OverviewPage::showOutOfSyncWarning | ( | bool | fShow | ) |
Definition at line 319 of file overviewpage.cpp.
References ui.
Referenced by OverviewPage(), and WalletView::showOutOfSyncWarning().
◆ togglePrivateSend
|
privateslot |
Definition at line 609 of file overviewpage.cpp.
References ctx, currentBalance, BitcoinUnits::formatWithUnit(), CPrivateSendClientManager::fPrivateSendRunning, WalletModel::getEncryptionStatus(), CPrivateSend::GetMaxCollateralAmount(), CPrivateSend::GetSmallestDenomination(), WalletModel::Locked, LogPrint, CPrivateSendClientManager::nCachedNumBlocks, nDisplayUnit, BCLog::PRIVATESEND, privateSendClient, WalletModel::requestUnlock(), CPrivateSendClientManager::ResetPool(), ui, and walletModel.
Referenced by setWalletModel().
◆ transactionClicked
|
signal |
Referenced by handleTransactionClicked().
◆ updateAdvancedPSUI
|
privateslot |
Definition at line 434 of file overviewpage.cpp.
References fShowAdvancedPSUI, and privateSendStatus().
Referenced by setWalletModel().
◆ updateAlerts
|
privateslot |
◆ updateDisplayUnit
|
privateslot |
Definition at line 297 of file overviewpage.cpp.
References currentAnonymizedBalance, currentBalance, currentImmatureBalance, currentUnconfirmedBalance, currentWatchImmatureBalance, currentWatchOnlyBalance, currentWatchUnconfBalance, OptionsModel::getDisplayUnit(), WalletModel::getOptionsModel(), nDisplayUnit, setBalance(), txdelegate, ui, TxViewDelegate::unit, and walletModel.
Referenced by setWalletModel().
◆ updatePrivateSendProgress
|
privateslot |
Definition at line 326 of file overviewpage.cpp.
References COIN, currentAnonymizedBalance, currentBalance, BitcoinUnits::decimals(), BitcoinUnits::factor(), BitcoinUnits::formatHtmlWithUnit(), fShowAdvancedPSUI, WalletModel::getAnonymizableBalance(), WalletModel::getAverageAnonymizedRounds(), WalletModel::getDenominatedBalance(), WalletModel::getNormalizedAnonymizedBalance(), GUIUtil::getThemedStyleQString(), CMasternodeSync::IsBlockchainSynced(), masternodeSync, nDisplayUnit, CPrivateSendClientManager::nPrivateSendAmount, CPrivateSendClientManager::nPrivateSendRounds, privateSendClient, BitcoinUnits::separatorAlways, ShutdownRequested(), GUIUtil::TS_ERROR, ui, and walletModel.
Referenced by privateSendStatus(), setBalance(), and setWalletModel().
◆ updateWatchOnlyLabels
|
privateslot |
Member Data Documentation
◆ cachedNumISLocks
|
private |
Definition at line 62 of file overviewpage.h.
Referenced by setBalance().
◆ clientModel
|
private |
Definition at line 51 of file overviewpage.h.
Referenced by privateSendStatus(), and setClientModel().
◆ currentAnonymizedBalance
|
private |
Definition at line 56 of file overviewpage.h.
Referenced by setBalance(), updateDisplayUnit(), and updatePrivateSendProgress().
◆ currentBalance
|
private |
Definition at line 53 of file overviewpage.h.
Referenced by setBalance(), togglePrivateSend(), updateDisplayUnit(), and updatePrivateSendProgress().
◆ currentImmatureBalance
|
private |
Definition at line 55 of file overviewpage.h.
Referenced by setBalance(), and updateDisplayUnit().
◆ currentUnconfirmedBalance
|
private |
Definition at line 54 of file overviewpage.h.
Referenced by setBalance(), and updateDisplayUnit().
◆ currentWatchImmatureBalance
|
private |
Definition at line 59 of file overviewpage.h.
Referenced by setBalance(), and updateDisplayUnit().
◆ currentWatchOnlyBalance
|
private |
Definition at line 57 of file overviewpage.h.
Referenced by setBalance(), and updateDisplayUnit().
◆ currentWatchUnconfBalance
|
private |
Definition at line 58 of file overviewpage.h.
Referenced by setBalance(), and updateDisplayUnit().
◆ filter
|
private |
Definition at line 65 of file overviewpage.h.
Referenced by handleTransactionClicked(), and SetupTransactionList().
◆ fShowAdvancedPSUI
|
private |
Definition at line 61 of file overviewpage.h.
Referenced by privateSendStatus(), updateAdvancedPSUI(), and updatePrivateSendProgress().
◆ nDisplayUnit
|
private |
Definition at line 60 of file overviewpage.h.
Referenced by setBalance(), togglePrivateSend(), updateDisplayUnit(), and updatePrivateSendProgress().
◆ timer
|
private |
Definition at line 49 of file overviewpage.h.
Referenced by OverviewPage(), privateSendStatus(), and ~OverviewPage().
◆ txdelegate
|
private |
Definition at line 64 of file overviewpage.h.
Referenced by OverviewPage(), and updateDisplayUnit().
◆ ui
|
private |
Definition at line 50 of file overviewpage.h.
Referenced by DisablePrivateSendCompletely(), OverviewPage(), privateSendStatus(), setBalance(), SetupTransactionList(), setWalletModel(), showOutOfSyncWarning(), togglePrivateSend(), updateAlerts(), updateDisplayUnit(), updatePrivateSendProgress(), updateWatchOnlyLabels(), and ~OverviewPage().
◆ walletModel
|
private |
Definition at line 52 of file overviewpage.h.
Referenced by privateSendStatus(), setBalance(), SetupTransactionList(), setWalletModel(), togglePrivateSend(), updateDisplayUnit(), and updatePrivateSendProgress().
The documentation for this class was generated from the following files:
- src/qt/overviewpage.h
- src/qt/overviewpage.cpp