9 #ifndef UI_CREATEWALLETDIALOG_H
10 #define UI_CREATEWALLETDIALOG_H
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>
48 if (CreateWalletDialog->objectName().isEmpty())
49 CreateWalletDialog->setObjectName(QStringLiteral(
"CreateWalletDialog"));
50 CreateWalletDialog->resize(364, 249);
51 CreateWalletDialog->setSizeGripEnabled(
true);
76 verticalSpacer_1 =
new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);
80 groupBox =
new QGroupBox(CreateWalletDialog);
81 groupBox->setObjectName(QStringLiteral(
"groupBox"));
103 verticalSpacer_2 =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
107 buttonBox =
new QDialogButtonBox(CreateWalletDialog);
108 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
109 buttonBox->setOrientation(Qt::Horizontal);
110 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
120 QObject::connect(
buttonBox, SIGNAL(accepted()), CreateWalletDialog, SLOT(accept()));
121 QObject::connect(
buttonBox, SIGNAL(rejected()), CreateWalletDialog, SLOT(reject()));
123 QMetaObject::connectSlotsByName(CreateWalletDialog);
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
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
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));
158 #endif // UI_CREATEWALLETDIALOG_H
QVBoxLayout * verticalLayout_groupbox
QVBoxLayout * verticalLayout
QSpacerItem * verticalSpacer_2
QCheckBox * blank_wallet_checkbox
QHBoxLayout * horizontalLayout
QLineEdit * wallet_name_line_edit
QCheckBox * descriptor_checkbox
QLabel * wallet_name_label
QSpacerItem * verticalSpacer_1
void retranslateUi(QDialog *CreateWalletDialog)
QCheckBox * encrypt_wallet_checkbox
QCheckBox * disable_privkeys_checkbox
Dialog for creating wallets.
QDialogButtonBox * buttonBox
void setupUi(QDialog *CreateWalletDialog)