Bitcoin Core  26.1.0
P2P Digital Currency
ui_intro.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'intro.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.8
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_INTRO_H
10 #define UI_INTRO_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/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>
25 
26 QT_BEGIN_NAMESPACE
27 
28 class Ui_Intro
29 {
30 public:
31  QVBoxLayout *verticalLayout;
32  QLabel *welcomeLabel;
33  QSpacerItem *verticalSpacer_4;
34  QLabel *storageLabel;
36  QRadioButton *dataDirDefault;
37  QRadioButton *dataDirCustom;
38  QHBoxLayout *horizontalLayout;
39  QSpacerItem *horizontalSpacer;
40  QVBoxLayout *verticalLayout_2;
41  QHBoxLayout *horizontalLayout_2;
42  QLineEdit *dataDirectory;
43  QPushButton *ellipsisButton;
44  QSpacerItem *verticalSpacer_3;
45  QLabel *freeSpace;
46  QSpacerItem *verticalSpacer_2;
47  QLabel *errorMessage;
48  QLabel *lblExplanation1;
49  QLabel *lblExplanation2;
50  QLabel *lblExplanation3;
51  QHBoxLayout *pruneOptLayout;
52  QCheckBox *prune;
53  QSpinBox *pruneGB;
54  QLabel *lblPruneSuffix;
55  QSpacerItem *horizontalSpacer_2;
56  QSpacerItem *verticalSpacer;
57  QDialogButtonBox *buttonBox;
58 
59  void setupUi(QDialog *Intro)
60  {
61  if (Intro->objectName().isEmpty())
62  Intro->setObjectName(QString::fromUtf8("Intro"));
63  Intro->resize(674, 447);
64  verticalLayout = new QVBoxLayout(Intro);
65  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
66  welcomeLabel = new QLabel(Intro);
67  welcomeLabel->setObjectName(QString::fromUtf8("welcomeLabel"));
68  welcomeLabel->setStyleSheet(QString::fromUtf8("QLabel { font-style:italic; }"));
69  welcomeLabel->setWordWrap(true);
70 
71  verticalLayout->addWidget(welcomeLabel);
72 
73  verticalSpacer_4 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum);
74 
76 
77  storageLabel = new QLabel(Intro);
78  storageLabel->setObjectName(QString::fromUtf8("storageLabel"));
79  storageLabel->setWordWrap(true);
80 
81  verticalLayout->addWidget(storageLabel);
82 
83  sizeWarningLabel = new QLabel(Intro);
84  sizeWarningLabel->setObjectName(QString::fromUtf8("sizeWarningLabel"));
85  sizeWarningLabel->setWordWrap(true);
86 
87  verticalLayout->addWidget(sizeWarningLabel);
88 
89  dataDirDefault = new QRadioButton(Intro);
90  dataDirDefault->setObjectName(QString::fromUtf8("dataDirDefault"));
91 
92  verticalLayout->addWidget(dataDirDefault);
93 
94  dataDirCustom = new QRadioButton(Intro);
95  dataDirCustom->setObjectName(QString::fromUtf8("dataDirCustom"));
96 
97  verticalLayout->addWidget(dataDirCustom);
98 
99  horizontalLayout = new QHBoxLayout();
100  horizontalLayout->setSpacing(0);
101  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
102  horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
103  horizontalSpacer = new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
104 
106 
107  verticalLayout_2 = new QVBoxLayout();
108  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
109  verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
110  horizontalLayout_2 = new QHBoxLayout();
111  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
112  dataDirectory = new QLineEdit(Intro);
113  dataDirectory->setObjectName(QString::fromUtf8("dataDirectory"));
114 
115  horizontalLayout_2->addWidget(dataDirectory);
116 
117  ellipsisButton = new QPushButton(Intro);
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());
123  ellipsisButton->setSizePolicy(sizePolicy);
124  ellipsisButton->setMaximumSize(QSize(30, 16777215));
125  ellipsisButton->setText(QString::fromUtf8("\342\200\246"));
126  ellipsisButton->setAutoDefault(false);
127 
129 
130 
132 
133  verticalSpacer_3 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
134 
136 
137  freeSpace = new QLabel(Intro);
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());
143  freeSpace->setSizePolicy(sizePolicy1);
144  freeSpace->setWordWrap(true);
145 
146  verticalLayout_2->addWidget(freeSpace);
147 
148  verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
149 
151 
152  errorMessage = new QLabel(Intro);
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());
158  errorMessage->setSizePolicy(sizePolicy2);
159  errorMessage->setTextFormat(Qt::RichText);
160  errorMessage->setWordWrap(true);
161 
162  verticalLayout_2->addWidget(errorMessage);
163 
164 
166 
167 
168  verticalLayout->addLayout(horizontalLayout);
169 
170  lblExplanation1 = new QLabel(Intro);
171  lblExplanation1->setObjectName(QString::fromUtf8("lblExplanation1"));
172  lblExplanation1->setWordWrap(true);
173 
174  verticalLayout->addWidget(lblExplanation1);
175 
176  lblExplanation2 = new QLabel(Intro);
177  lblExplanation2->setObjectName(QString::fromUtf8("lblExplanation2"));
178  lblExplanation2->setWordWrap(true);
179 
180  verticalLayout->addWidget(lblExplanation2);
181 
182  lblExplanation3 = new QLabel(Intro);
183  lblExplanation3->setObjectName(QString::fromUtf8("lblExplanation3"));
184  lblExplanation3->setWordWrap(true);
185 
186  verticalLayout->addWidget(lblExplanation3);
187 
188  pruneOptLayout = new QHBoxLayout();
189  pruneOptLayout->setObjectName(QString::fromUtf8("pruneOptLayout"));
190  prune = new QCheckBox(Intro);
191  prune->setObjectName(QString::fromUtf8("prune"));
192 
193  pruneOptLayout->addWidget(prune);
194 
195  pruneGB = new QSpinBox(Intro);
196  pruneGB->setObjectName(QString::fromUtf8("pruneGB"));
197 
198  pruneOptLayout->addWidget(pruneGB);
199 
200  lblPruneSuffix = new QLabel(Intro);
201  lblPruneSuffix->setObjectName(QString::fromUtf8("lblPruneSuffix"));
202 
203  pruneOptLayout->addWidget(lblPruneSuffix);
204 
205  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
206 
208 
209 
210  verticalLayout->addLayout(pruneOptLayout);
211 
212  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
213 
214  verticalLayout->addItem(verticalSpacer);
215 
216  buttonBox = new QDialogButtonBox(Intro);
217  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
218  buttonBox->setOrientation(Qt::Horizontal);
219  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
220 
221  verticalLayout->addWidget(buttonBox);
222 
223 #if QT_CONFIG(shortcut)
224  lblPruneSuffix->setBuddy(pruneGB);
225 #endif // QT_CONFIG(shortcut)
226 
228  QObject::connect(buttonBox, SIGNAL(accepted()), Intro, SLOT(accept()));
229  QObject::connect(buttonBox, SIGNAL(rejected()), Intro, SLOT(reject()));
230 
231  QMetaObject::connectSlotsByName(Intro);
232  } // setupUi
233 
234  void retranslateUi(QDialog *Intro)
235  {
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));
241  freeSpace->setText(QString());
242  lblExplanation1->setText(QCoreApplication::translate("Intro", "When you click OK, %1 will begin to download and process the full %4 block chain (%2 GB) 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));
248 #endif // QT_CONFIG(tooltip)
249  pruneGB->setSuffix(QCoreApplication::translate("Intro", " GB", nullptr));
250  } // retranslateUi
251 
252 };
253 
254 namespace Ui {
255  class Intro: public Ui_Intro {};
256 } // namespace Ui
257 
258 QT_END_NAMESPACE
259 
260 #endif // UI_INTRO_H
QSpacerItem * verticalSpacer
Definition: ui_intro.h:56
QRadioButton * dataDirDefault
Definition: ui_intro.h:36
QLabel * welcomeLabel
Definition: ui_intro.h:32
QVBoxLayout * verticalLayout
Definition: ui_intro.h:31
QLabel * storageLabel
Definition: ui_intro.h:34
void setupUi(QDialog *Intro)
Definition: ui_intro.h:59
QLabel * lblExplanation2
Definition: ui_intro.h:49
QRadioButton * dataDirCustom
Definition: ui_intro.h:37
QHBoxLayout * horizontalLayout
Definition: ui_intro.h:38
void retranslateUi(QDialog *Intro)
Definition: ui_intro.h:234
QLabel * errorMessage
Definition: ui_intro.h:47
QSpinBox * pruneGB
Definition: ui_intro.h:53
QDialogButtonBox * buttonBox
Definition: ui_intro.h:57
QLabel * lblExplanation1
Definition: ui_intro.h:48
QLabel * lblExplanation3
Definition: ui_intro.h:50
QLabel * lblPruneSuffix
Definition: ui_intro.h:54
QHBoxLayout * pruneOptLayout
Definition: ui_intro.h:51
QLabel * freeSpace
Definition: ui_intro.h:45
QLineEdit * dataDirectory
Definition: ui_intro.h:42
QSpacerItem * horizontalSpacer
Definition: ui_intro.h:39
QVBoxLayout * verticalLayout_2
Definition: ui_intro.h:40
QLabel * sizeWarningLabel
Definition: ui_intro.h:35
QSpacerItem * verticalSpacer_4
Definition: ui_intro.h:33
QCheckBox * prune
Definition: ui_intro.h:52
QSpacerItem * horizontalSpacer_2
Definition: ui_intro.h:55
QSpacerItem * verticalSpacer_3
Definition: ui_intro.h:44
QSpacerItem * verticalSpacer_2
Definition: ui_intro.h:46
QHBoxLayout * horizontalLayout_2
Definition: ui_intro.h:41
Introduction screen (pre-GUI startup).
Definition: intro.h:28
QPushButton * ellipsisButton
Definition: ui_intro.h:43