9 #ifndef UI_CREATEWALLETDIALOG_H 10 #define UI_CREATEWALLETDIALOG_H 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> 53 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
56 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
57 sizePolicy.setHorizontalStretch(0);
58 sizePolicy.setVerticalStretch(0);
59 sizePolicy.setHeightForWidth(
label_description->sizePolicy().hasHeightForWidth());
71 verticalSpacer =
new QSpacerItem(20, 3, QSizePolicy::Minimum, QSizePolicy::Fixed);
97 verticalSpacer_1 =
new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);
102 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
103 groupBox->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
128 verticalSpacer_2 =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
133 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
134 buttonBox->setOrientation(Qt::Horizontal);
135 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
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) 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) 185 #endif // UI_CREATEWALLETDIALOG_H
QVBoxLayout * verticalLayout_groupbox
QVBoxLayout * verticalLayout
QSpacerItem * verticalSpacer_2
QCheckBox * blank_wallet_checkbox
QHBoxLayout * horizontalLayout
QLineEdit * wallet_name_line_edit
QLabel * label_description
QLabel * wallet_name_label
QSpacerItem * verticalSpacer_1
void retranslateUi(QDialog *CreateWalletDialog)
QCheckBox * encrypt_wallet_checkbox
QCheckBox * disable_privkeys_checkbox
QLabel * label_subdescription
Dialog for creating wallets.
QDialogButtonBox * buttonBox
void setupUi(QDialog *CreateWalletDialog)
QCheckBox * external_signer_checkbox
QSpacerItem * verticalSpacer