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