Bitcoin ABC 0.26.3
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 |
Definition at line 222 of file askpassphrasedialog.cpp.
|
privateslot |
Definition at line 278 of file askpassphrasedialog.cpp.
void AskPassphraseDialog::setModel | ( | WalletModel * | model | ) |
|
privateslot |
Definition at line 202 of file askpassphrasedialog.cpp.
Definition at line 238 of file askpassphrasedialog.cpp.
|
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.