Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Multifunctional dialog to ask for passphrases. More...
#include <askpassphrasedialog.h>
Public Types | |
enum | Mode { Encrypt, UnlockMixing, 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 () |
void | toggleShowPassword (bool) |
Private Attributes | |
Ui::AskPassphraseDialog * | ui |
Mode | mode |
WalletModel * | model |
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
◆ Mode
Definition at line 23 of file askpassphrasedialog.h.
Constructor & Destructor Documentation
◆ AskPassphraseDialog()
|
explicit |
Definition at line 23 of file askpassphrasedialog.cpp.
References GUIUtil::Bold, ChangePass, Decrypt, GUIUtil::disableMacFocusRect(), Encrypt, MAX_PASSPHRASE_SIZE, mode, GUIUtil::setFont(), textChanged(), toggleShowPassword(), ui, Unlock, UnlockMixing, and GUIUtil::updateFonts().
◆ ~AskPassphraseDialog()
AskPassphraseDialog::~AskPassphraseDialog | ( | ) |
Definition at line 95 of file askpassphrasedialog.cpp.
References secureClearPassFields(), and ui.
Member Function Documentation
◆ accept()
void AskPassphraseDialog::accept | ( | ) |
Definition at line 106 of file askpassphrasedialog.cpp.
References ChangePass, WalletModel::changePassphrase(), Decrypt, Encrypt, WalletModel::hdEnabled(), MAX_PASSPHRASE_SIZE, mode, model, secureClearPassFields(), WalletModel::setWalletEncrypted(), WalletModel::setWalletLocked(), ui, Unlock, and UnlockMixing.
◆ event()
|
protected |
Definition at line 253 of file askpassphrasedialog.cpp.
Referenced by eventFilter().
◆ eventFilter()
|
protected |
Definition at line 279 of file askpassphrasedialog.cpp.
◆ secureClearPassFields
|
privateslot |
Definition at line 312 of file askpassphrasedialog.cpp.
References SecureClearQLineEdit(), and ui.
Referenced by accept(), and ~AskPassphraseDialog().
◆ setModel()
void AskPassphraseDialog::setModel | ( | WalletModel * | model | ) |
Definition at line 101 of file askpassphrasedialog.cpp.
References model.
Referenced by WalletView::changePassphrase(), WalletView::encryptWallet(), and WalletView::unlockWallet().
◆ textChanged
|
privateslot |
Definition at line 232 of file askpassphrasedialog.cpp.
References ChangePass, Decrypt, Encrypt, mode, ui, Unlock, and UnlockMixing.
Referenced by AskPassphraseDialog().
◆ toggleShowPassword
|
privateslot |
Definition at line 270 of file askpassphrasedialog.cpp.
Referenced by AskPassphraseDialog().
Member Data Documentation
◆ fCapsLock
|
private |
Definition at line 42 of file askpassphrasedialog.h.
Referenced by event(), and eventFilter().
◆ mode
|
private |
Definition at line 40 of file askpassphrasedialog.h.
Referenced by accept(), AskPassphraseDialog(), textChanged(), and toggleShowPassword().
◆ model
|
private |
Definition at line 41 of file askpassphrasedialog.h.
Referenced by accept(), and setModel().
◆ ui
|
private |
Definition at line 39 of file askpassphrasedialog.h.
Referenced by accept(), AskPassphraseDialog(), event(), eventFilter(), secureClearPassFields(), textChanged(), toggleShowPassword(), and ~AskPassphraseDialog().
The documentation for this class was generated from the following files:
- src/qt/askpassphrasedialog.h
- src/qt/askpassphrasedialog.cpp