Bitcoin Core  22.0.0
P2P Digital Currency
createwalletdialog.h
Go to the documentation of this file.
1 // Copyright (c) 2019 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 BITCOIN_QT_CREATEWALLETDIALOG_H
6 #define BITCOIN_QT_CREATEWALLETDIALOG_H
7 
8 #include <QDialog>
9 
10 class ExternalSigner;
11 class WalletModel;
12 
13 namespace Ui {
14  class CreateWalletDialog;
15 }
16 
19 class CreateWalletDialog : public QDialog
20 {
21  Q_OBJECT
22 
23 public:
24  explicit CreateWalletDialog(QWidget* parent);
25  virtual ~CreateWalletDialog();
26 
27  void setSigners(const std::vector<ExternalSigner>& signers);
28 
29  QString walletName() const;
30  bool isEncryptWalletChecked() const;
31  bool isDisablePrivateKeysChecked() const;
32  bool isMakeBlankWalletChecked() const;
33  bool isDescriptorWalletChecked() const;
34  bool isExternalSignerChecked() const;
35 
36 private:
37  Ui::CreateWalletDialog *ui;
38  bool m_has_signers = false;
39 };
40 
41 #endif // BITCOIN_QT_CREATEWALLETDIALOG_H
bool isExternalSignerChecked() const
Enables interaction with an external signing device or service, such as a hardware wallet...
bool isDescriptorWalletChecked() const
bool isEncryptWalletChecked() const
QString walletName() const
bool isDisablePrivateKeysChecked() const
CreateWalletDialog(QWidget *parent)
Ui::CreateWalletDialog * ui
bool isMakeBlankWalletChecked() const
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:51
Dialog for creating wallets.
void setSigners(const std::vector< ExternalSigner > &signers)