Bitcoin Core 28.99.0
P2P Digital Currency
Public Types | Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
OptionsDialog Class Reference

Preferences dialog. More...

#include <optionsdialog.h>

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

Public Types

enum  Tab { TAB_MAIN , TAB_NETWORK }
 

Signals

void proxyIpChecks (QValidatedLineEdit *pUiProxyIp, uint16_t nProxyPort)
 
void quitOnReset ()
 

Public Member Functions

 OptionsDialog (QWidget *parent, bool enableWallet)
 
 ~OptionsDialog ()
 
void setClientModel (ClientModel *client_model)
 
void setModel (OptionsModel *model)
 
void setMapper ()
 
void setCurrentTab (OptionsDialog::Tab tab)
 

Private Slots

void setOkButtonState (bool fState)
 
void on_resetButton_clicked ()
 
void on_openBitcoinConfButton_clicked ()
 
void on_okButton_clicked ()
 
void on_cancelButton_clicked ()
 
void on_showTrayIcon_stateChanged (int state)
 
void togglePruneWarning (bool enabled)
 
void showRestartWarning (bool fPersistent=false)
 
void clearStatusLabel ()
 
void updateProxyValidationState ()
 
void updateDefaultProxyNets ()
 

Private Attributes

Ui::OptionsDialog * ui
 
ClientModelm_client_model {nullptr}
 
OptionsModelmodel {nullptr}
 
QDataWidgetMapper * mapper {nullptr}
 

Detailed Description

Preferences dialog.

Definition at line 36 of file optionsdialog.h.

Member Enumeration Documentation

◆ Tab

Enumerator
TAB_MAIN 
TAB_NETWORK 

Definition at line 44 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 "native language - native country/territory (locale name)", e.g. "Deutsch - Deutschland (de)"

display language strings as "native language (locale name)", e.g. "Deutsch (de)"

Definition at line 89 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ ~OptionsDialog()

OptionsDialog::~OptionsDialog ( )

Definition at line 212 of file optionsdialog.cpp.

Member Function Documentation

◆ clearStatusLabel

void OptionsDialog::clearStatusLabel ( )
privateslot

Definition at line 429 of file optionsdialog.cpp.

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

◆ on_cancelButton_clicked

void OptionsDialog::on_cancelButton_clicked ( )
privateslot

Definition at line 392 of file optionsdialog.cpp.

◆ on_okButton_clicked

void OptionsDialog::on_okButton_clicked ( )
privateslot

Definition at line 383 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_openBitcoinConfButton_clicked

void OptionsDialog::on_openBitcoinConfButton_clicked ( )
privateslot

Definition at line 359 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_resetButton_clicked

void OptionsDialog::on_resetButton_clicked ( )
privateslot

Definition at line 331 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_showTrayIcon_stateChanged

void OptionsDialog::on_showTrayIcon_stateChanged ( int  state)
privateslot

Definition at line 397 of file optionsdialog.cpp.

◆ proxyIpChecks

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

◆ quitOnReset

void OptionsDialog::quitOnReset ( )
signal
Here is the caller graph for this function:

◆ setClientModel()

void OptionsDialog::setClientModel ( ClientModel client_model)

Definition at line 217 of file optionsdialog.cpp.

◆ setCurrentTab()

void OptionsDialog::setCurrentTab ( OptionsDialog::Tab  tab)

Definition at line 272 of file optionsdialog.cpp.

◆ setMapper()

void OptionsDialog::setMapper ( )

Definition at line 282 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ setModel()

void OptionsDialog::setModel ( OptionsModel model)

Definition at line 222 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ setOkButtonState

void OptionsDialog::setOkButtonState ( bool  fState)
privateslot

Definition at line 326 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ showRestartWarning

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

Definition at line 412 of file optionsdialog.cpp.

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

◆ togglePruneWarning

void OptionsDialog::togglePruneWarning ( bool  enabled)
privateslot

Definition at line 407 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ updateDefaultProxyNets

void OptionsDialog::updateDefaultProxyNets ( )
privateslot

Definition at line 454 of file optionsdialog.cpp.

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

◆ updateProxyValidationState

void OptionsDialog::updateProxyValidationState ( )
privateslot

Definition at line 437 of file optionsdialog.cpp.

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

Member Data Documentation

◆ m_client_model

ClientModel* OptionsDialog::m_client_model {nullptr}
private

Definition at line 77 of file optionsdialog.h.

◆ mapper

QDataWidgetMapper* OptionsDialog::mapper {nullptr}
private

Definition at line 79 of file optionsdialog.h.

◆ model

OptionsModel* OptionsDialog::model {nullptr}
private

Definition at line 78 of file optionsdialog.h.

◆ ui

Ui::OptionsDialog* OptionsDialog::ui
private

Definition at line 76 of file optionsdialog.h.


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