PIVX Core  5.6.99
P2P Digital Currency
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SettingsInformationWidget Class Reference

#include <informationwidget.h>

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

Public Slots

void openNetworkMonitor ()
 
void setMasternodeCount (const QString &strMasternodes)
 

Public Member Functions

 SettingsInformationWidget (PIVXGUI *_window, QWidget *parent=nullptr)
 
 ~SettingsInformationWidget () override
 
void loadClientModel () override
 
void run (int type) override
 
void onError (QString error, int type) override
 
- Public Member Functions inherited from PWidget
 PWidget (PIVXGUI *_window=nullptr, QWidget *parent=nullptr)
 
 PWidget (PWidget *parent=nullptr)
 
void setClientModel (ClientModel *model)
 
void setWalletModel (WalletModel *model)
 
PIVXGUIgetWindow ()
 
void inform (const QString &message)
 
void emitMessage (const QString &title, const QString &message, unsigned int style, bool *ret=nullptr)
 
QString translate (const char *msg) override
 

Private Slots

void setNumConnections (int count)
 
void networkActiveChanged (bool active)
 
void setNumBlocks (int count)
 
void showEvent (QShowEvent *event) override
 
void hideEvent (QHideEvent *event) override
 

Private Member Functions

void updateNetworkState (int numConnections)
 

Private Attributes

Ui::SettingsInformationWidget * ui
 
RPCConsolerpcConsole = nullptr
 

Additional Inherited Members

- Signals inherited from PWidget
void message (const QString &title, const QString &body, unsigned int style, bool *ret=nullptr)
 
void showHide (bool show)
 
bool execDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 
- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- Protected Member Functions inherited from PWidget
virtual void loadWalletModel ()
 
void showHideOp (bool show)
 
bool execute (int type, std::unique_ptr< WalletModel::UnlockContext > pctx=nullptr)
 
void warn (const QString &title, const QString &message)
 
bool ask (const QString &title, const QString &message)
 
void showDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 
- Protected Attributes inherited from PWidget
PIVXGUIwindow = nullptr
 
ClientModelclientModel = nullptr
 
WalletModelwalletModel = nullptr
 

Detailed Description

Definition at line 16 of file informationwidget.h.

Constructor & Destructor Documentation

◆ SettingsInformationWidget()

SettingsInformationWidget::SettingsInformationWidget ( PIVXGUI _window,
QWidget *  parent = nullptr 
)
explicit
Todo:
: Mempool section is not currently implemented and instead, hidden for now

Definition at line 19 of file informationwidget.cpp.

Here is the call graph for this function:

◆ ~SettingsInformationWidget()

SettingsInformationWidget::~SettingsInformationWidget ( )
override

Definition at line 220 of file informationwidget.cpp.

Member Function Documentation

◆ hideEvent

void SettingsInformationWidget::hideEvent ( QHideEvent *  event)
overrideprivateslot

Definition at line 196 of file informationwidget.cpp.

Here is the call graph for this function:

◆ loadClientModel()

void SettingsInformationWidget::loadClientModel ( )
overridevirtual

Reimplemented from PWidget.

Definition at line 110 of file informationwidget.cpp.

Here is the call graph for this function:

◆ networkActiveChanged

void SettingsInformationWidget::networkActiveChanged ( bool  active)
privateslot

Definition at line 156 of file informationwidget.cpp.

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

◆ onError()

void SettingsInformationWidget::onError ( QString  error,
int  type 
)
overridevirtual

Reimplemented from PWidget.

Definition at line 213 of file informationwidget.cpp.

Here is the call graph for this function:

◆ openNetworkMonitor

void SettingsInformationWidget::openNetworkMonitor ( )
slot

Definition at line 176 of file informationwidget.cpp.

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

◆ run()

void SettingsInformationWidget::run ( int  type)
overridevirtual

Reimplemented from PWidget.

Definition at line 203 of file informationwidget.cpp.

Here is the call graph for this function:

◆ setMasternodeCount

void SettingsInformationWidget::setMasternodeCount ( const QString &  strMasternodes)
slot

Definition at line 171 of file informationwidget.cpp.

Here is the caller graph for this function:

◆ setNumBlocks

void SettingsInformationWidget::setNumBlocks ( int  count)
privateslot

Definition at line 161 of file informationwidget.cpp.

Here is the caller graph for this function:

◆ setNumConnections

void SettingsInformationWidget::setNumConnections ( int  count)
privateslot

Definition at line 149 of file informationwidget.cpp.

Here is the caller graph for this function:

◆ showEvent

void SettingsInformationWidget::showEvent ( QShowEvent *  event)
overrideprivateslot

Definition at line 186 of file informationwidget.cpp.

Here is the call graph for this function:

◆ updateNetworkState()

void SettingsInformationWidget::updateNetworkState ( int  numConnections)
private

Definition at line 131 of file informationwidget.cpp.

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

Member Data Documentation

◆ rpcConsole

RPCConsole* SettingsInformationWidget::rpcConsole = nullptr
private

Definition at line 42 of file informationwidget.h.

◆ ui

Ui::SettingsInformationWidget* SettingsInformationWidget::ui
private

Definition at line 41 of file informationwidget.h.


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