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