Bitcoin ABC 0.30.7
P2P Digital Currency
|
Multifunctional dialog to ask for passphrases. More...
#include <askpassphrasedialog.h>
Public Types | |
enum | Mode { Encrypt , Unlock , ChangePass } |
Public Member Functions | |
AskPassphraseDialog (Mode mode, QWidget *parent, SecureString *passphrase_out=nullptr) | |
~AskPassphraseDialog () | |
void | accept () override |
void | setModel (WalletModel *model) |
Protected Member Functions | |
bool | event (QEvent *event) override |
bool | eventFilter (QObject *object, QEvent *event) override |
Private Slots | |
void | textChanged () |
void | secureClearPassFields () |
void | toggleShowPassword (bool) |
Private Attributes | |
Ui::AskPassphraseDialog * | ui |
Mode | mode |
WalletModel * | model |
bool | fCapsLock |
SecureString * | m_passphrase_out |
Multifunctional dialog to ask for passphrases.
Used for encryption, unlocking, and changing the passphrase.
Definition at line 21 of file askpassphrasedialog.h.
Enumerator | |
---|---|
Encrypt | Ask passphrase twice and encrypt. |
Unlock | Ask passphrase and unlock. |
ChangePass | Ask old passphrase + new passphrase twice. |
Definition at line 25 of file askpassphrasedialog.h.
|
explicit |
AskPassphraseDialog::~AskPassphraseDialog | ( | ) |
|
override |
|
overrideprotected |
Definition at line 222 of file askpassphrasedialog.cpp.
|
overrideprotected |
|
privateslot |
Definition at line 278 of file askpassphrasedialog.cpp.
void AskPassphraseDialog::setModel | ( | WalletModel * | model | ) |
|
privateslot |
|
privateslot |
|
private |
Definition at line 43 of file askpassphrasedialog.h.
|
private |
Definition at line 44 of file askpassphrasedialog.h.
|
private |
Definition at line 41 of file askpassphrasedialog.h.
|
private |
Definition at line 42 of file askpassphrasedialog.h.
|
private |
Definition at line 40 of file askpassphrasedialog.h.