Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Preferences dialog. More...

#include <optionsdialog.h>

+ Inheritance diagram for OptionsDialog:
+ Collaboration diagram for OptionsDialog:

Signals

void appearanceChanged ()
 
void proxyIpChecks (QValidatedLineEdit *pUiProxyIp, int nProxyPort)
 

Public Member Functions

 OptionsDialog (QWidget *parent, bool enableWallet)
 
 ~OptionsDialog ()
 
void setModel (OptionsModel *model)
 
void setMapper ()
 

Private Slots

void showPage (int index)
 custom tab buttons clicked More...
 
void setOkButtonState (bool fState)
 
void on_resetButton_clicked ()
 
void on_okButton_clicked ()
 
void on_cancelButton_clicked ()
 
void on_hideTrayIcon_stateChanged (int fState)
 
void showRestartWarning (bool fPersistent=false)
 
void clearStatusLabel ()
 
void updateProxyValidationState ()
 
void updateDefaultProxyNets ()
 
void updatePrivateSendVisibility ()
 
void updateWidth ()
 

Private Member Functions

void showEvent (QShowEvent *event) override
 

Private Attributes

Ui::OptionsDialog * ui
 
OptionsModelmodel
 
QDataWidgetMapper * mapper
 
QButtonGroup pageButtons
 
QString previousTheme
 
AppearanceWidgetappearance
 
bool fPrivateSendEnabledPrev {false}
 

Detailed Description

Preferences dialog.

Definition at line 37 of file optionsdialog.h.

Constructor & Destructor Documentation

◆ OptionsDialog()

OptionsDialog::OptionsDialog ( QWidget *  parent,
bool  enableWallet 
)
explicit

check if the locale name consists of 2 parts (language_country)

display language strings as "language - country (locale name)", e.g. "German - Germany (de)"
display language strings as "language (locale name)", e.g. "German (de)"

Definition at line 34 of file optionsdialog.cpp.

References appearance, AppearanceWidget::appearanceChanged(), appearanceChanged(), GUIUtil::Bold, GUIUtil::disableMacFocusRect(), CPrivateSendClientManager::fEnablePrivateSend, fPrivateSendEnabledPrev, GetNumCores(), mapper, MAX_SCRIPTCHECK_THREADS, nMaxDbCache, nMinDbCache, pageButtons, privateSendClient, GUIUtil::setFont(), showPage(), ui, GUIUtil::updateFonts(), updatePrivateSendVisibility(), updateProxyValidationState(), and updateWidth().

◆ ~OptionsDialog()

OptionsDialog::~OptionsDialog ( )

Definition at line 187 of file optionsdialog.cpp.

References ui.

Member Function Documentation

◆ appearanceChanged

void OptionsDialog::appearanceChanged ( )
signal

◆ clearStatusLabel

void OptionsDialog::clearStatusLabel ( )
privateslot

◆ on_cancelButton_clicked

void OptionsDialog::on_cancelButton_clicked ( )
privateslot

Definition at line 360 of file optionsdialog.cpp.

◆ on_hideTrayIcon_stateChanged

void OptionsDialog::on_hideTrayIcon_stateChanged ( int  fState)
privateslot

Definition at line 365 of file optionsdialog.cpp.

References ui.

◆ on_okButton_clicked

void OptionsDialog::on_okButton_clicked ( )
privateslot

◆ on_resetButton_clicked

void OptionsDialog::on_resetButton_clicked ( )
privateslot

◆ proxyIpChecks

void OptionsDialog::proxyIpChecks ( QValidatedLineEdit pUiProxyIp,
int  nProxyPort 
)
signal

◆ setMapper()

◆ setModel()

◆ setOkButtonState

void OptionsDialog::setOkButtonState ( bool  fState)
privateslot

Definition at line 323 of file optionsdialog.cpp.

References ui.

Referenced by updateProxyValidationState().

◆ showEvent()

void OptionsDialog::showEvent ( QShowEvent *  event)
overrideprivate

Definition at line 470 of file optionsdialog.cpp.

References updateWidth().

◆ showPage

void OptionsDialog::showPage ( int  index)
privateslot

custom tab buttons clicked

Definition at line 305 of file optionsdialog.cpp.

References GUIUtil::Bold, GUIUtil::Normal, pageButtons, GUIUtil::setFont(), ui, and GUIUtil::updateFonts().

Referenced by OptionsDialog().

◆ showRestartWarning

void OptionsDialog::showRestartWarning ( bool  fPersistent = false)
privateslot

◆ updateDefaultProxyNets

void OptionsDialog::updateDefaultProxyNets ( )
privateslot

◆ updatePrivateSendVisibility

void OptionsDialog::updatePrivateSendVisibility ( )
privateslot

Definition at line 442 of file optionsdialog.cpp.

References CPrivateSendClientManager::fEnablePrivateSend, privateSendClient, and ui.

Referenced by OptionsDialog().

◆ updateProxyValidationState

void OptionsDialog::updateProxyValidationState ( )
privateslot

◆ updateWidth

void OptionsDialog::updateWidth ( )
privateslot

Definition at line 452 of file optionsdialog.cpp.

References pageButtons.

Referenced by OptionsDialog(), setModel(), and showEvent().

Member Data Documentation

◆ appearance

AppearanceWidget* OptionsDialog::appearance
private

Definition at line 79 of file optionsdialog.h.

Referenced by on_okButton_clicked(), OptionsDialog(), and setModel().

◆ fPrivateSendEnabledPrev

bool OptionsDialog::fPrivateSendEnabledPrev {false}
private

Definition at line 80 of file optionsdialog.h.

Referenced by OptionsDialog().

◆ mapper

QDataWidgetMapper* OptionsDialog::mapper
private

Definition at line 76 of file optionsdialog.h.

Referenced by on_okButton_clicked(), OptionsDialog(), setMapper(), and setModel().

◆ model

OptionsModel* OptionsDialog::model
private

Definition at line 75 of file optionsdialog.h.

Referenced by clearStatusLabel(), on_resetButton_clicked(), and setModel().

◆ pageButtons

QButtonGroup OptionsDialog::pageButtons
private

Definition at line 77 of file optionsdialog.h.

Referenced by OptionsDialog(), showPage(), and updateWidth().

◆ previousTheme

QString OptionsDialog::previousTheme
private

Definition at line 78 of file optionsdialog.h.

◆ ui


The documentation for this class was generated from the following files:
Released under the MIT license