Bitcoin Core  0.21.0rc5
P2P Digital Currency
ui_createwalletdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'createwalletdialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_CREATEWALLETDIALOG_H
10 #define UI_CREATEWALLETDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QCheckBox>
15 #include <QtWidgets/QDialog>
16 #include <QtWidgets/QDialogButtonBox>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QLineEdit>
19 
20 QT_BEGIN_NAMESPACE
21 
23 {
24 public:
25  QDialogButtonBox *buttonBox;
27  QLabel *label;
32  QCheckBox *descriptor_checkbox;
33 
34  void setupUi(QDialog *CreateWalletDialog)
35  {
36  if (CreateWalletDialog->objectName().isEmpty())
37  CreateWalletDialog->setObjectName(QString::fromUtf8("CreateWalletDialog"));
38  CreateWalletDialog->resize(364, 213);
39  buttonBox = new QDialogButtonBox(CreateWalletDialog);
40  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
41  buttonBox->setGeometry(QRect(10, 170, 341, 32));
42  buttonBox->setOrientation(Qt::Horizontal);
43  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
45  wallet_name_line_edit->setObjectName(QString::fromUtf8("wallet_name_line_edit"));
46  wallet_name_line_edit->setGeometry(QRect(120, 20, 231, 24));
47  label = new QLabel(CreateWalletDialog);
48  label->setObjectName(QString::fromUtf8("label"));
49  label->setGeometry(QRect(20, 20, 101, 21));
51  encrypt_wallet_checkbox->setObjectName(QString::fromUtf8("encrypt_wallet_checkbox"));
52  encrypt_wallet_checkbox->setGeometry(QRect(20, 50, 220, 22));
53  encrypt_wallet_checkbox->setChecked(false);
55  advanced_options_label->setObjectName(QString::fromUtf8("advanced_options_label"));
56  advanced_options_label->setGeometry(QRect(20, 90, 220, 21));
57  advanced_options_label->setStyleSheet(QString::fromUtf8("font-weight:bold;"));
59  disable_privkeys_checkbox->setObjectName(QString::fromUtf8("disable_privkeys_checkbox"));
60  disable_privkeys_checkbox->setEnabled(true);
61  disable_privkeys_checkbox->setGeometry(QRect(20, 115, 220, 22));
63  blank_wallet_checkbox->setObjectName(QString::fromUtf8("blank_wallet_checkbox"));
64  blank_wallet_checkbox->setGeometry(QRect(20, 135, 220, 22));
65  descriptor_checkbox = new QCheckBox(CreateWalletDialog);
66  descriptor_checkbox->setObjectName(QString::fromUtf8("descriptor_checkbox"));
67  descriptor_checkbox->setGeometry(QRect(20, 155, 220, 22));
68  QWidget::setTabOrder(wallet_name_line_edit, encrypt_wallet_checkbox);
70  QWidget::setTabOrder(disable_privkeys_checkbox, blank_wallet_checkbox);
71  QWidget::setTabOrder(blank_wallet_checkbox, descriptor_checkbox);
72 
74  QObject::connect(buttonBox, SIGNAL(accepted()), CreateWalletDialog, SLOT(accept()));
75  QObject::connect(buttonBox, SIGNAL(rejected()), CreateWalletDialog, SLOT(reject()));
76 
77  QMetaObject::connectSlotsByName(CreateWalletDialog);
78  } // setupUi
79 
81  {
82  CreateWalletDialog->setWindowTitle(QCoreApplication::translate("CreateWalletDialog", "Create Wallet", nullptr));
83  wallet_name_line_edit->setPlaceholderText(QCoreApplication::translate("CreateWalletDialog", "Wallet", nullptr));
84  label->setText(QCoreApplication::translate("CreateWalletDialog", "Wallet Name", nullptr));
85 #if QT_CONFIG(tooltip)
86  encrypt_wallet_checkbox->setToolTip(QCoreApplication::translate("CreateWalletDialog", "Encrypt the wallet. The wallet will be encrypted with a passphrase of your choice.", nullptr));
87 #endif // QT_CONFIG(tooltip)
88  encrypt_wallet_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Encrypt Wallet", nullptr));
89  advanced_options_label->setText(QCoreApplication::translate("CreateWalletDialog", "Advanced options", nullptr));
90 #if QT_CONFIG(tooltip)
91  disable_privkeys_checkbox->setToolTip(QCoreApplication::translate("CreateWalletDialog", "Disable private keys for this wallet. Wallets with private keys disabled will have no private keys and cannot have an HD seed or imported private keys. This is ideal for watch-only wallets.", nullptr));
92 #endif // QT_CONFIG(tooltip)
93  disable_privkeys_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Disable Private Keys", nullptr));
94 #if QT_CONFIG(tooltip)
95  blank_wallet_checkbox->setToolTip(QCoreApplication::translate("CreateWalletDialog", "Make a blank wallet. Blank wallets do not initially have private keys or scripts. Private keys and addresses can be imported, or an HD seed can be set, at a later time.", nullptr));
96 #endif // QT_CONFIG(tooltip)
97  blank_wallet_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Make Blank Wallet", nullptr));
98 #if QT_CONFIG(tooltip)
99  descriptor_checkbox->setToolTip(QCoreApplication::translate("CreateWalletDialog", "Use descriptors for scriptPubKey management", nullptr));
100 #endif // QT_CONFIG(tooltip)
101  descriptor_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Descriptor Wallet", nullptr));
102  } // retranslateUi
103 
104 };
105 
106 namespace Ui {
108 } // namespace Ui
109 
110 QT_END_NAMESPACE
111 
112 #endif // UI_CREATEWALLETDIALOG_H
Dialog for creating wallets.
QDialogButtonBox * buttonBox
void setupUi(QDialog *CreateWalletDialog)
void retranslateUi(QDialog *CreateWalletDialog)