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

#include <navmenuwidget.h>

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

Public Slots

void selectSettings ()
 
void onShowHideColdStakingChanged (bool show)
 

Public Member Functions

 NavMenuWidget (PIVXGUI *mainWindow, QWidget *parent=nullptr)
 
 ~NavMenuWidget ()
 
void loadWalletModel () override
 
virtual void showEvent (QShowEvent *event) 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 run (int type) override
 
void onError (QString error, int type) override
 
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 onSendClicked ()
 
void onDashboardClicked ()
 
void onAddressClicked ()
 
void onMasterNodesClicked ()
 
void onColdStakingClicked ()
 
void onGovClicked ()
 
void onSettingsClicked ()
 
void onReceiveClicked ()
 
void updateButtonStyles ()
 

Private Member Functions

void connectActions ()
 Actions. More...
 
void onNavSelected (QWidget *active, bool startup=false)
 

Private Attributes

Ui::NavMenuWidget * ui
 
QList< QWidget * > btns
 
bool init = false
 

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 loadClientModel ()
 
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 17 of file navmenuwidget.h.

Constructor & Destructor Documentation

◆ NavMenuWidget()

NavMenuWidget::NavMenuWidget ( PIVXGUI mainWindow,
QWidget *  parent = nullptr 
)
explicit

Definition at line 14 of file navmenuwidget.cpp.

Here is the call graph for this function:

◆ ~NavMenuWidget()

NavMenuWidget::~NavMenuWidget ( )

Definition at line 171 of file navmenuwidget.cpp.

Member Function Documentation

◆ connectActions()

void NavMenuWidget::connectActions ( )
private

Actions.

Definition at line 69 of file navmenuwidget.cpp.

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

◆ loadWalletModel()

void NavMenuWidget::loadWalletModel ( )
overridevirtual

Reimplemented from PWidget.

Definition at line 60 of file navmenuwidget.cpp.

Here is the call graph for this function:

◆ onAddressClicked

void NavMenuWidget::onAddressClicked ( )
privateslot

Definition at line 98 of file navmenuwidget.cpp.

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

◆ onColdStakingClicked

void NavMenuWidget::onColdStakingClicked ( )
privateslot

Definition at line 108 of file navmenuwidget.cpp.

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

◆ onDashboardClicked

void NavMenuWidget::onDashboardClicked ( )
privateslot

Definition at line 93 of file navmenuwidget.cpp.

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

◆ onGovClicked

void NavMenuWidget::onGovClicked ( )
privateslot

Definition at line 113 of file navmenuwidget.cpp.

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

◆ onMasterNodesClicked

void NavMenuWidget::onMasterNodesClicked ( )
privateslot

Definition at line 103 of file navmenuwidget.cpp.

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

◆ onNavSelected()

void NavMenuWidget::onNavSelected ( QWidget *  active,
bool  startup = false 
)
private

Definition at line 129 of file navmenuwidget.cpp.

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

◆ onReceiveClicked

void NavMenuWidget::onReceiveClicked ( )
privateslot

Definition at line 124 of file navmenuwidget.cpp.

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

◆ onSendClicked

void NavMenuWidget::onSendClicked ( )
privateslot

Definition at line 88 of file navmenuwidget.cpp.

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

◆ onSettingsClicked

void NavMenuWidget::onSettingsClicked ( )
privateslot

Definition at line 119 of file navmenuwidget.cpp.

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

◆ onShowHideColdStakingChanged

void NavMenuWidget::onShowHideColdStakingChanged ( bool  show)
slot

Definition at line 145 of file navmenuwidget.cpp.

Here is the caller graph for this function:

◆ selectSettings

void NavMenuWidget::selectSettings ( )
slot

Definition at line 141 of file navmenuwidget.cpp.

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

◆ showEvent()

void NavMenuWidget::showEvent ( QShowEvent *  event)
overridevirtual

Definition at line 151 of file navmenuwidget.cpp.

◆ updateButtonStyles

void NavMenuWidget::updateButtonStyles ( )
privateslot

Definition at line 158 of file navmenuwidget.cpp.

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

Member Data Documentation

◆ btns

QList<QWidget*> NavMenuWidget::btns
private

Definition at line 44 of file navmenuwidget.h.

◆ init

bool NavMenuWidget::init = false
private

Definition at line 49 of file navmenuwidget.h.

◆ ui

Ui::NavMenuWidget* NavMenuWidget::ui
private

Definition at line 43 of file navmenuwidget.h.


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