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
10class ExternalSigner;
11class WalletModel;
12
13namespace Ui {
15}
16
19class CreateWalletDialog : public QDialog
20{
21 Q_OBJECT
22
23public:
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
36private:
38 bool m_has_signers = false;
39};
40
41#endif // BITCOIN_QT_CREATEWALLETDIALOG_H
Dialog for creating wallets.
bool isMakeBlankWalletChecked() const
void setSigners(const std::vector< ExternalSigner > &signers)
QString walletName() const
Ui::CreateWalletDialog * ui
bool isDisablePrivateKeysChecked() const
bool isEncryptWalletChecked() const
bool isDescriptorWalletChecked() const
bool isExternalSignerChecked() const
CreateWalletDialog(QWidget *parent)
Enables interaction with an external signing device or service, such as a hardware wallet.
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:52