Bitcoin ABC 0.30.7
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)
 

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 ()
 
void updateThirdPartyTxUrlsState ()
 

Private Attributes

Ui::OptionsDialog * ui
 
OptionsModelmodel
 
QDataWidgetMapper * mapper
 

Detailed Description

Preferences dialog.

Definition at line 43 of file optionsdialog.h.

Member Enumeration Documentation

◆ Tab

Enumerator
TAB_MAIN 
TAB_NETWORK 

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

Here is the call graph for this function:

◆ ~OptionsDialog()

OptionsDialog::~OptionsDialog ( )

Definition at line 172 of file optionsdialog.cpp.

Member Function Documentation

◆ clearStatusLabel

void OptionsDialog::clearStatusLabel ( )
privateslot

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

◆ on_hideTrayIcon_stateChanged

void OptionsDialog::on_hideTrayIcon_stateChanged ( int  fState)
privateslot

Definition at line 347 of file optionsdialog.cpp.

◆ on_okButton_clicked

void OptionsDialog::on_okButton_clicked ( )
privateslot

Definition at line 337 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_openBitcoinConfButton_clicked

void OptionsDialog::on_openBitcoinConfButton_clicked ( )
privateslot

Definition at line 321 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_resetButton_clicked

void OptionsDialog::on_resetButton_clicked ( )
privateslot

Definition at line 302 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ proxyIpChecks

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

◆ setCurrentTab()

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

Definition at line 242 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ setMapper()

void OptionsDialog::setMapper ( )

Definition at line 255 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ setModel()

void OptionsDialog::setModel ( OptionsModel model)

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

Here is the caller graph for this function:

◆ showRestartWarning

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

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

Here is the caller graph for this function:

◆ updateDefaultProxyNets

void OptionsDialog::updateDefaultProxyNets ( )
privateslot

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

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

◆ updateThirdPartyTxUrlsState

void OptionsDialog::updateThirdPartyTxUrlsState ( )
privateslot

Definition at line 444 of file optionsdialog.cpp.

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

Member Data Documentation

◆ mapper

QDataWidgetMapper* OptionsDialog::mapper
private

Definition at line 83 of file optionsdialog.h.

◆ model

OptionsModel* OptionsDialog::model
private

Definition at line 82 of file optionsdialog.h.

◆ ui

Ui::OptionsDialog* OptionsDialog::ui
private

Definition at line 81 of file optionsdialog.h.


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