Line data Source code
1 : /********************************************************************************
2 : ** Form generated from reading UI file 'intro.ui'
3 : **
4 : ** Created by: Qt User Interface Compiler version 4.8.6
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 <QtGui/QAction>
14 : #include <QtGui/QApplication>
15 : #include <QtGui/QButtonGroup>
16 : #include <QtGui/QDialog>
17 : #include <QtGui/QDialogButtonBox>
18 : #include <QtGui/QHBoxLayout>
19 : #include <QtGui/QHeaderView>
20 : #include <QtGui/QLabel>
21 : #include <QtGui/QLineEdit>
22 : #include <QtGui/QPushButton>
23 : #include <QtGui/QRadioButton>
24 : #include <QtGui/QSpacerItem>
25 : #include <QtGui/QVBoxLayout>
26 :
27 : QT_BEGIN_NAMESPACE
28 :
29 : class Ui_Intro
30 : {
31 : public:
32 : QVBoxLayout *verticalLayout;
33 : QLabel *label_2;
34 : QSpacerItem *verticalSpacer_4;
35 : QLabel *label_4;
36 : QLabel *sizeWarningLabel;
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 : QSpacerItem *verticalSpacer;
50 : QDialogButtonBox *buttonBox;
51 :
52 0 : void setupUi(QDialog *Intro)
53 : {
54 0 : if (Intro->objectName().isEmpty())
55 0 : Intro->setObjectName(QString::fromUtf8("Intro"));
56 0 : Intro->resize(674, 363);
57 0 : verticalLayout = new QVBoxLayout(Intro);
58 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
59 0 : label_2 = new QLabel(Intro);
60 0 : label_2->setObjectName(QString::fromUtf8("label_2"));
61 0 : label_2->setStyleSheet(QString::fromUtf8("QLabel { font-style:italic; }"));
62 0 : label_2->setWordWrap(true);
63 :
64 0 : verticalLayout->addWidget(label_2);
65 :
66 0 : verticalSpacer_4 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum);
67 :
68 0 : verticalLayout->addItem(verticalSpacer_4);
69 :
70 0 : label_4 = new QLabel(Intro);
71 0 : label_4->setObjectName(QString::fromUtf8("label_4"));
72 0 : label_4->setWordWrap(true);
73 :
74 0 : verticalLayout->addWidget(label_4);
75 :
76 0 : sizeWarningLabel = new QLabel(Intro);
77 0 : sizeWarningLabel->setObjectName(QString::fromUtf8("sizeWarningLabel"));
78 0 : sizeWarningLabel->setWordWrap(true);
79 :
80 0 : verticalLayout->addWidget(sizeWarningLabel);
81 :
82 0 : dataDirDefault = new QRadioButton(Intro);
83 0 : dataDirDefault->setObjectName(QString::fromUtf8("dataDirDefault"));
84 :
85 0 : verticalLayout->addWidget(dataDirDefault);
86 :
87 0 : dataDirCustom = new QRadioButton(Intro);
88 0 : dataDirCustom->setObjectName(QString::fromUtf8("dataDirCustom"));
89 :
90 0 : verticalLayout->addWidget(dataDirCustom);
91 :
92 0 : horizontalLayout = new QHBoxLayout();
93 0 : horizontalLayout->setSpacing(0);
94 0 : horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
95 0 : horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
96 0 : horizontalSpacer = new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
97 :
98 0 : horizontalLayout->addItem(horizontalSpacer);
99 :
100 0 : verticalLayout_2 = new QVBoxLayout();
101 0 : verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
102 0 : verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
103 0 : horizontalLayout_2 = new QHBoxLayout();
104 0 : horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
105 0 : dataDirectory = new QLineEdit(Intro);
106 0 : dataDirectory->setObjectName(QString::fromUtf8("dataDirectory"));
107 :
108 0 : horizontalLayout_2->addWidget(dataDirectory);
109 :
110 0 : ellipsisButton = new QPushButton(Intro);
111 0 : ellipsisButton->setObjectName(QString::fromUtf8("ellipsisButton"));
112 : QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
113 : sizePolicy.setHorizontalStretch(0);
114 : sizePolicy.setVerticalStretch(0);
115 0 : sizePolicy.setHeightForWidth(ellipsisButton->sizePolicy().hasHeightForWidth());
116 0 : ellipsisButton->setSizePolicy(sizePolicy);
117 0 : ellipsisButton->setMaximumSize(QSize(30, 16777215));
118 0 : ellipsisButton->setText(QString::fromUtf8("\342\200\246"));
119 0 : ellipsisButton->setAutoDefault(false);
120 :
121 0 : horizontalLayout_2->addWidget(ellipsisButton);
122 :
123 :
124 0 : verticalLayout_2->addLayout(horizontalLayout_2);
125 :
126 0 : verticalSpacer_3 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
127 :
128 0 : verticalLayout_2->addItem(verticalSpacer_3);
129 :
130 0 : freeSpace = new QLabel(Intro);
131 0 : freeSpace->setObjectName(QString::fromUtf8("freeSpace"));
132 : QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
133 : sizePolicy1.setHorizontalStretch(1);
134 : sizePolicy1.setVerticalStretch(0);
135 0 : sizePolicy1.setHeightForWidth(freeSpace->sizePolicy().hasHeightForWidth());
136 0 : freeSpace->setSizePolicy(sizePolicy1);
137 0 : freeSpace->setWordWrap(true);
138 :
139 0 : verticalLayout_2->addWidget(freeSpace);
140 :
141 0 : verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
142 :
143 0 : verticalLayout_2->addItem(verticalSpacer_2);
144 :
145 0 : errorMessage = new QLabel(Intro);
146 0 : errorMessage->setObjectName(QString::fromUtf8("errorMessage"));
147 : QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
148 : sizePolicy2.setHorizontalStretch(0);
149 : sizePolicy2.setVerticalStretch(0);
150 0 : sizePolicy2.setHeightForWidth(errorMessage->sizePolicy().hasHeightForWidth());
151 0 : errorMessage->setSizePolicy(sizePolicy2);
152 0 : errorMessage->setTextFormat(Qt::RichText);
153 0 : errorMessage->setWordWrap(true);
154 :
155 0 : verticalLayout_2->addWidget(errorMessage);
156 :
157 :
158 0 : horizontalLayout->addLayout(verticalLayout_2);
159 :
160 :
161 0 : verticalLayout->addLayout(horizontalLayout);
162 :
163 0 : verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
164 :
165 0 : verticalLayout->addItem(verticalSpacer);
166 :
167 0 : buttonBox = new QDialogButtonBox(Intro);
168 0 : buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
169 0 : buttonBox->setOrientation(Qt::Horizontal);
170 0 : buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
171 :
172 0 : verticalLayout->addWidget(buttonBox);
173 :
174 :
175 0 : retranslateUi(Intro);
176 0 : QObject::connect(buttonBox, SIGNAL(accepted()), Intro, SLOT(accept()));
177 0 : QObject::connect(buttonBox, SIGNAL(rejected()), Intro, SLOT(reject()));
178 :
179 0 : QMetaObject::connectSlotsByName(Intro);
180 0 : } // setupUi
181 :
182 0 : void retranslateUi(QDialog *Intro)
183 : {
184 0 : Intro->setWindowTitle(QApplication::translate("Intro", "Welcome", 0, QApplication::UnicodeUTF8));
185 0 : label_2->setText(QApplication::translate("Intro", "Welcome to Bitcoin Core.", 0, QApplication::UnicodeUTF8));
186 0 : label_4->setText(QApplication::translate("Intro", "As this is the first time the program is launched, you can choose where Bitcoin Core will store its data.", 0, QApplication::UnicodeUTF8));
187 0 : sizeWarningLabel->setText(QApplication::translate("Intro", "Bitcoin Core will download and store a copy of the Bitcoin block chain. At least %1GB of data will be stored in this directory, and it will grow over time. The wallet will also be stored in this directory.", 0, QApplication::UnicodeUTF8));
188 0 : dataDirDefault->setText(QApplication::translate("Intro", "Use the default data directory", 0, QApplication::UnicodeUTF8));
189 0 : dataDirCustom->setText(QApplication::translate("Intro", "Use a custom data directory:", 0, QApplication::UnicodeUTF8));
190 0 : freeSpace->setText(QString());
191 0 : } // retranslateUi
192 :
193 : };
194 :
195 : namespace Ui {
196 : class Intro: public Ui_Intro {};
197 : } // namespace Ui
198 :
199 : QT_END_NAMESPACE
200 :
201 : #endif // UI_INTRO_H
|