Bitcoin Core  22.99.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 };
39 
40 #endif // BITCOIN_QT_CREATEWALLETDIALOG_H
WalletModel
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:51
CreateWalletDialog::isMakeBlankWalletChecked
bool isMakeBlankWalletChecked() const
Definition: createwalletdialog.cpp:151
CreateWalletDialog::isDisablePrivateKeysChecked
bool isDisablePrivateKeysChecked() const
Definition: createwalletdialog.cpp:146
CreateWalletDialog::isEncryptWalletChecked
bool isEncryptWalletChecked() const
Definition: createwalletdialog.cpp:141
CreateWalletDialog::setSigners
void setSigners(const std::vector< ExternalSigner > &signers)
Definition: createwalletdialog.cpp:116
CreateWalletDialog::ui
Ui::CreateWalletDialog * ui
Definition: createwalletdialog.h:37
ExternalSigner
Enables interaction with an external signing device or service, such as a hardware wallet.
Definition: external_signer.h:18
Ui
Definition: addressbookpage.h:14
CreateWalletDialog
Dialog for creating wallets.
Definition: createwalletdialog.h:19
CreateWalletDialog::isDescriptorWalletChecked
bool isDescriptorWalletChecked() const
Definition: createwalletdialog.cpp:156
CreateWalletDialog::~CreateWalletDialog
virtual ~CreateWalletDialog()
Definition: createwalletdialog.cpp:111
CreateWalletDialog::isExternalSignerChecked
bool isExternalSignerChecked() const
Definition: createwalletdialog.cpp:161
CreateWalletDialog::walletName
QString walletName() const
Definition: createwalletdialog.cpp:136
CreateWalletDialog::CreateWalletDialog
CreateWalletDialog(QWidget *parent)
Definition: createwalletdialog.cpp:17