Bitcoin
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.13.0
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/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>
23 
24 QT_BEGIN_NAMESPACE
25 
26 class Ui_Intro
27 {
28 public:
29  QVBoxLayout *verticalLayout;
30  QLabel *welcomeLabel;
31  QSpacerItem *verticalSpacer_4;
32  QLabel *storageLabel;
34  QRadioButton *dataDirDefault;
35  QRadioButton *dataDirCustom;
36  QHBoxLayout *horizontalLayout;
37  QSpacerItem *horizontalSpacer;
38  QVBoxLayout *verticalLayout_2;
39  QHBoxLayout *horizontalLayout_2;
40  QLineEdit *dataDirectory;
41  QPushButton *ellipsisButton;
42  QSpacerItem *verticalSpacer_3;
43  QLabel *freeSpace;
44  QSpacerItem *verticalSpacer_2;
45  QLabel *errorMessage;
46  QLabel *lblExplanation1;
47  QLabel *lblExplanation2;
48  QLabel *lblExplanation3;
49  QSpacerItem *verticalSpacer;
50  QDialogButtonBox *buttonBox;
51 
52  void setupUi(QDialog *Intro)
53  {
54  if (Intro->objectName().isEmpty())
55  Intro->setObjectName(QString::fromUtf8("Intro"));
56  Intro->resize(674, 415);
57  verticalLayout = new QVBoxLayout(Intro);
58  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
59  welcomeLabel = new QLabel(Intro);
60  welcomeLabel->setObjectName(QString::fromUtf8("welcomeLabel"));
61  welcomeLabel->setStyleSheet(QString::fromUtf8("QLabel { font-style:italic; }"));
62  welcomeLabel->setWordWrap(true);
63 
64  verticalLayout->addWidget(welcomeLabel);
65 
66  verticalSpacer_4 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum);
67 
69 
70  storageLabel = new QLabel(Intro);
71  storageLabel->setObjectName(QString::fromUtf8("storageLabel"));
72  storageLabel->setWordWrap(true);
73 
74  verticalLayout->addWidget(storageLabel);
75 
76  sizeWarningLabel = new QLabel(Intro);
77  sizeWarningLabel->setObjectName(QString::fromUtf8("sizeWarningLabel"));
78  sizeWarningLabel->setWordWrap(true);
79 
80  verticalLayout->addWidget(sizeWarningLabel);
81 
82  dataDirDefault = new QRadioButton(Intro);
83  dataDirDefault->setObjectName(QString::fromUtf8("dataDirDefault"));
84 
85  verticalLayout->addWidget(dataDirDefault);
86 
87  dataDirCustom = new QRadioButton(Intro);
88  dataDirCustom->setObjectName(QString::fromUtf8("dataDirCustom"));
89 
90  verticalLayout->addWidget(dataDirCustom);
91 
92  horizontalLayout = new QHBoxLayout();
93  horizontalLayout->setSpacing(0);
94  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
95  horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
96  horizontalSpacer = new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
97 
99 
100  verticalLayout_2 = new QVBoxLayout();
101  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
102  verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
103  horizontalLayout_2 = new QHBoxLayout();
104  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
105  dataDirectory = new QLineEdit(Intro);
106  dataDirectory->setObjectName(QString::fromUtf8("dataDirectory"));
107 
108  horizontalLayout_2->addWidget(dataDirectory);
109 
110  ellipsisButton = new QPushButton(Intro);
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());
116  ellipsisButton->setSizePolicy(sizePolicy);
117  ellipsisButton->setMaximumSize(QSize(30, 16777215));
118  ellipsisButton->setText(QString::fromUtf8("\342\200\246"));
119  ellipsisButton->setAutoDefault(false);
120 
122 
123 
125 
126  verticalSpacer_3 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
127 
129 
130  freeSpace = new QLabel(Intro);
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());
136  freeSpace->setSizePolicy(sizePolicy1);
137  freeSpace->setWordWrap(true);
138 
139  verticalLayout_2->addWidget(freeSpace);
140 
141  verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
142 
144 
145  errorMessage = new QLabel(Intro);
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());
151  errorMessage->setSizePolicy(sizePolicy2);
152  errorMessage->setTextFormat(Qt::RichText);
153  errorMessage->setWordWrap(true);
154 
155  verticalLayout_2->addWidget(errorMessage);
156 
157 
159 
160 
161  verticalLayout->addLayout(horizontalLayout);
162 
163  lblExplanation1 = new QLabel(Intro);
164  lblExplanation1->setObjectName(QString::fromUtf8("lblExplanation1"));
165  lblExplanation1->setWordWrap(true);
166 
167  verticalLayout->addWidget(lblExplanation1);
168 
169  lblExplanation2 = new QLabel(Intro);
170  lblExplanation2->setObjectName(QString::fromUtf8("lblExplanation2"));
171  lblExplanation2->setWordWrap(true);
172 
173  verticalLayout->addWidget(lblExplanation2);
174 
175  lblExplanation3 = new QLabel(Intro);
176  lblExplanation3->setObjectName(QString::fromUtf8("lblExplanation3"));
177  lblExplanation3->setWordWrap(true);
178 
179  verticalLayout->addWidget(lblExplanation3);
180 
181  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
182 
183  verticalLayout->addItem(verticalSpacer);
184 
185  buttonBox = new QDialogButtonBox(Intro);
186  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
187  buttonBox->setOrientation(Qt::Horizontal);
188  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
189 
190  verticalLayout->addWidget(buttonBox);
191 
192 
194  QObject::connect(buttonBox, SIGNAL(accepted()), Intro, SLOT(accept()));
195  QObject::connect(buttonBox, SIGNAL(rejected()), Intro, SLOT(reject()));
196 
197  QMetaObject::connectSlotsByName(Intro);
198  } // setupUi
199 
200  void retranslateUi(QDialog *Intro)
201  {
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));
207  freeSpace->setText(QString());
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));
211  } // retranslateUi
212 
213 };
214 
215 namespace Ui {
216  class Intro: public Ui_Intro {};
217 } // namespace Ui
218 
219 QT_END_NAMESPACE
220 
221 #endif // UI_INTRO_H
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
Definition: intro.h:28
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