aboutsummaryrefslogtreecommitdiff
path: root/src/qt/createwalletdialog.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-02-20 12:22:07 -0500
committerAndrew Chow <achow101-github@achow101.com>2019-09-05 20:36:57 -0400
commit78863e290006e61060622dbdbecc5b58c0fefa05 (patch)
tree63370880baf94c3a2576c3fa2e0b6d3fce4b683c /src/qt/createwalletdialog.h
parent60adb21c7affb41ec475a62a53fb0a36bea35dfb (diff)
downloadbitcoin-78863e290006e61060622dbdbecc5b58c0fefa05.tar.xz
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.h35
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