Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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:
Inheritance graph
[legend]
Collaboration diagram for OptionsDialog:
Collaboration graph
[legend]

Signals

void proxyIpValid (QValidatedLineEdit *object, bool fValid)
 

Public Member Functions

 OptionsDialog (QWidget *parent=0)
 
 ~OptionsDialog ()
 
void setModel (OptionsModel *model)
 
void setMapper ()
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
 

Private Slots

void enableApplyButton ()
 
void disableApplyButton ()
 
void enableSaveButtons ()
 
void disableSaveButtons ()
 
void setSaveButtonState (bool fState)
 
void on_resetButton_clicked ()
 
void on_okButton_clicked ()
 
void on_cancelButton_clicked ()
 
void on_applyButton_clicked ()
 
void showRestartWarning_Proxy ()
 
void showRestartWarning_Lang ()
 
void updateDisplayUnit ()
 
void handleProxyIpValid (QValidatedLineEdit *object, bool fState)
 

Private Attributes

Ui::OptionsDialog * ui
 
OptionsModelmodel
 
MonitoredDataMappermapper
 
bool fRestartWarningDisplayed_Proxy
 
bool fRestartWarningDisplayed_Lang
 
bool fProxyIpValid
 

Detailed Description

Preferences dialog.

Definition at line 14 of file optionsdialog.h.

Constructor & Destructor Documentation

OptionsDialog::OptionsDialog ( QWidget *  parent = 0)
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 14 of file optionsdialog.cpp.

OptionsDialog::~OptionsDialog ( )

Definition at line 97 of file optionsdialog.cpp.

Member Function Documentation

void OptionsDialog::disableApplyButton ( )
privateslot

Definition at line 157 of file optionsdialog.cpp.

void OptionsDialog::disableSaveButtons ( )
privateslot

Definition at line 169 of file optionsdialog.cpp.

void OptionsDialog::enableApplyButton ( )
privateslot

Definition at line 152 of file optionsdialog.cpp.

void OptionsDialog::enableSaveButtons ( )
privateslot

Definition at line 162 of file optionsdialog.cpp.

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

Definition at line 270 of file optionsdialog.cpp.

void OptionsDialog::handleProxyIpValid ( QValidatedLineEdit object,
bool  fState 
)
privateslot

Definition at line 251 of file optionsdialog.cpp.

void OptionsDialog::on_applyButton_clicked ( )
privateslot

Definition at line 218 of file optionsdialog.cpp.

void OptionsDialog::on_cancelButton_clicked ( )
privateslot

Definition at line 213 of file optionsdialog.cpp.

void OptionsDialog::on_okButton_clicked ( )
privateslot

Definition at line 207 of file optionsdialog.cpp.

void OptionsDialog::on_resetButton_clicked ( )
privateslot

Definition at line 180 of file optionsdialog.cpp.

void OptionsDialog::proxyIpValid ( QValidatedLineEdit object,
bool  fValid 
)
signal
void OptionsDialog::setMapper ( )

Definition at line 125 of file optionsdialog.cpp.

void OptionsDialog::setModel ( OptionsModel model)

Definition at line 102 of file optionsdialog.cpp.

void OptionsDialog::setSaveButtonState ( bool  fState)
privateslot

Definition at line 174 of file optionsdialog.cpp.

void OptionsDialog::showRestartWarning_Lang ( )
privateslot

Definition at line 233 of file optionsdialog.cpp.

void OptionsDialog::showRestartWarning_Proxy ( )
privateslot

Definition at line 224 of file optionsdialog.cpp.

void OptionsDialog::updateDisplayUnit ( )
privateslot

Definition at line 242 of file optionsdialog.cpp.

Member Data Documentation

bool OptionsDialog::fProxyIpValid
private

Definition at line 58 of file optionsdialog.h.

bool OptionsDialog::fRestartWarningDisplayed_Lang
private

Definition at line 57 of file optionsdialog.h.

bool OptionsDialog::fRestartWarningDisplayed_Proxy
private

Definition at line 56 of file optionsdialog.h.

MonitoredDataMapper* OptionsDialog::mapper
private

Definition at line 55 of file optionsdialog.h.

OptionsModel* OptionsDialog::model
private

Definition at line 54 of file optionsdialog.h.

Ui::OptionsDialog* OptionsDialog::ui
private

Definition at line 53 of file optionsdialog.h.


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