Dash Core  0.12.2.1
P2P Digital Currency
MasternodeList Class Reference

#include <masternodelist.h>

+ Inheritance diagram for MasternodeList:

Public Slots

void updateMyMasternodeInfo (QString strAlias, QString strAddr, const COutPoint &outpoint)
 
void updateMyNodeList (bool fForce=false)
 
void updateNodeList ()
 

Public Member Functions

 MasternodeList (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~MasternodeList ()
 
void setClientModel (ClientModel *clientModel)
 
void setWalletModel (WalletModel *walletModel)
 
void StartAlias (std::string strAlias)
 
void StartAll (std::string strCommand="start-all")
 

Private Slots

void showContextMenu (const QPoint &)
 
void on_filterLineEdit_textChanged (const QString &strFilterIn)
 
void on_startButton_clicked ()
 
void on_startAllButton_clicked ()
 
void on_startMissingButton_clicked ()
 
void on_tableWidgetMyMasternodes_itemSelectionChanged ()
 
void on_UpdateButton_clicked ()
 

Private Attributes

QMenu * contextMenu
 
int64_t nTimeFilterUpdated
 
bool fFilterUpdated
 
QTimer * timer
 
Ui::MasternodeListui
 
ClientModelclientModel
 
WalletModelwalletModel
 
CCriticalSection cs_mnlist
 
CCriticalSection cs_mymnlist
 
QString strCurrentFilter
 

Detailed Description

Masternode Manager page widget

Definition at line 29 of file masternodelist.h.

Constructor & Destructor Documentation

◆ MasternodeList()

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

Definition at line 29 of file masternodelist.cpp.

◆ ~MasternodeList()

MasternodeList::~MasternodeList ( )

Definition at line 77 of file masternodelist.cpp.

Member Function Documentation

◆ on_filterLineEdit_textChanged

void MasternodeList::on_filterLineEdit_textChanged ( const QString &  strFilterIn)
privateslot

Definition at line 315 of file masternodelist.cpp.

◆ on_startAllButton_clicked

void MasternodeList::on_startAllButton_clicked ( )
privateslot

Definition at line 361 of file masternodelist.cpp.

◆ on_startButton_clicked

void MasternodeList::on_startButton_clicked ( )
privateslot

Definition at line 323 of file masternodelist.cpp.

Referenced by MasternodeList().

◆ on_startMissingButton_clicked

void MasternodeList::on_startMissingButton_clicked ( )
privateslot

Definition at line 385 of file masternodelist.cpp.

◆ on_tableWidgetMyMasternodes_itemSelectionChanged

void MasternodeList::on_tableWidgetMyMasternodes_itemSelectionChanged ( )
privateslot

Definition at line 417 of file masternodelist.cpp.

◆ on_UpdateButton_clicked

void MasternodeList::on_UpdateButton_clicked ( )
privateslot

Definition at line 424 of file masternodelist.cpp.

◆ setClientModel()

void MasternodeList::setClientModel ( ClientModel clientModel)

Definition at line 82 of file masternodelist.cpp.

Referenced by WalletView::setClientModel().

◆ setWalletModel()

void MasternodeList::setWalletModel ( WalletModel walletModel)

Definition at line 91 of file masternodelist.cpp.

Referenced by WalletView::setWalletModel().

◆ showContextMenu

void MasternodeList::showContextMenu ( const QPoint &  point)
privateslot

Definition at line 96 of file masternodelist.cpp.

Referenced by MasternodeList().

◆ StartAlias()

void MasternodeList::StartAlias ( std::string  strAlias)

Definition at line 102 of file masternodelist.cpp.

Referenced by on_startButton_clicked().

◆ StartAll()

void MasternodeList::StartAll ( std::string  strCommand = "start-all")

Definition at line 134 of file masternodelist.cpp.

Referenced by on_startAllButton_clicked(), and on_startMissingButton_clicked().

◆ updateMyMasternodeInfo

void MasternodeList::updateMyMasternodeInfo ( QString  strAlias,
QString  strAddr,
const COutPoint outpoint 
)
slot

Definition at line 180 of file masternodelist.cpp.

Referenced by updateMyNodeList().

◆ updateMyNodeList

void MasternodeList::updateMyNodeList ( bool  fForce = false)
slot

Definition at line 219 of file masternodelist.cpp.

Referenced by MasternodeList(), on_UpdateButton_clicked(), StartAlias(), and StartAll().

◆ updateNodeList

void MasternodeList::updateNodeList ( )
slot

Definition at line 250 of file masternodelist.cpp.

Referenced by MasternodeList(), and setClientModel().

Member Data Documentation

◆ clientModel

ClientModel* MasternodeList::clientModel
private

Definition at line 57 of file masternodelist.h.

Referenced by setClientModel().

◆ contextMenu

QMenu* MasternodeList::contextMenu
private

Definition at line 43 of file masternodelist.h.

Referenced by MasternodeList(), and showContextMenu().

◆ cs_mnlist

CCriticalSection MasternodeList::cs_mnlist
private

Definition at line 61 of file masternodelist.h.

Referenced by updateNodeList().

◆ cs_mymnlist

CCriticalSection MasternodeList::cs_mymnlist
private

Definition at line 64 of file masternodelist.h.

Referenced by on_startButton_clicked(), and updateMyNodeList().

◆ fFilterUpdated

bool MasternodeList::fFilterUpdated
private

Definition at line 45 of file masternodelist.h.

Referenced by MasternodeList(), on_filterLineEdit_textChanged(), and updateNodeList().

◆ nTimeFilterUpdated

int64_t MasternodeList::nTimeFilterUpdated
private

Definition at line 44 of file masternodelist.h.

Referenced by MasternodeList(), on_filterLineEdit_textChanged(), and updateNodeList().

◆ strCurrentFilter

QString MasternodeList::strCurrentFilter
private

Definition at line 66 of file masternodelist.h.

Referenced by on_filterLineEdit_textChanged(), and updateNodeList().

◆ timer

QTimer* MasternodeList::timer
private

Definition at line 55 of file masternodelist.h.

Referenced by MasternodeList().

◆ ui

◆ walletModel

WalletModel* MasternodeList::walletModel
private

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