Bitcoin Core  24.1.0
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.12.7
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/QGroupBox>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QLabel>
20 #include <QtWidgets/QLineEdit>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QVBoxLayout>
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QVBoxLayout *verticalLayout;
30  QHBoxLayout *horizontalLayout;
34  QSpacerItem *verticalSpacer_1;
35  QGroupBox *groupBox;
39  QCheckBox *descriptor_checkbox;
41  QSpacerItem *verticalSpacer_2;
42  QDialogButtonBox *buttonBox;
43 
44  void setupUi(QDialog *CreateWalletDialog)
45  {
46  if (CreateWalletDialog->objectName().isEmpty())
47  CreateWalletDialog->setObjectName(QString::fromUtf8("CreateWalletDialog"));
48  CreateWalletDialog->resize(364, 249);
49  CreateWalletDialog->setSizeGripEnabled(true);
50  verticalLayout = new QVBoxLayout(CreateWalletDialog);
51  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
52  horizontalLayout = new QHBoxLayout();
53  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
55  wallet_name_label->setObjectName(QString::fromUtf8("wallet_name_label"));
56 
58 
60  wallet_name_line_edit->setObjectName(QString::fromUtf8("wallet_name_line_edit"));
61  wallet_name_line_edit->setMinimumSize(QSize(262, 0));
62 
64 
65 
66  verticalLayout->addLayout(horizontalLayout);
67 
69  encrypt_wallet_checkbox->setObjectName(QString::fromUtf8("encrypt_wallet_checkbox"));
70  encrypt_wallet_checkbox->setChecked(false);
71 
73 
74  verticalSpacer_1 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);
75 
77 
78  groupBox = new QGroupBox(CreateWalletDialog);
79  groupBox->setObjectName(QString::fromUtf8("groupBox"));
80  verticalLayout_groupbox = new QVBoxLayout(groupBox);
81  verticalLayout_groupbox->setObjectName(QString::fromUtf8("verticalLayout_groupbox"));
82  disable_privkeys_checkbox = new QCheckBox(groupBox);
83  disable_privkeys_checkbox->setObjectName(QString::fromUtf8("disable_privkeys_checkbox"));
84  disable_privkeys_checkbox->setEnabled(true);
85 
87 
88  blank_wallet_checkbox = new QCheckBox(groupBox);
89  blank_wallet_checkbox->setObjectName(QString::fromUtf8("blank_wallet_checkbox"));
90 
92 
93  descriptor_checkbox = new QCheckBox(groupBox);
94  descriptor_checkbox->setObjectName(QString::fromUtf8("descriptor_checkbox"));
95  descriptor_checkbox->setChecked(true);
96 
98 
99  external_signer_checkbox = new QCheckBox(groupBox);
100  external_signer_checkbox->setObjectName(QString::fromUtf8("external_signer_checkbox"));
101 
103 
104 
105  verticalLayout->addWidget(groupBox);
106 
107  verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
108 
110 
111  buttonBox = new QDialogButtonBox(CreateWalletDialog);
112  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
113  buttonBox->setOrientation(Qt::Horizontal);
114  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
115 
116  verticalLayout->addWidget(buttonBox);
117 
118  QWidget::setTabOrder(wallet_name_line_edit, encrypt_wallet_checkbox);
119  QWidget::setTabOrder(encrypt_wallet_checkbox, disable_privkeys_checkbox);
120  QWidget::setTabOrder(disable_privkeys_checkbox, blank_wallet_checkbox);
121  QWidget::setTabOrder(blank_wallet_checkbox, descriptor_checkbox);
122  QWidget::setTabOrder(descriptor_checkbox, external_signer_checkbox);
123 
125  QObject::connect(buttonBox, SIGNAL(accepted()), CreateWalletDialog, SLOT(accept()));
126  QObject::connect(buttonBox, SIGNAL(rejected()), CreateWalletDialog, SLOT(reject()));
127 
128  QMetaObject::connectSlotsByName(CreateWalletDialog);
129  } // setupUi
130 
132  {
133  CreateWalletDialog->setWindowTitle(QApplication::translate("CreateWalletDialog", "Create Wallet", nullptr));
134  wallet_name_label->setText(QApplication::translate("CreateWalletDialog", "Wallet Name", nullptr));
135  wallet_name_line_edit->setPlaceholderText(QApplication::translate("CreateWalletDialog", "Wallet", nullptr));
136 #ifndef QT_NO_TOOLTIP
137  encrypt_wallet_checkbox->setToolTip(QApplication::translate("CreateWalletDialog", "Encrypt the wallet. The wallet will be encrypted with a passphrase of your choice.", nullptr));
138 #endif // QT_NO_TOOLTIP
139  encrypt_wallet_checkbox->setText(QApplication::translate("CreateWalletDialog", "Encrypt Wallet", nullptr));
140  groupBox->setTitle(QApplication::translate("CreateWalletDialog", "Advanced Options", nullptr));
141 #ifndef QT_NO_TOOLTIP
142  disable_privkeys_checkbox->setToolTip(QApplication::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));
143 #endif // QT_NO_TOOLTIP
144  disable_privkeys_checkbox->setText(QApplication::translate("CreateWalletDialog", "Disable Private Keys", nullptr));
145 #ifndef QT_NO_TOOLTIP
146  blank_wallet_checkbox->setToolTip(QApplication::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));
147 #endif // QT_NO_TOOLTIP
148  blank_wallet_checkbox->setText(QApplication::translate("CreateWalletDialog", "Make Blank Wallet", nullptr));
149 #ifndef QT_NO_TOOLTIP
150  descriptor_checkbox->setToolTip(QApplication::translate("CreateWalletDialog", "Use descriptors for scriptPubKey management", nullptr));
151 #endif // QT_NO_TOOLTIP
152  descriptor_checkbox->setText(QApplication::translate("CreateWalletDialog", "Descriptor Wallet", nullptr));
153 #ifndef QT_NO_TOOLTIP
154  external_signer_checkbox->setToolTip(QApplication::translate("CreateWalletDialog", "Use an external signing device such as a hardware wallet. Configure the external signer script in wallet preferences first.", nullptr));
155 #endif // QT_NO_TOOLTIP
156  external_signer_checkbox->setText(QApplication::translate("CreateWalletDialog", "External signer", nullptr));
157  } // retranslateUi
158 
159 };
160 
161 namespace Ui {
163 } // namespace Ui
164 
165 QT_END_NAMESPACE
166 
167 #endif // UI_CREATEWALLETDIALOG_H
QVBoxLayout * verticalLayout_groupbox
void retranslateUi(QDialog *CreateWalletDialog)
Dialog for creating wallets.
QDialogButtonBox * buttonBox
void setupUi(QDialog *CreateWalletDialog)