12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QLineEdit> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QRadioButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QVBoxLayout> 54 if (
Intro->objectName().isEmpty())
55 Intro->setObjectName(QString::fromUtf8(
"Intro"));
56 Intro->resize(674, 415);
58 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
60 welcomeLabel->setObjectName(QString::fromUtf8(
"welcomeLabel"));
61 welcomeLabel->setStyleSheet(QString::fromUtf8(
"QLabel { font-style:italic; }"));
66 verticalSpacer_4 =
new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum);
71 storageLabel->setObjectName(QString::fromUtf8(
"storageLabel"));
83 dataDirDefault->setObjectName(QString::fromUtf8(
"dataDirDefault"));
88 dataDirCustom->setObjectName(QString::fromUtf8(
"dataDirCustom"));
96 horizontalSpacer =
new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
106 dataDirectory->setObjectName(QString::fromUtf8(
"dataDirectory"));
111 ellipsisButton->setObjectName(QString::fromUtf8(
"ellipsisButton"));
112 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
113 sizePolicy.setHorizontalStretch(0);
114 sizePolicy.setVerticalStretch(0);
115 sizePolicy.setHeightForWidth(
ellipsisButton->sizePolicy().hasHeightForWidth());
126 verticalSpacer_3 =
new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
131 freeSpace->setObjectName(QString::fromUtf8(
"freeSpace"));
132 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
133 sizePolicy1.setHorizontalStretch(1);
134 sizePolicy1.setVerticalStretch(0);
135 sizePolicy1.setHeightForWidth(
freeSpace->sizePolicy().hasHeightForWidth());
141 verticalSpacer_2 =
new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
146 errorMessage->setObjectName(QString::fromUtf8(
"errorMessage"));
147 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
148 sizePolicy2.setHorizontalStretch(0);
149 sizePolicy2.setVerticalStretch(0);
150 sizePolicy2.setHeightForWidth(
errorMessage->sizePolicy().hasHeightForWidth());
181 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
186 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
187 buttonBox->setOrientation(Qt::Horizontal);
188 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
194 QObject::connect(
buttonBox, SIGNAL(accepted()),
Intro, SLOT(accept()));
195 QObject::connect(
buttonBox, SIGNAL(rejected()),
Intro, SLOT(reject()));
197 QMetaObject::connectSlotsByName(
Intro);
202 Intro->setWindowTitle(QCoreApplication::translate(
"Intro",
"Welcome",
nullptr));
203 welcomeLabel->setText(QCoreApplication::translate(
"Intro",
"Welcome to %1.",
nullptr));
204 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));
205 dataDirDefault->setText(QCoreApplication::translate(
"Intro",
"Use the default data directory",
nullptr));
206 dataDirCustom->setText(QCoreApplication::translate(
"Intro",
"Use a custom data directory:",
nullptr));
208 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));
209 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));
210 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));
QPushButton * ellipsisButton
Definition: ui_intro.h:41
QSpacerItem * verticalSpacer_3
Definition: ui_intro.h:42
QRadioButton * dataDirDefault
Definition: ui_intro.h:34
QLabel * lblExplanation3
Definition: ui_intro.h:48
Definition: ui_intro.h:216
Definition: addressbookpage.h:14
QLabel * errorMessage
Definition: ui_intro.h:45
QLabel * sizeWarningLabel
Definition: ui_intro.h:33
QVBoxLayout * verticalLayout
Definition: ui_intro.h:29
void retranslateUi(QDialog *Intro)
Definition: ui_intro.h:200
QLabel * lblExplanation2
Definition: ui_intro.h:47
QRadioButton * dataDirCustom
Definition: ui_intro.h:35
QSpacerItem * horizontalSpacer
Definition: ui_intro.h:37
Definition: ui_intro.h:26
QHBoxLayout * horizontalLayout
Definition: ui_intro.h:36
QSpacerItem * verticalSpacer
Definition: ui_intro.h:49
QLineEdit * dataDirectory
Definition: ui_intro.h:40
QVBoxLayout * verticalLayout_2
Definition: ui_intro.h:38
QDialogButtonBox * buttonBox
Definition: ui_intro.h:50
QSpacerItem * verticalSpacer_2
Definition: ui_intro.h:44
QLabel * welcomeLabel
Definition: ui_intro.h:30
QSpacerItem * verticalSpacer_4
Definition: ui_intro.h:31
QHBoxLayout * horizontalLayout_2
Definition: ui_intro.h:39
QLabel * freeSpace
Definition: ui_intro.h:43
QLabel * lblExplanation1
Definition: ui_intro.h:46
void setupUi(QDialog *Intro)
Definition: ui_intro.h:52
QLabel * storageLabel
Definition: ui_intro.h:32