Fabcoin Core  0.16.2
P2P Digital Currency
askpassphrasedialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef FABCOIN_QT_ASKPASSPHRASEDIALOG_H
6 #define FABCOIN_QT_ASKPASSPHRASEDIALOG_H
7 
8 #include <QDialog>
9 
10 class WalletModel;
11 
12 namespace Ui {
13  class AskPassphraseDialog;
14 }
15 
18 class AskPassphraseDialog : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  enum Mode {
28  Decrypt
29  };
30 
31  explicit AskPassphraseDialog(Mode mode, QWidget *parent);
33 
34  void accept();
35 
36  void setModel(WalletModel *model);
37 
38 private:
42  bool fCapsLock;
43 
44 private Q_SLOTS:
45  void textChanged();
46  void secureClearPassFields();
47 
48 protected:
49  bool event(QEvent *event);
50  bool eventFilter(QObject *object, QEvent *event);
51 };
52 
53 #endif // FABCOIN_QT_ASKPASSPHRASEDIALOG_H
Ask passphrase and unlock staking only.
Ask passphrase twice and encrypt.
evm_mode mode
Definition: SmartVM.cpp:47
Ask passphrase and unlock.
Ui::AskPassphraseDialog * ui
Interface to Fabcoin wallet from Qt view code.
Definition: walletmodel.h:103
Multifunctional dialog to ask for passphrases.
Ask old passphrase + new passphrase twice.