Bitcoin Core  0.21.1
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.6.1
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/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QDialog>
18 #include <QtWidgets/QDialogButtonBox>
19 #include <QtWidgets/QGroupBox>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QHeaderView>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QLineEdit>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QVBoxLayout>
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QVBoxLayout *verticalLayout;
33  QHBoxLayout *horizontalLayout;
37  QSpacerItem *verticalSpacer_1;
38  QGroupBox *groupBox;
42  QCheckBox *descriptor_checkbox;
43  QSpacerItem *verticalSpacer_2;
44  QDialogButtonBox *buttonBox;
45 
46  void setupUi(QDialog *CreateWalletDialog)
47  {
48  if (CreateWalletDialog->objectName().isEmpty())
49  CreateWalletDialog->setObjectName(QStringLiteral("CreateWalletDialog"));
50  CreateWalletDialog->resize(364, 249);
51  CreateWalletDialog->setSizeGripEnabled(true);
52  verticalLayout = new QVBoxLayout(CreateWalletDialog);
53  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
54  horizontalLayout = new QHBoxLayout();
55  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
56  wallet_name_label = new QLabel(CreateWalletDialog);
57  wallet_name_label->setObjectName(QStringLiteral("wallet_name_label"));
58 
59  horizontalLayout->addWidget(wallet_name_label);
60 
61  wallet_name_line_edit = new QLineEdit(CreateWalletDialog);
62  wallet_name_line_edit->setObjectName(QStringLiteral("wallet_name_line_edit"));
63  wallet_name_line_edit->setMinimumSize(QSize(262, 0));
64 
65  horizontalLayout->addWidget(wallet_name_line_edit);
66 
67 
68  verticalLayout->addLayout(horizontalLayout);
69 
70  encrypt_wallet_checkbox = new QCheckBox(CreateWalletDialog);
71  encrypt_wallet_checkbox->setObjectName(QStringLiteral("encrypt_wallet_checkbox"));
72  encrypt_wallet_checkbox->setChecked(false);
73 
74  verticalLayout->addWidget(encrypt_wallet_checkbox);
75 
76  verticalSpacer_1 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);
77 
78  verticalLayout->addItem(verticalSpacer_1);
79 
80  groupBox = new QGroupBox(CreateWalletDialog);
81  groupBox->setObjectName(QStringLiteral("groupBox"));
82  verticalLayout_groupbox = new QVBoxLayout(groupBox);
83  verticalLayout_groupbox->setObjectName(QStringLiteral("verticalLayout_groupbox"));
84  disable_privkeys_checkbox = new QCheckBox(groupBox);
85  disable_privkeys_checkbox->setObjectName(QStringLiteral("disable_privkeys_checkbox"));
86  disable_privkeys_checkbox->setEnabled(true);
87 
88  verticalLayout_groupbox->addWidget(disable_privkeys_checkbox);
89 
90  blank_wallet_checkbox = new QCheckBox(groupBox);
91  blank_wallet_checkbox->setObjectName(QStringLiteral("blank_wallet_checkbox"));
92 
93  verticalLayout_groupbox->addWidget(blank_wallet_checkbox);
94 
95  descriptor_checkbox = new QCheckBox(groupBox);
96  descriptor_checkbox->setObjectName(QStringLiteral("descriptor_checkbox"));
97 
98  verticalLayout_groupbox->addWidget(descriptor_checkbox);
99 
100 
101  verticalLayout->addWidget(groupBox);
102 
103  verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
104 
105  verticalLayout->addItem(verticalSpacer_2);
106 
107  buttonBox = new QDialogButtonBox(CreateWalletDialog);
108  buttonBox->setObjectName(QStringLiteral("buttonBox"));
109  buttonBox->setOrientation(Qt::Horizontal);
110  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
111 
112  verticalLayout->addWidget(buttonBox);
113 
114  QWidget::setTabOrder(wallet_name_line_edit, encrypt_wallet_checkbox);
115  QWidget::setTabOrder(encrypt_wallet_checkbox, disable_privkeys_checkbox);
116  QWidget::setTabOrder(disable_privkeys_checkbox, blank_wallet_checkbox);
117  QWidget::setTabOrder(blank_wallet_checkbox, descriptor_checkbox);
118 
119  retranslateUi(CreateWalletDialog);
120  QObject::connect(buttonBox, SIGNAL(accepted()), CreateWalletDialog, SLOT(accept()));
121  QObject::connect(buttonBox, SIGNAL(rejected()), CreateWalletDialog, SLOT(reject()));
122 
123  QMetaObject::connectSlotsByName(CreateWalletDialog);
124  } // setupUi
125 
127  {
128  CreateWalletDialog->setWindowTitle(QApplication::translate("CreateWalletDialog", "Create Wallet", 0));
129  wallet_name_label->setText(QApplication::translate("CreateWalletDialog", "Wallet Name", 0));
130  wallet_name_line_edit->setPlaceholderText(QApplication::translate("CreateWalletDialog", "Wallet", 0));
131 #ifndef QT_NO_TOOLTIP
132  encrypt_wallet_checkbox->setToolTip(QApplication::translate("CreateWalletDialog", "Encrypt the wallet. The wallet will be encrypted with a passphrase of your choice.", 0));
133 #endif // QT_NO_TOOLTIP
134  encrypt_wallet_checkbox->setText(QApplication::translate("CreateWalletDialog", "Encrypt Wallet", 0));
135  groupBox->setTitle(QApplication::translate("CreateWalletDialog", "Advanced Options", 0));
136 #ifndef QT_NO_TOOLTIP
137  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.", 0));
138 #endif // QT_NO_TOOLTIP
139  disable_privkeys_checkbox->setText(QApplication::translate("CreateWalletDialog", "Disable Private Keys", 0));
140 #ifndef QT_NO_TOOLTIP
141  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.", 0));
142 #endif // QT_NO_TOOLTIP
143  blank_wallet_checkbox->setText(QApplication::translate("CreateWalletDialog", "Make Blank Wallet", 0));
144 #ifndef QT_NO_TOOLTIP
145  descriptor_checkbox->setToolTip(QApplication::translate("CreateWalletDialog", "Use descriptors for scriptPubKey management", 0));
146 #endif // QT_NO_TOOLTIP
147  descriptor_checkbox->setText(QApplication::translate("CreateWalletDialog", "Descriptor Wallet", 0));
148  } // retranslateUi
149 
150 };
151 
152 namespace Ui {
154 } // namespace Ui
155 
156 QT_END_NAMESPACE
157 
158 #endif // UI_CREATEWALLETDIALOG_H
QVBoxLayout * verticalLayout_groupbox
void retranslateUi(QDialog *CreateWalletDialog)
Dialog for creating wallets.
QDialogButtonBox * buttonBox
void setupUi(QDialog *CreateWalletDialog)