Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

masternodelist.h
Go to the documentation of this file.
1 #ifndef MASTERNODELIST_H
2 #define MASTERNODELIST_H
3 
5 #include <sync.h>
6 #include <util.h>
7 
8 #include <evo/deterministicmns.h>
9 
10 #include <QMenu>
11 #include <QTimer>
12 #include <QWidget>
13 
14 #define MASTERNODELIST_UPDATE_SECONDS 3
15 #define MASTERNODELIST_FILTER_COOLDOWN_SECONDS 3
16 
17 namespace Ui
18 {
19 class MasternodeList;
20 }
21 
22 class ClientModel;
23 class WalletModel;
24 
25 QT_BEGIN_NAMESPACE
26 class QModelIndex;
27 QT_END_NAMESPACE
28 
30 class MasternodeList : public QWidget
31 {
32  Q_OBJECT
33 
34 public:
35  explicit MasternodeList(QWidget* parent = 0);
37 
40 
41 private:
46 
47  QTimer* timer;
48  Ui::MasternodeList* ui;
51 
52  // Protects tableWidgetMasternodesDIP3
54 
56 
58 
60 
61  void updateDIP3List();
62 
63 Q_SIGNALS:
64  void doubleClicked(const QModelIndex&);
65 
66 private Q_SLOTS:
67  void showContextMenuDIP3(const QPoint&);
68  void on_filterLineEditDIP3_textChanged(const QString& strFilterIn);
70 
71  void extraInfoDIP3_clicked();
72  void copyProTxHash_clicked();
74 
77 };
78 #endif // MASTERNODELIST_H
CCriticalSection cs_dip3list
CDeterministicMNCPtr GetSelectedDIP3MN()
void updateDIP3ListScheduled()
void setWalletModel(WalletModel *walletModel)
int64_t nTimeFilterUpdatedDIP3
void extraInfoDIP3_clicked()
void handleMasternodeListChanged()
QString strCurrentFilterDIP3
std::shared_ptr< const CDeterministicMN > CDeterministicMNCPtr
ClientModel * clientModel
MasternodeList(QWidget *parent=0)
void copyCollateralOutpoint_clicked()
QMenu * contextMenuDIP3
void showContextMenuDIP3(const QPoint &)
int64_t nTimeUpdatedDIP3
Model for Dash network client.
Definition: clientmodel.h:42
Masternode Manager page widget.
void on_checkBoxMyMasternodesOnly_stateChanged(int state)
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:100
void doubleClicked(const QModelIndex &)
WalletModel * walletModel
Ui::MasternodeList * ui
void setClientModel(ClientModel *clientModel)
void copyProTxHash_clicked()
void on_filterLineEditDIP3_textChanged(const QString &strFilterIn)
Wrapped mutex: supports recursive locking, but no waiting TODO: We should move away from using the re...
Definition: sync.h:94
Released under the MIT license