![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
Multifunctional dialog to ask for passphrases. More...
#include <askpassphrasedialog.h>
Inheritance diagram for AskPassphraseDialog:
Collaboration diagram for AskPassphraseDialog:Public Types | |
| enum | Mode { Encrypt, 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 () |
Private Attributes | |
| Ui::AskPassphraseDialog * | ui |
| Mode | mode |
| WalletModel * | model |
| bool | fCapsLock |
Multifunctional dialog to ask for passphrases.
Used for encryption, unlocking, and changing the passphrase.
Definition at line 18 of file askpassphrasedialog.h.
| Enumerator | |
|---|---|
| Encrypt |
Ask passphrase twice and encrypt. |
| 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.
Definition at line 17 of file askpassphrasedialog.cpp.
References ChangePass, Decrypt, Encrypt, MAX_PASSPHRASE_SIZE, Ui_AskPassphraseDialog::passEdit1, Ui_AskPassphraseDialog::passEdit2, Ui_AskPassphraseDialog::passEdit3, Ui_AskPassphraseDialog::passLabel1, Ui_AskPassphraseDialog::passLabel2, Ui_AskPassphraseDialog::passLabel3, Ui_AskPassphraseDialog::setupUi(), textChanged(), ui, Unlock, and Ui_AskPassphraseDialog::warningLabel.
Here is the call graph for this function:| AskPassphraseDialog::~AskPassphraseDialog | ( | ) |
Definition at line 71 of file askpassphrasedialog.cpp.
References Ui_AskPassphraseDialog::passEdit1, Ui_AskPassphraseDialog::passEdit2, Ui_AskPassphraseDialog::passEdit3, and ui.
| void AskPassphraseDialog::accept | ( | ) |
Definition at line 85 of file askpassphrasedialog.cpp.
References ChangePass, WalletModel::changePassphrase(), Decrypt, Encrypt, MAX_PASSPHRASE_SIZE, mode, model, Ui_AskPassphraseDialog::passEdit1, Ui_AskPassphraseDialog::passEdit2, Ui_AskPassphraseDialog::passEdit3, WalletModel::setWalletEncrypted(), WalletModel::setWalletLocked(), ui, and Unlock.
Here is the call graph for this function:
|
protected |
Definition at line 214 of file askpassphrasedialog.cpp.
References Ui_AskPassphraseDialog::capsLabel, fCapsLock, and ui.
Referenced by eventFilter().
Here is the caller graph for this function:
|
protected |
Definition at line 231 of file askpassphrasedialog.cpp.
References Ui_AskPassphraseDialog::capsLabel, event(), fCapsLock, and ui.
Here is the call graph for this function:| void AskPassphraseDialog::setModel | ( | WalletModel * | model | ) |
Definition at line 80 of file askpassphrasedialog.cpp.
References model.
Referenced by WalletView::changePassphrase(), WalletView::encryptWallet(), and WalletView::unlockWallet().
Here is the caller graph for this function:
|
privateslot |
Definition at line 194 of file askpassphrasedialog.cpp.
References Ui_AskPassphraseDialog::buttonBox, ChangePass, Decrypt, Encrypt, mode, Ui_AskPassphraseDialog::passEdit1, Ui_AskPassphraseDialog::passEdit2, Ui_AskPassphraseDialog::passEdit3, ui, and Unlock.
Referenced by AskPassphraseDialog().
Here is the caller graph for this function:
|
private |
Definition at line 41 of file askpassphrasedialog.h.
Referenced by event(), and eventFilter().
|
private |
Definition at line 39 of file askpassphrasedialog.h.
Referenced by accept(), and textChanged().
|
private |
Definition at line 40 of file askpassphrasedialog.h.
Referenced by accept(), and setModel().
|
private |
Definition at line 38 of file askpassphrasedialog.h.
Referenced by accept(), AskPassphraseDialog(), event(), eventFilter(), textChanged(), and ~AskPassphraseDialog().
1.8.8