diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-02-20 12:22:07 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-09-05 20:36:57 -0400 |
commit | 78863e290006e61060622dbdbecc5b58c0fefa05 (patch) | |
tree | 63370880baf94c3a2576c3fa2e0b6d3fce4b683c /src/qt/createwalletdialog.h | |
parent | 60adb21c7affb41ec475a62a53fb0a36bea35dfb (diff) |
Add CreateWalletDialog to create wallets from the GUI
Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
Diffstat (limited to 'src/qt/createwalletdialog.h')
-rw-r--r-- | src/qt/createwalletdialog.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/qt/createwalletdialog.h b/src/qt/createwalletdialog.h new file mode 100644 index 0000000000..a1365b5969 --- /dev/null +++ b/src/qt/createwalletdialog.h @@ -0,0 +1,35 @@ +// Copyright (c) 2019 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#ifndef BITCOIN_QT_CREATEWALLETDIALOG_H +#define BITCOIN_QT_CREATEWALLETDIALOG_H + +#include <QDialog> + +class WalletModel; + +namespace Ui { + class CreateWalletDialog; +} + +/** Dialog for creating wallets + */ +class CreateWalletDialog : public QDialog +{ + Q_OBJECT + +public: + explicit CreateWalletDialog(QWidget* parent); + virtual ~CreateWalletDialog(); + + QString walletName() const; + bool encrypt() const; + bool disablePrivateKeys() const; + bool blank() const; + +private: + Ui::CreateWalletDialog *ui; +}; + +#endif // BITCOIN_QT_CREATEWALLETDIALOG_H |