PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Signals | Public Member Functions | Protected 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]

Signals

void proxyIpChecks (QValidatedLineEdit *pUiProxyIp, QLineEdit *pUiProxyPort)
 

Public Member Functions

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

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
 

Private Slots

void enableOkButton ()
 
void disableOkButton ()
 
void setOkButtonState (bool fState)
 
void on_resetButton_clicked ()
 
void on_okButton_clicked ()
 
void on_cancelButton_clicked ()
 
void updateHideOrphans (bool fHide)
 
void showRestartWarning (bool fPersistent=false)
 
void clearStatusLabel ()
 
void doProxyIpChecks (QValidatedLineEdit *pUiProxyIp, QLineEdit *pUiProxyPort)
 

Private Attributes

Ui::OptionsDialog * ui
 
OptionsModelmodel
 
QDataWidgetMapper * mapper
 
bool fProxyIpValid
 

Detailed Description

Preferences dialog.

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

Here is the call graph for this function:

◆ ~OptionsDialog()

OptionsDialog::~OptionsDialog ( )

Definition at line 114 of file optionsdialog.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ clearStatusLabel

void OptionsDialog::clearStatusLabel ( )
privateslot

Definition at line 257 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ disableOkButton

void OptionsDialog::disableOkButton ( )
privateslot

Definition at line 204 of file optionsdialog.cpp.

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

◆ doProxyIpChecks

void OptionsDialog::doProxyIpChecks ( QValidatedLineEdit pUiProxyIp,
QLineEdit *  pUiProxyPort 
)
privateslot

Definition at line 268 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ enableOkButton

void OptionsDialog::enableOkButton ( )
privateslot

Definition at line 197 of file optionsdialog.cpp.

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

◆ eventFilter()

bool OptionsDialog::eventFilter ( QObject *  object,
QEvent *  event 
)
protected

Definition at line 302 of file optionsdialog.cpp.

◆ on_cancelButton_clicked

void OptionsDialog::on_cancelButton_clicked ( )
privateslot

Definition at line 238 of file optionsdialog.cpp.

◆ on_okButton_clicked

void OptionsDialog::on_okButton_clicked ( )
privateslot

Definition at line 231 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ on_resetButton_clicked

void OptionsDialog::on_resetButton_clicked ( )
privateslot

Definition at line 214 of file optionsdialog.cpp.

Here is the call graph for this function:

◆ proxyIpChecks

void OptionsDialog::proxyIpChecks ( QValidatedLineEdit pUiProxyIp,
QLineEdit *  pUiProxyPort 
)
signal
Here is the caller graph for this function:

◆ setMapper()

void OptionsDialog::setMapper ( )

Definition at line 160 of file optionsdialog.cpp.

Here is the caller graph for this function:

◆ setModel()

void OptionsDialog::setModel ( OptionsModel model)

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

Here is the caller graph for this function:

◆ showRestartWarning

void OptionsDialog::showRestartWarning ( bool  fPersistent = false)
privateslot
Todo:
: should perhaps be a class attribute, if we extend the use of statusLabel

Definition at line 243 of file optionsdialog.cpp.

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

◆ updateHideOrphans

void OptionsDialog::updateHideOrphans ( bool  fHide)
privateslot

Definition at line 262 of file optionsdialog.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ fProxyIpValid

bool OptionsDialog::fProxyIpValid
private

Definition at line 62 of file optionsdialog.h.

◆ mapper

QDataWidgetMapper* OptionsDialog::mapper
private

Definition at line 61 of file optionsdialog.h.

◆ model

OptionsModel* OptionsDialog::model
private

Definition at line 60 of file optionsdialog.h.

◆ ui

Ui::OptionsDialog* OptionsDialog::ui
private

Definition at line 59 of file optionsdialog.h.


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