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

#include <settingswidget.h>

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

Signals

void handleRestart (QStringList args)
 Get restart command-line parameters and handle restart. More...
 
- 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)
 

Public Member Functions

 SettingsWidget (PIVXGUI *parent)
 
 ~SettingsWidget ()
 
void loadClientModel () override
 
void loadWalletModel () override
 
void setMapper ()
 
void showDebugConsole ()
 
void showInformation ()
 
void openNetworkMonitor ()
 
- 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 onFileClicked ()
 
void onBackupWalletClicked ()
 
void onSignMessageClicked ()
 
void onConfigurationClicked ()
 
void onBipToolClicked ()
 
void onExportCSVClicked ()
 
void onOptionsClicked ()
 
void onMainOptionsClicked ()
 
void onWalletOptionsClicked ()
 
void onDisplayOptionsClicked ()
 
void onDiscardChanges ()
 
void onToolsClicked ()
 
void onInformationClicked ()
 
void onDebugConsoleClicked ()
 
void onWalletRepairClicked ()
 
void onHelpClicked ()
 
void onAboutClicked ()
 
void onResetAction ()
 
void onSaveOptionsClicked ()
 

Private Member Functions

void selectOption (QPushButton *option)
 
bool openStandardDialog (const QString &title="", const QString &body="", const QString &okBtn="OK", const QString &cancelBtn="")
 
void selectMenu (QPushButton *btn)
 

Private Attributes

Ui::SettingsWidget * ui {nullptr}
 
int navAreaBaseHeight {0}
 
SettingsBackupWalletsettingsBackupWallet {nullptr}
 
SettingsExportCSVsettingsExportCsvWidget {nullptr}
 
SettingsBitToolWidgetsettingsBitToolWidget {nullptr}
 
SettingsSignMessageWidgetssettingsSingMessageWidgets {nullptr}
 
SettingsWalletRepairWidgetsettingsWalletRepairWidget {nullptr}
 
SettingsWalletOptionsWidgetsettingsWalletOptionsWidget {nullptr}
 
SettingsMainOptionsWidgetsettingsMainOptionsWidget {nullptr}
 
SettingsDisplayOptionsWidgetsettingsDisplayOptionsWidget {nullptr}
 
SettingsInformationWidgetsettingsInformationWidget {nullptr}
 
SettingsConsoleWidgetsettingsConsoleWidget {nullptr}
 
QDataWidgetMapper * mapper {nullptr}
 
QList< QPushButton * > options
 
QMap< QPushButton *, QWidget * > menus
 

Additional Inherited Members

- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- Protected Member Functions inherited from PWidget
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 32 of file settingswidget.h.

Constructor & Destructor Documentation

◆ SettingsWidget()

SettingsWidget::SettingsWidget ( PIVXGUI parent)
explicit

Definition at line 16 of file settingswidget.cpp.

Here is the call graph for this function:

◆ ~SettingsWidget()

SettingsWidget::~SettingsWidget ( )

Definition at line 431 of file settingswidget.cpp.

Member Function Documentation

◆ handleRestart

void SettingsWidget::handleRestart ( QStringList  args)
signal

Get restart command-line parameters and handle restart.

Here is the caller graph for this function:

◆ loadClientModel()

void SettingsWidget::loadClientModel ( )
overridevirtual

Reimplemented from PWidget.

Definition at line 178 of file settingswidget.cpp.

Here is the call graph for this function:

◆ loadWalletModel()

void SettingsWidget::loadWalletModel ( )
overridevirtual

Reimplemented from PWidget.

Definition at line 197 of file settingswidget.cpp.

Here is the call graph for this function:

◆ onAboutClicked

void SettingsWidget::onAboutClicked ( )
privateslot

Definition at line 381 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ onBackupWalletClicked

void SettingsWidget::onBackupWalletClicked ( )
privateslot

Definition at line 283 of file settingswidget.cpp.

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

◆ onBipToolClicked

void SettingsWidget::onBipToolClicked ( )
privateslot

Definition at line 300 of file settingswidget.cpp.

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

◆ onConfigurationClicked

void SettingsWidget::onConfigurationClicked ( )
privateslot

Definition at line 295 of file settingswidget.cpp.

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

◆ onDebugConsoleClicked

void SettingsWidget::onDebugConsoleClicked ( )
privateslot

Definition at line 363 of file settingswidget.cpp.

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

◆ onDiscardChanges

void SettingsWidget::onDiscardChanges ( )
privateslot

Definition at line 403 of file settingswidget.cpp.

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

◆ onDisplayOptionsClicked

void SettingsWidget::onDisplayOptionsClicked ( )
privateslot

Definition at line 329 of file settingswidget.cpp.

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

◆ onExportCSVClicked

void SettingsWidget::onExportCSVClicked ( )
privateslot

Definition at line 306 of file settingswidget.cpp.

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

◆ onFileClicked

void SettingsWidget::onFileClicked ( )
privateslot

Definition at line 278 of file settingswidget.cpp.

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

◆ onHelpClicked

void SettingsWidget::onHelpClicked ( )
privateslot

Definition at line 376 of file settingswidget.cpp.

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

◆ onInformationClicked

void SettingsWidget::onInformationClicked ( )
privateslot

Definition at line 341 of file settingswidget.cpp.

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

◆ onMainOptionsClicked

void SettingsWidget::onMainOptionsClicked ( )
privateslot

Definition at line 317 of file settingswidget.cpp.

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

◆ onOptionsClicked

void SettingsWidget::onOptionsClicked ( )
privateslot

Definition at line 312 of file settingswidget.cpp.

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

◆ onResetAction

void SettingsWidget::onResetAction ( )
privateslot

Definition at line 208 of file settingswidget.cpp.

Here is the call graph for this function:

◆ onSaveOptionsClicked

void SettingsWidget::onSaveOptionsClicked ( )
privateslot

Definition at line 221 of file settingswidget.cpp.

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

◆ onSignMessageClicked

void SettingsWidget::onSignMessageClicked ( )
privateslot

Definition at line 289 of file settingswidget.cpp.

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

◆ onToolsClicked

void SettingsWidget::onToolsClicked ( )
privateslot

Definition at line 336 of file settingswidget.cpp.

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

◆ onWalletOptionsClicked

void SettingsWidget::onWalletOptionsClicked ( )
privateslot

Definition at line 323 of file settingswidget.cpp.

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

◆ onWalletRepairClicked

void SettingsWidget::onWalletRepairClicked ( )
privateslot

Definition at line 369 of file settingswidget.cpp.

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

◆ openNetworkMonitor()

void SettingsWidget::openNetworkMonitor ( )

Definition at line 391 of file settingswidget.cpp.

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

◆ openStandardDialog()

bool SettingsWidget::openStandardDialog ( const QString &  title = "",
const QString &  body = "",
const QString &  okBtn = "OK",
const QString &  cancelBtn = "" 
)
private

Definition at line 420 of file settingswidget.cpp.

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

◆ selectMenu()

void SettingsWidget::selectMenu ( QPushButton *  btn)
private

Definition at line 261 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ selectOption()

void SettingsWidget::selectOption ( QPushButton *  option)
private

Definition at line 396 of file settingswidget.cpp.

Here is the caller graph for this function:

◆ setMapper()

void SettingsWidget::setMapper ( )

Definition at line 413 of file settingswidget.cpp.

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

◆ showDebugConsole()

void SettingsWidget::showDebugConsole ( )

Definition at line 347 of file settingswidget.cpp.

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

◆ showInformation()

void SettingsWidget::showInformation ( )

Definition at line 355 of file settingswidget.cpp.

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

Member Data Documentation

◆ mapper

QDataWidgetMapper* SettingsWidget::mapper {nullptr}
private

Definition at line 97 of file settingswidget.h.

◆ menus

QMap<QPushButton*, QWidget*> SettingsWidget::menus
private

Definition at line 101 of file settingswidget.h.

◆ navAreaBaseHeight

int SettingsWidget::navAreaBaseHeight {0}
private

Definition at line 84 of file settingswidget.h.

◆ options

QList<QPushButton*> SettingsWidget::options
private

Definition at line 99 of file settingswidget.h.

◆ settingsBackupWallet

SettingsBackupWallet* SettingsWidget::settingsBackupWallet {nullptr}
private

Definition at line 86 of file settingswidget.h.

◆ settingsBitToolWidget

SettingsBitToolWidget* SettingsWidget::settingsBitToolWidget {nullptr}
private

Definition at line 88 of file settingswidget.h.

◆ settingsConsoleWidget

SettingsConsoleWidget* SettingsWidget::settingsConsoleWidget {nullptr}
private

Definition at line 95 of file settingswidget.h.

◆ settingsDisplayOptionsWidget

SettingsDisplayOptionsWidget* SettingsWidget::settingsDisplayOptionsWidget {nullptr}
private

Definition at line 93 of file settingswidget.h.

◆ settingsExportCsvWidget

SettingsExportCSV* SettingsWidget::settingsExportCsvWidget {nullptr}
private

Definition at line 87 of file settingswidget.h.

◆ settingsInformationWidget

SettingsInformationWidget* SettingsWidget::settingsInformationWidget {nullptr}
private

Definition at line 94 of file settingswidget.h.

◆ settingsMainOptionsWidget

SettingsMainOptionsWidget* SettingsWidget::settingsMainOptionsWidget {nullptr}
private

Definition at line 92 of file settingswidget.h.

◆ settingsSingMessageWidgets

SettingsSignMessageWidgets* SettingsWidget::settingsSingMessageWidgets {nullptr}
private

Definition at line 89 of file settingswidget.h.

◆ settingsWalletOptionsWidget

SettingsWalletOptionsWidget* SettingsWidget::settingsWalletOptionsWidget {nullptr}
private

Definition at line 91 of file settingswidget.h.

◆ settingsWalletRepairWidget

SettingsWalletRepairWidget* SettingsWidget::settingsWalletRepairWidget {nullptr}
private

Definition at line 90 of file settingswidget.h.

◆ ui

Ui::SettingsWidget* SettingsWidget::ui {nullptr}
private

Definition at line 83 of file settingswidget.h.


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