12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QDialogButtonBox>
17#include <QtWidgets/QHBoxLayout>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QLineEdit>
20#include <QtWidgets/QPushButton>
21#include <QtWidgets/QRadioButton>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QSpinBox>
24#include <QtWidgets/QVBoxLayout>
61 if (
Intro->objectName().isEmpty())
62 Intro->setObjectName(QString::fromUtf8(
"Intro"));
63 Intro->resize(674, 447);
65 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
67 welcomeLabel->setObjectName(QString::fromUtf8(
"welcomeLabel"));
68 welcomeLabel->setStyleSheet(QString::fromUtf8(
"QLabel { font-style:italic; }"));
73 verticalSpacer_4 =
new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum);
78 storageLabel->setObjectName(QString::fromUtf8(
"storageLabel"));
90 dataDirDefault->setObjectName(QString::fromUtf8(
"dataDirDefault"));
95 dataDirCustom->setObjectName(QString::fromUtf8(
"dataDirCustom"));
103 horizontalSpacer =
new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
113 dataDirectory->setObjectName(QString::fromUtf8(
"dataDirectory"));
118 ellipsisButton->setObjectName(QString::fromUtf8(
"ellipsisButton"));
119 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
120 sizePolicy.setHorizontalStretch(0);
121 sizePolicy.setVerticalStretch(0);
122 sizePolicy.setHeightForWidth(
ellipsisButton->sizePolicy().hasHeightForWidth());
133 verticalSpacer_3 =
new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
138 freeSpace->setObjectName(QString::fromUtf8(
"freeSpace"));
139 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
140 sizePolicy1.setHorizontalStretch(1);
141 sizePolicy1.setVerticalStretch(0);
142 sizePolicy1.setHeightForWidth(
freeSpace->sizePolicy().hasHeightForWidth());
148 verticalSpacer_2 =
new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
153 errorMessage->setObjectName(QString::fromUtf8(
"errorMessage"));
154 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
155 sizePolicy2.setHorizontalStretch(0);
156 sizePolicy2.setVerticalStretch(0);
157 sizePolicy2.setHeightForWidth(
errorMessage->sizePolicy().hasHeightForWidth());
189 pruneOptLayout->setObjectName(QString::fromUtf8(
"pruneOptLayout"));
191 prune->setObjectName(QString::fromUtf8(
"prune"));
196 pruneGB->setObjectName(QString::fromUtf8(
"pruneGB"));
201 lblPruneSuffix->setObjectName(QString::fromUtf8(
"lblPruneSuffix"));
205 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
212 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
217 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
218 buttonBox->setOrientation(Qt::Horizontal);
219 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
223#if QT_CONFIG(shortcut)
228 QObject::connect(
buttonBox, SIGNAL(accepted()),
Intro, SLOT(accept()));
229 QObject::connect(
buttonBox, SIGNAL(rejected()),
Intro, SLOT(reject()));
231 QMetaObject::connectSlotsByName(
Intro);
236 Intro->setWindowTitle(QCoreApplication::translate(
"Intro",
"Welcome",
nullptr));
237 welcomeLabel->setText(QCoreApplication::translate(
"Intro",
"Welcome to %1.",
nullptr));
238 storageLabel->setText(QCoreApplication::translate(
"Intro",
"As this is the first time the program is launched, you can choose where %1 will store its data.",
nullptr));
239 dataDirDefault->setText(QCoreApplication::translate(
"Intro",
"Use the default data directory",
nullptr));
240 dataDirCustom->setText(QCoreApplication::translate(
"Intro",
"Use a custom data directory:",
nullptr));
242 lblExplanation1->setText(QCoreApplication::translate(
"Intro",
"When you click OK, %1 will begin to download and process the full %4 block chain (%2GB) starting with the earliest transactions in %3 when %4 initially launched.",
nullptr));
243 lblExplanation2->setText(QCoreApplication::translate(
"Intro",
"This initial synchronisation is very demanding, and may expose hardware problems with your computer that had previously gone unnoticed. Each time you run %1, it will continue downloading where it left off.",
nullptr));
244 lblExplanation3->setText(QCoreApplication::translate(
"Intro",
"If you have chosen to limit block chain storage (pruning), the historical data must still be downloaded and processed, but will be deleted afterward to keep your disk usage low.",
nullptr));
245 prune->setText(QCoreApplication::translate(
"Intro",
"Limit block chain storage to",
nullptr));
246#if QT_CONFIG(tooltip)
247 prune->setToolTip(QCoreApplication::translate(
"Intro",
"Reverting this setting requires re-downloading the entire blockchain. It is faster to download the full chain first and prune it later. Disables some advanced features.",
nullptr));
249 pruneGB->setSuffix(QCoreApplication::translate(
"Intro",
" GB",
nullptr));
Introduction screen (pre-GUI startup).
QRadioButton * dataDirCustom
QHBoxLayout * horizontalLayout_2
QVBoxLayout * verticalLayout_2
QSpacerItem * verticalSpacer_3
QSpacerItem * verticalSpacer_2
QLineEdit * dataDirectory
QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout
QPushButton * ellipsisButton
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *Intro)
void setupUi(QDialog *Intro)
QSpacerItem * horizontalSpacer
QVBoxLayout * verticalLayout
QSpacerItem * horizontalSpacer_2
QRadioButton * dataDirDefault
QHBoxLayout * pruneOptLayout
QLabel * sizeWarningLabel
QSpacerItem * verticalSpacer_4