Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Masternode Manager page widget. More...
#include <masternodelist.h>
Signals | |
void | doubleClicked (const QModelIndex &) |
Public Member Functions | |
MasternodeList (QWidget *parent=0) | |
~MasternodeList () | |
void | setClientModel (ClientModel *clientModel) |
void | setWalletModel (WalletModel *walletModel) |
Private Slots | |
void | showContextMenuDIP3 (const QPoint &) |
void | on_filterLineEditDIP3_textChanged (const QString &strFilterIn) |
void | on_checkBoxMyMasternodesOnly_stateChanged (int state) |
void | extraInfoDIP3_clicked () |
void | copyProTxHash_clicked () |
void | copyCollateralOutpoint_clicked () |
void | handleMasternodeListChanged () |
void | updateDIP3ListScheduled () |
Private Member Functions | |
CDeterministicMNCPtr | GetSelectedDIP3MN () |
void | updateDIP3List () |
Private Attributes | |
QMenu * | contextMenuDIP3 |
int64_t | nTimeFilterUpdatedDIP3 |
int64_t | nTimeUpdatedDIP3 |
bool | fFilterUpdatedDIP3 |
QTimer * | timer |
Ui::MasternodeList * | ui |
ClientModel * | clientModel |
WalletModel * | walletModel |
CCriticalSection | cs_dip3list |
QString | strCurrentFilterDIP3 |
bool | mnListChanged |
Detailed Description
Masternode Manager page widget.
Definition at line 30 of file masternodelist.h.
Constructor & Destructor Documentation
◆ MasternodeList()
|
explicit |
Definition at line 34 of file masternodelist.cpp.
References GUIUtil::Bold, contextMenuDIP3, copyCollateralOutpoint_clicked(), copyProTxHash_clicked(), doubleClicked(), extraInfoDIP3_clicked(), GUIUtil::Normal, GUIUtil::setFont(), showContextMenuDIP3(), timer, ui, updateDIP3ListScheduled(), and GUIUtil::updateFonts().
◆ ~MasternodeList()
MasternodeList::~MasternodeList | ( | ) |
Definition at line 103 of file masternodelist.cpp.
References ui.
Member Function Documentation
◆ copyCollateralOutpoint_clicked
|
privateslot |
Definition at line 373 of file masternodelist.cpp.
References GetSelectedDIP3MN().
Referenced by MasternodeList().
◆ copyProTxHash_clicked
|
privateslot |
Definition at line 363 of file masternodelist.cpp.
References GetSelectedDIP3MN().
Referenced by MasternodeList().
◆ doubleClicked
|
signal |
Referenced by MasternodeList().
◆ extraInfoDIP3_clicked
|
privateslot |
Definition at line 346 of file masternodelist.cpp.
References GetSelectedDIP3MN(), UniValue::VOBJ, and UniValue::write().
Referenced by MasternodeList().
◆ GetSelectedDIP3MN()
|
private |
Definition at line 319 of file masternodelist.cpp.
References clientModel, cs_dip3list, ClientModel::getMasternodeList(), CDeterministicMNList::GetMN(), LOCK, base_blob< BITS >::SetHex(), and ui.
Referenced by copyCollateralOutpoint_clicked(), copyProTxHash_clicked(), and extraInfoDIP3_clicked().
◆ handleMasternodeListChanged
|
privateslot |
Definition at line 128 of file masternodelist.cpp.
References cs_dip3list, LOCK, and mnListChanged.
Referenced by setClientModel().
◆ on_checkBoxMyMasternodesOnly_stateChanged
|
privateslot |
Definition at line 312 of file masternodelist.cpp.
References fFilterUpdatedDIP3, GetTime(), MASTERNODELIST_FILTER_COOLDOWN_SECONDS, and nTimeFilterUpdatedDIP3.
◆ on_filterLineEditDIP3_textChanged
|
privateslot |
Definition at line 304 of file masternodelist.cpp.
References fFilterUpdatedDIP3, GetTime(), MASTERNODELIST_FILTER_COOLDOWN_SECONDS, nTimeFilterUpdatedDIP3, strCurrentFilterDIP3, and ui.
◆ setClientModel()
void MasternodeList::setClientModel | ( | ClientModel * | clientModel | ) |
Definition at line 108 of file masternodelist.cpp.
References clientModel, and handleMasternodeListChanged().
Referenced by WalletView::setClientModel().
◆ setWalletModel()
void MasternodeList::setWalletModel | ( | WalletModel * | walletModel | ) |
Definition at line 117 of file masternodelist.cpp.
References walletModel.
Referenced by WalletView::setWalletModel().
◆ showContextMenuDIP3
|
privateslot |
Definition at line 122 of file masternodelist.cpp.
References contextMenuDIP3, and ui.
Referenced by MasternodeList().
◆ updateDIP3List()
|
private |
Definition at line 164 of file masternodelist.cpp.
References clientModel, cs_dip3list, cs_main, EncodeDestination(), ExtractDestination(), ClientModel::getMasternodeList(), GetTime(), GetUTXOCoin(), WalletModel::IsSpendable(), WalletModel::listProTxCoins(), LOCK, nTimeUpdatedDIP3, Coin::out, CTxOut::scriptPubKey, ShutdownRequested(), strCurrentFilterDIP3, ui, and walletModel.
Referenced by updateDIP3ListScheduled().
◆ updateDIP3ListScheduled
|
privateslot |
Definition at line 134 of file masternodelist.cpp.
References clientModel, cs_dip3list, fFilterUpdatedDIP3, GetTime(), CMasternodeSync::IsBlockchainSynced(), MASTERNODELIST_FILTER_COOLDOWN_SECONDS, MASTERNODELIST_UPDATE_SECONDS, masternodeSync, mnListChanged, nTimeFilterUpdatedDIP3, nTimeUpdatedDIP3, ShutdownRequested(), TRY_LOCK, ui, and updateDIP3List().
Referenced by MasternodeList().
Member Data Documentation
◆ clientModel
|
private |
Definition at line 49 of file masternodelist.h.
Referenced by GetSelectedDIP3MN(), setClientModel(), updateDIP3List(), and updateDIP3ListScheduled().
◆ contextMenuDIP3
|
private |
Definition at line 42 of file masternodelist.h.
Referenced by MasternodeList(), and showContextMenuDIP3().
◆ cs_dip3list
|
private |
Definition at line 53 of file masternodelist.h.
Referenced by GetSelectedDIP3MN(), handleMasternodeListChanged(), updateDIP3List(), and updateDIP3ListScheduled().
◆ fFilterUpdatedDIP3
|
private |
Definition at line 45 of file masternodelist.h.
Referenced by on_checkBoxMyMasternodesOnly_stateChanged(), on_filterLineEditDIP3_textChanged(), and updateDIP3ListScheduled().
◆ mnListChanged
|
private |
Definition at line 57 of file masternodelist.h.
Referenced by handleMasternodeListChanged(), and updateDIP3ListScheduled().
◆ nTimeFilterUpdatedDIP3
|
private |
Definition at line 43 of file masternodelist.h.
Referenced by on_checkBoxMyMasternodesOnly_stateChanged(), on_filterLineEditDIP3_textChanged(), and updateDIP3ListScheduled().
◆ nTimeUpdatedDIP3
|
private |
Definition at line 44 of file masternodelist.h.
Referenced by updateDIP3List(), and updateDIP3ListScheduled().
◆ strCurrentFilterDIP3
|
private |
Definition at line 55 of file masternodelist.h.
Referenced by on_filterLineEditDIP3_textChanged(), and updateDIP3List().
◆ timer
|
private |
Definition at line 47 of file masternodelist.h.
Referenced by MasternodeList().
◆ ui
|
private |
Definition at line 48 of file masternodelist.h.
Referenced by GetSelectedDIP3MN(), MasternodeList(), on_filterLineEditDIP3_textChanged(), showContextMenuDIP3(), updateDIP3List(), updateDIP3ListScheduled(), and ~MasternodeList().
◆ walletModel
|
private |
Definition at line 50 of file masternodelist.h.
Referenced by setWalletModel(), and updateDIP3List().
The documentation for this class was generated from the following files:
- src/qt/masternodelist.h
- src/qt/masternodelist.cpp