Bitcoin Core  0.15.99
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, int nProxyPort)
 

Public Member Functions

 OptionsDialog (QWidget *parent, bool enableWallet)
 
 ~OptionsDialog ()
 
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_hideTrayIcon_stateChanged (int fState)
 
void togglePruneWarning (bool enabled)
 
void showRestartWarning (bool fPersistent=false)
 
void clearStatusLabel ()
 
void updateProxyValidationState ()
 
void updateDefaultProxyNets ()
 

Private Attributes

Ui::OptionsDialog * ui
 
OptionsModelmodel
 
QDataWidgetMapper * mapper
 

Detailed Description

Preferences dialog.

Definition at line 35 of file optionsdialog.h.

Member Enumeration Documentation

◆ Tab

Enumerator
TAB_MAIN 
TAB_NETWORK 

Definition at line 43 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 (locale name)", e.g. "Deutsch - Deutschland (de)"

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

Definition at line 28 of file optionsdialog.cpp.

◆ ~OptionsDialog()

OptionsDialog::~OptionsDialog ( )

Definition at line 131 of file optionsdialog.cpp.

Member Function Documentation

◆ clearStatusLabel

void OptionsDialog::clearStatusLabel ( )
privateslot

Definition at line 307 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 267 of file optionsdialog.cpp.

◆ on_hideTrayIcon_stateChanged

void OptionsDialog::on_hideTrayIcon_stateChanged ( int  fState)
privateslot

Definition at line 272 of file optionsdialog.cpp.

◆ on_okButton_clicked

void OptionsDialog::on_okButton_clicked ( )
privateslot

Definition at line 260 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_openBitcoinConfButton_clicked

void OptionsDialog::on_openBitcoinConfButton_clicked ( )
privateslot

Definition at line 248 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_resetButton_clicked

void OptionsDialog::on_resetButton_clicked ( )
privateslot

Definition at line 230 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ proxyIpChecks

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

◆ setCurrentTab()

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

Definition at line 177 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ setMapper()

void OptionsDialog::setMapper ( )

Definition at line 187 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ setModel()

void OptionsDialog::setModel ( OptionsModel model)

Definition at line 136 of file optionsdialog.cpp.

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

◆ setOkButtonState

void OptionsDialog::setOkButtonState ( bool  fState)
privateslot

Definition at line 225 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ showRestartWarning

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

Definition at line 290 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 285 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ updateDefaultProxyNets

void OptionsDialog::updateDefaultProxyNets ( )
privateslot

Definition at line 332 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 315 of file optionsdialog.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ mapper

QDataWidgetMapper* OptionsDialog::mapper
private

Definition at line 75 of file optionsdialog.h.

◆ model

OptionsModel* OptionsDialog::model
private

Definition at line 74 of file optionsdialog.h.

◆ ui

Ui::OptionsDialog* OptionsDialog::ui
private

Definition at line 73 of file optionsdialog.h.


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