Bitcoin Core  0.21.0rc5
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.2
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/QVBoxLayout>
24 
25 QT_BEGIN_NAMESPACE
26 
27 class Ui_Intro
28 {
29 public:
30  QVBoxLayout *verticalLayout;
31  QLabel *welcomeLabel;
32  QSpacerItem *verticalSpacer_4;
33  QLabel *storageLabel;
35  QRadioButton *dataDirDefault;
36  QRadioButton *dataDirCustom;
37  QHBoxLayout *horizontalLayout;
38  QSpacerItem *horizontalSpacer;
39  QVBoxLayout *verticalLayout_2;
40  QHBoxLayout *horizontalLayout_2;
41  QLineEdit *dataDirectory;
42  QPushButton *ellipsisButton;
43  QSpacerItem *verticalSpacer_3;
44  QLabel *freeSpace;
45  QSpacerItem *verticalSpacer_2;
46  QLabel *errorMessage;
47  QLabel *lblExplanation1;
48  QCheckBox *prune;
49  QLabel *lblExplanation2;
50  QLabel *lblExplanation3;
51  QSpacerItem *verticalSpacer;
52  QDialogButtonBox *buttonBox;
53 
54  void setupUi(QDialog *Intro)
55  {
56  if (Intro->objectName().isEmpty())
57  Intro->setObjectName(QString::fromUtf8("Intro"));
58  Intro->resize(674, 415);
59  verticalLayout = new QVBoxLayout(Intro);
60  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
61  welcomeLabel = new QLabel(Intro);
62  welcomeLabel->setObjectName(QString::fromUtf8("welcomeLabel"));
63  welcomeLabel->setStyleSheet(QString::fromUtf8("QLabel { font-style:italic; }"));
64  welcomeLabel->setWordWrap(true);
65 
66  verticalLayout->addWidget(welcomeLabel);
67 
68  verticalSpacer_4 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum);
69 
71 
72  storageLabel = new QLabel(Intro);
73  storageLabel->setObjectName(QString::fromUtf8("storageLabel"));
74  storageLabel->setWordWrap(true);
75 
76  verticalLayout->addWidget(storageLabel);
77 
78  sizeWarningLabel = new QLabel(Intro);
79  sizeWarningLabel->setObjectName(QString::fromUtf8("sizeWarningLabel"));
80  sizeWarningLabel->setWordWrap(true);
81 
82  verticalLayout->addWidget(sizeWarningLabel);
83 
84  dataDirDefault = new QRadioButton(Intro);
85  dataDirDefault->setObjectName(QString::fromUtf8("dataDirDefault"));
86 
87  verticalLayout->addWidget(dataDirDefault);
88 
89  dataDirCustom = new QRadioButton(Intro);
90  dataDirCustom->setObjectName(QString::fromUtf8("dataDirCustom"));
91 
92  verticalLayout->addWidget(dataDirCustom);
93 
94  horizontalLayout = new QHBoxLayout();
95  horizontalLayout->setSpacing(0);
96  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
97  horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
98  horizontalSpacer = new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
99 
101 
102  verticalLayout_2 = new QVBoxLayout();
103  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
104  verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
105  horizontalLayout_2 = new QHBoxLayout();
106  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
107  dataDirectory = new QLineEdit(Intro);
108  dataDirectory->setObjectName(QString::fromUtf8("dataDirectory"));
109 
110  horizontalLayout_2->addWidget(dataDirectory);
111 
112  ellipsisButton = new QPushButton(Intro);
113  ellipsisButton->setObjectName(QString::fromUtf8("ellipsisButton"));
114  QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
115  sizePolicy.setHorizontalStretch(0);
116  sizePolicy.setVerticalStretch(0);
117  sizePolicy.setHeightForWidth(ellipsisButton->sizePolicy().hasHeightForWidth());
118  ellipsisButton->setSizePolicy(sizePolicy);
119  ellipsisButton->setMaximumSize(QSize(30, 16777215));
120  ellipsisButton->setText(QString::fromUtf8("\342\200\246"));
121  ellipsisButton->setAutoDefault(false);
122 
124 
125 
127 
128  verticalSpacer_3 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
129 
131 
132  freeSpace = new QLabel(Intro);
133  freeSpace->setObjectName(QString::fromUtf8("freeSpace"));
134  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
135  sizePolicy1.setHorizontalStretch(1);
136  sizePolicy1.setVerticalStretch(0);
137  sizePolicy1.setHeightForWidth(freeSpace->sizePolicy().hasHeightForWidth());
138  freeSpace->setSizePolicy(sizePolicy1);
139  freeSpace->setWordWrap(true);
140 
141  verticalLayout_2->addWidget(freeSpace);
142 
143  verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
144 
146 
147  errorMessage = new QLabel(Intro);
148  errorMessage->setObjectName(QString::fromUtf8("errorMessage"));
149  QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
150  sizePolicy2.setHorizontalStretch(0);
151  sizePolicy2.setVerticalStretch(0);
152  sizePolicy2.setHeightForWidth(errorMessage->sizePolicy().hasHeightForWidth());
153  errorMessage->setSizePolicy(sizePolicy2);
154  errorMessage->setTextFormat(Qt::RichText);
155  errorMessage->setWordWrap(true);
156 
157  verticalLayout_2->addWidget(errorMessage);
158 
159 
161 
162 
163  verticalLayout->addLayout(horizontalLayout);
164 
165  lblExplanation1 = new QLabel(Intro);
166  lblExplanation1->setObjectName(QString::fromUtf8("lblExplanation1"));
167  lblExplanation1->setWordWrap(true);
168 
169  verticalLayout->addWidget(lblExplanation1);
170 
171  prune = new QCheckBox(Intro);
172  prune->setObjectName(QString::fromUtf8("prune"));
173 
174  verticalLayout->addWidget(prune);
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  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
189 
190  verticalLayout->addItem(verticalSpacer);
191 
192  buttonBox = new QDialogButtonBox(Intro);
193  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
194  buttonBox->setOrientation(Qt::Horizontal);
195  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
196 
197  verticalLayout->addWidget(buttonBox);
198 
199 
201  QObject::connect(buttonBox, SIGNAL(accepted()), Intro, SLOT(accept()));
202  QObject::connect(buttonBox, SIGNAL(rejected()), Intro, SLOT(reject()));
203 
204  QMetaObject::connectSlotsByName(Intro);
205  } // setupUi
206 
207  void retranslateUi(QDialog *Intro)
208  {
209  Intro->setWindowTitle(QCoreApplication::translate("Intro", "Welcome", nullptr));
210  welcomeLabel->setText(QCoreApplication::translate("Intro", "Welcome to %1.", nullptr));
211  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));
212  dataDirDefault->setText(QCoreApplication::translate("Intro", "Use the default data directory", nullptr));
213  dataDirCustom->setText(QCoreApplication::translate("Intro", "Use a custom data directory:", nullptr));
214  freeSpace->setText(QString());
215  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));
216 #if QT_CONFIG(tooltip)
217  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));
218 #endif // QT_CONFIG(tooltip)
219  prune->setText(QString());
220  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));
221  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));
222  } // retranslateUi
223 
224 };
225 
226 namespace Ui {
227  class Intro: public Ui_Intro {};
228 } // namespace Ui
229 
230 QT_END_NAMESPACE
231 
232 #endif // UI_INTRO_H
Introduction screen (pre-GUI startup).
Definition: intro.h:29
QLabel * storageLabel
Definition: ui_intro.h:33
QRadioButton * dataDirCustom
Definition: ui_intro.h:36
QHBoxLayout * horizontalLayout_2
Definition: ui_intro.h:40
QLabel * lblExplanation1
Definition: ui_intro.h:47
QLabel * welcomeLabel
Definition: ui_intro.h:31
QVBoxLayout * verticalLayout_2
Definition: ui_intro.h:39
QSpacerItem * verticalSpacer_3
Definition: ui_intro.h:43
QLabel * errorMessage
Definition: ui_intro.h:46
QSpacerItem * verticalSpacer_2
Definition: ui_intro.h:45
QLineEdit * dataDirectory
Definition: ui_intro.h:41
QSpacerItem * verticalSpacer
Definition: ui_intro.h:51
QHBoxLayout * horizontalLayout
Definition: ui_intro.h:37
QPushButton * ellipsisButton
Definition: ui_intro.h:42
QLabel * lblExplanation2
Definition: ui_intro.h:49
QDialogButtonBox * buttonBox
Definition: ui_intro.h:52
void retranslateUi(QDialog *Intro)
Definition: ui_intro.h:207
void setupUi(QDialog *Intro)
Definition: ui_intro.h:54
QSpacerItem * horizontalSpacer
Definition: ui_intro.h:38
QVBoxLayout * verticalLayout
Definition: ui_intro.h:30
QRadioButton * dataDirDefault
Definition: ui_intro.h:35
QLabel * lblExplanation3
Definition: ui_intro.h:50
QCheckBox * prune
Definition: ui_intro.h:48
QLabel * freeSpace
Definition: ui_intro.h:44
QLabel * sizeWarningLabel
Definition: ui_intro.h:34
QSpacerItem * verticalSpacer_4
Definition: ui_intro.h:32