Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
AskPassphraseDialog Class Reference

Multifunctional dialog to ask for passphrases. More...

#include <askpassphrasedialog.h>

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

Public Types

enum  Mode {
  Encrypt, UnlockStaking, Unlock, ChangePass,
  Decrypt
}
 

Public Member Functions

 AskPassphraseDialog (Mode mode, QWidget *parent)
 
 ~AskPassphraseDialog ()
 
void accept ()
 
void setModel (WalletModel *model)
 

Protected Member Functions

bool event (QEvent *event)
 
bool eventFilter (QObject *object, QEvent *event)
 

Private Slots

void textChanged ()
 
void secureClearPassFields ()
 

Private Attributes

Ui::AskPassphraseDialogui
 
Mode mode
 
WalletModelmodel
 
bool fCapsLock
 

Detailed Description

Multifunctional dialog to ask for passphrases.

Used for encryption, unlocking, and changing the passphrase.

Definition at line 18 of file askpassphrasedialog.h.

Member Enumeration Documentation

Enumerator
Encrypt 

Ask passphrase twice and encrypt.

UnlockStaking 

Ask passphrase and unlock staking only.

Unlock 

Ask passphrase and unlock.

ChangePass 

Ask old passphrase + new passphrase twice.

Decrypt 

Ask passphrase and decrypt wallet.

Definition at line 23 of file askpassphrasedialog.h.

Constructor & Destructor Documentation

AskPassphraseDialog::AskPassphraseDialog ( Mode  mode,
QWidget *  parent 
)
explicit

Definition at line 23 of file askpassphrasedialog.cpp.

Here is the call graph for this function:

AskPassphraseDialog::~AskPassphraseDialog ( )

Definition at line 89 of file askpassphrasedialog.cpp.

Here is the call graph for this function:

Member Function Documentation

void AskPassphraseDialog::accept ( )

Definition at line 100 of file askpassphrasedialog.cpp.

Here is the call graph for this function:

bool AskPassphraseDialog::event ( QEvent *  event)
protected

Definition at line 234 of file askpassphrasedialog.cpp.

Here is the caller graph for this function:

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

Definition at line 251 of file askpassphrasedialog.cpp.

Here is the call graph for this function:

void AskPassphraseDialog::secureClearPassFields ( )
privateslot

Definition at line 284 of file askpassphrasedialog.cpp.

Here is the caller graph for this function:

void AskPassphraseDialog::setModel ( WalletModel model)

Definition at line 95 of file askpassphrasedialog.cpp.

Here is the caller graph for this function:

void AskPassphraseDialog::textChanged ( )
privateslot

Definition at line 213 of file askpassphrasedialog.cpp.

Here is the caller graph for this function:

Member Data Documentation

bool AskPassphraseDialog::fCapsLock
private

Definition at line 42 of file askpassphrasedialog.h.

Mode AskPassphraseDialog::mode
private

Definition at line 40 of file askpassphrasedialog.h.

WalletModel* AskPassphraseDialog::model
private

Definition at line 41 of file askpassphrasedialog.h.

Ui::AskPassphraseDialog* AskPassphraseDialog::ui
private

Definition at line 39 of file askpassphrasedialog.h.


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