Bitcoin Core  28.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.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/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;
32  QSpacerItem *verticalSpacer;
33  QHBoxLayout *horizontalLayout;
37  QSpacerItem *verticalSpacer_1;
38  QGroupBox *groupBox;
43  QSpacerItem *verticalSpacer_2;
44  QDialogButtonBox *buttonBox;
45 
46  void setupUi(QDialog *CreateWalletDialog)
47  {
48  if (CreateWalletDialog->objectName().isEmpty())
49  CreateWalletDialog->setObjectName(QString::fromUtf8("CreateWalletDialog"));
50  CreateWalletDialog->resize(371, 298);
51  CreateWalletDialog->setSizeGripEnabled(true);
52  verticalLayout = new QVBoxLayout(CreateWalletDialog);
53  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
55  label_description->setObjectName(QString::fromUtf8("label_description"));
56  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
57  sizePolicy.setHorizontalStretch(0);
58  sizePolicy.setVerticalStretch(0);
59  sizePolicy.setHeightForWidth(label_description->sizePolicy().hasHeightForWidth());
60  label_description->setSizePolicy(sizePolicy);
61  label_description->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
62  label_description->setWordWrap(false);
63 
65 
67  label_subdescription->setObjectName(QString::fromUtf8("label_subdescription"));
68 
70 
71  verticalSpacer = new QSpacerItem(20, 3, QSizePolicy::Minimum, QSizePolicy::Fixed);
72 
74 
75  horizontalLayout = new QHBoxLayout();
76  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
78  wallet_name_label->setObjectName(QString::fromUtf8("wallet_name_label"));
79 
81 
83  wallet_name_line_edit->setObjectName(QString::fromUtf8("wallet_name_line_edit"));
84  wallet_name_line_edit->setMinimumSize(QSize(262, 0));
85 
87 
88 
89  verticalLayout->addLayout(horizontalLayout);
90 
92  encrypt_wallet_checkbox->setObjectName(QString::fromUtf8("encrypt_wallet_checkbox"));
93  encrypt_wallet_checkbox->setChecked(false);
94 
96 
97  verticalSpacer_1 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);
98 
100 
101  groupBox = new QGroupBox(CreateWalletDialog);
102  groupBox->setObjectName(QString::fromUtf8("groupBox"));
103  groupBox->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
104  groupBox->setFlat(false);
105  groupBox->setCheckable(false);
106  verticalLayout_groupbox = new QVBoxLayout(groupBox);
107  verticalLayout_groupbox->setSpacing(9);
108  verticalLayout_groupbox->setObjectName(QString::fromUtf8("verticalLayout_groupbox"));
109  disable_privkeys_checkbox = new QCheckBox(groupBox);
110  disable_privkeys_checkbox->setObjectName(QString::fromUtf8("disable_privkeys_checkbox"));
111  disable_privkeys_checkbox->setEnabled(true);
112 
114 
115  blank_wallet_checkbox = new QCheckBox(groupBox);
116  blank_wallet_checkbox->setObjectName(QString::fromUtf8("blank_wallet_checkbox"));
117 
119 
120  external_signer_checkbox = new QCheckBox(groupBox);
121  external_signer_checkbox->setObjectName(QString::fromUtf8("external_signer_checkbox"));
122 
124 
125 
126  verticalLayout->addWidget(groupBox);
127 
128  verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
129 
131 
132  buttonBox = new QDialogButtonBox(CreateWalletDialog);
133  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
134  buttonBox->setOrientation(Qt::Horizontal);
135  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
136 
137  verticalLayout->addWidget(buttonBox);
138 
139  QWidget::setTabOrder(wallet_name_line_edit, encrypt_wallet_checkbox);
140  QWidget::setTabOrder(encrypt_wallet_checkbox, disable_privkeys_checkbox);
141  QWidget::setTabOrder(disable_privkeys_checkbox, blank_wallet_checkbox);
142  QWidget::setTabOrder(blank_wallet_checkbox, external_signer_checkbox);
143 
145  QObject::connect(buttonBox, SIGNAL(accepted()), CreateWalletDialog, SLOT(accept()));
146  QObject::connect(buttonBox, SIGNAL(rejected()), CreateWalletDialog, SLOT(reject()));
147 
148  QMetaObject::connectSlotsByName(CreateWalletDialog);
149  } // setupUi
150 
152  {
153  CreateWalletDialog->setWindowTitle(QCoreApplication::translate("CreateWalletDialog", "Create Wallet", nullptr));
154  label_description->setText(QCoreApplication::translate("CreateWalletDialog", "You are one step away from creating your new wallet!", nullptr));
155  label_subdescription->setText(QCoreApplication::translate("CreateWalletDialog", "Please provide a name and, if desired, enable any advanced options", nullptr));
156  wallet_name_label->setText(QCoreApplication::translate("CreateWalletDialog", "Wallet Name", nullptr));
157  wallet_name_line_edit->setPlaceholderText(QCoreApplication::translate("CreateWalletDialog", "Wallet", nullptr));
158 #if QT_CONFIG(tooltip)
159  encrypt_wallet_checkbox->setToolTip(QCoreApplication::translate("CreateWalletDialog", "Encrypt the wallet. The wallet will be encrypted with a passphrase of your choice.", nullptr));
160 #endif // QT_CONFIG(tooltip)
161  encrypt_wallet_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Encrypt Wallet", nullptr));
162  groupBox->setTitle(QCoreApplication::translate("CreateWalletDialog", "Advanced Options", nullptr));
163 #if QT_CONFIG(tooltip)
164  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));
165 #endif // QT_CONFIG(tooltip)
166  disable_privkeys_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Disable Private Keys", nullptr));
167 #if QT_CONFIG(tooltip)
168  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));
169 #endif // QT_CONFIG(tooltip)
170  blank_wallet_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "Make Blank Wallet", nullptr));
171 #if QT_CONFIG(tooltip)
172  external_signer_checkbox->setToolTip(QCoreApplication::translate("CreateWalletDialog", "Use an external signing device such as a hardware wallet. Configure the external signer script in wallet preferences first.", nullptr));
173 #endif // QT_CONFIG(tooltip)
174  external_signer_checkbox->setText(QCoreApplication::translate("CreateWalletDialog", "External signer", nullptr));
175  } // retranslateUi
176 
177 };
178 
179 namespace Ui {
181 } // namespace Ui
182 
183 QT_END_NAMESPACE
184 
185 #endif // UI_CREATEWALLETDIALOG_H
QVBoxLayout * verticalLayout_groupbox
void retranslateUi(QDialog *CreateWalletDialog)
Dialog for creating wallets.
QDialogButtonBox * buttonBox
void setupUi(QDialog *CreateWalletDialog)