intro.ui raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Intro</class>
4 <widget class="QDialog" name="Intro">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>674</width>
10 <height>447</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Welcome</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QLabel" name="welcomeLabel">
19 <property name="styleSheet">
20 <string notr="true">QLabel { font-style:italic; }</string>
21 </property>
22 <property name="text">
23 <string>Welcome to %1.</string>
24 </property>
25 <property name="wordWrap">
26 <bool>true</bool>
27 </property>
28 </widget>
29 </item>
30 <item>
31 <spacer name="verticalSpacer_4">
32 <property name="orientation">
33 <enum>Qt::Vertical</enum>
34 </property>
35 <property name="sizeType">
36 <enum>QSizePolicy::Minimum</enum>
37 </property>
38 <property name="sizeHint" stdset="0">
39 <size>
40 <width>20</width>
41 <height>15</height>
42 </size>
43 </property>
44 </spacer>
45 </item>
46 <item>
47 <widget class="QLabel" name="storageLabel">
48 <property name="text">
49 <string>As this is the first time the program is launched, you can choose where %1 will store its data.</string>
50 </property>
51 <property name="wordWrap">
52 <bool>true</bool>
53 </property>
54 </widget>
55 </item>
56 <item>
57 <widget class="QLabel" name="sizeWarningLabel">
58 <property name="wordWrap">
59 <bool>true</bool>
60 </property>
61 </widget>
62 </item>
63 <item>
64 <widget class="QRadioButton" name="dataDirDefault">
65 <property name="text">
66 <string>Use the default data directory</string>
67 </property>
68 </widget>
69 </item>
70 <item>
71 <widget class="QRadioButton" name="dataDirCustom">
72 <property name="text">
73 <string>Use a custom data directory:</string>
74 </property>
75 </widget>
76 </item>
77 <item>
78 <layout class="QHBoxLayout" name="horizontalLayout">
79 <property name="spacing">
80 <number>0</number>
81 </property>
82 <property name="sizeConstraint">
83 <enum>QLayout::SetDefaultConstraint</enum>
84 </property>
85 <item>
86 <spacer name="horizontalSpacer">
87 <property name="orientation">
88 <enum>Qt::Horizontal</enum>
89 </property>
90 <property name="sizeType">
91 <enum>QSizePolicy::Fixed</enum>
92 </property>
93 <property name="sizeHint" stdset="0">
94 <size>
95 <width>60</width>
96 <height>20</height>
97 </size>
98 </property>
99 </spacer>
100 </item>
101 <item>
102 <layout class="QVBoxLayout" name="verticalLayout_2">
103 <property name="sizeConstraint">
104 <enum>QLayout::SetDefaultConstraint</enum>
105 </property>
106 <item>
107 <layout class="QHBoxLayout" name="horizontalLayout_2">
108 <item>
109 <widget class="QLineEdit" name="dataDirectory"/>
110 </item>
111 <item>
112 <widget class="QPushButton" name="ellipsisButton">
113 <property name="sizePolicy">
114 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
115 <horstretch>0</horstretch>
116 <verstretch>0</verstretch>
117 </sizepolicy>
118 </property>
119 <property name="maximumSize">
120 <size>
121 <width>30</width>
122 <height>16777215</height>
123 </size>
124 </property>
125 <property name="text">
126 <string notr="true">…</string>
127 </property>
128 <property name="autoDefault">
129 <bool>false</bool>
130 </property>
131 </widget>
132 </item>
133 </layout>
134 </item>
135 <item>
136 <spacer name="verticalSpacer_3">
137 <property name="orientation">
138 <enum>Qt::Vertical</enum>
139 </property>
140 <property name="sizeType">
141 <enum>QSizePolicy::Fixed</enum>
142 </property>
143 <property name="sizeHint" stdset="0">
144 <size>
145 <width>20</width>
146 <height>5</height>
147 </size>
148 </property>
149 </spacer>
150 </item>
151 <item>
152 <widget class="QLabel" name="freeSpace">
153 <property name="sizePolicy">
154 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
155 <horstretch>1</horstretch>
156 <verstretch>0</verstretch>
157 </sizepolicy>
158 </property>
159 <property name="text">
160 <string/>
161 </property>
162 <property name="wordWrap">
163 <bool>true</bool>
164 </property>
165 </widget>
166 </item>
167 <item>
168 <spacer name="verticalSpacer_2">
169 <property name="orientation">
170 <enum>Qt::Vertical</enum>
171 </property>
172 <property name="sizeType">
173 <enum>QSizePolicy::Fixed</enum>
174 </property>
175 <property name="sizeHint" stdset="0">
176 <size>
177 <width>20</width>
178 <height>5</height>
179 </size>
180 </property>
181 </spacer>
182 </item>
183 <item>
184 <widget class="QLabel" name="errorMessage">
185 <property name="sizePolicy">
186 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
187 <horstretch>0</horstretch>
188 <verstretch>0</verstretch>
189 </sizepolicy>
190 </property>
191 <property name="textFormat">
192 <enum>Qt::RichText</enum>
193 </property>
194 <property name="wordWrap">
195 <bool>true</bool>
196 </property>
197 </widget>
198 </item>
199 </layout>
200 </item>
201 </layout>
202 </item>
203 <item>
204 <widget class="QLabel" name="lblExplanation1">
205 <property name="text">
206 <string>When you click OK, %1 will begin to download and process the full %4 block chain (%2 GB) starting with the earliest transactions in %3 when %4 initially launched.</string>
207 </property>
208 <property name="wordWrap">
209 <bool>true</bool>
210 </property>
211 </widget>
212 </item>
213 <item>
214 <widget class="QLabel" name="lblExplanation2">
215 <property name="text">
216 <string>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.</string>
217 </property>
218 <property name="wordWrap">
219 <bool>true</bool>
220 </property>
221 </widget>
222 </item>
223 <item>
224 <widget class="QLabel" name="lblExplanation3">
225 <property name="text">
226 <string>If you choose 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.</string>
227 </property>
228 <property name="wordWrap">
229 <bool>true</bool>
230 </property>
231 </widget>
232 </item>
233 <item>
234 <layout class="QHBoxLayout" name="pruneOptLayout">
235 <item>
236 <widget class="QCheckBox" name="prune">
237 <property name="text">
238 <string>Limit block chain storage to</string>
239 </property>
240 <property name="toolTip">
241 <string>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.</string>
242 </property>
243 </widget>
244 </item>
245 <item>
246 <widget class="QSpinBox" name="pruneMiB">
247 <property name="suffix">
248 <string> MiB</string>
249 </property>
250 </widget>
251 </item>
252 <item>
253 <widget class="QLabel" name="lblPruneSuffix">
254 <property name="buddy">
255 <cstring>pruneMiB</cstring>
256 </property>
257 </widget>
258 </item>
259 <item>
260 <spacer name="horizontalSpacer_2">
261 <property name="orientation">
262 <enum>Qt::Horizontal</enum>
263 </property>
264 <property name="sizeHint" stdset="0">
265 <size>
266 <width>40</width>
267 <height>20</height>
268 </size>
269 </property>
270 </spacer>
271 </item>
272 </layout>
273 </item>
274 <item>
275 <widget class="QWidget" name="groupAssumeValid">
276 <layout class="QVBoxLayout">
277 <item>
278 <widget class="QLabel" name="lblExplanationAssumeValid">
279 <property name="text">
280 <string>The initial synchronisation process can go faster if you skip verification of older transactions. This does, however, require trusting that the "assumed valid" blockchain below is in fact valid. Uncheck this if you want to fully validate the entire blockchain history.</string>
281 </property>
282 <property name="wordWrap">
283 <bool>true</bool>
284 </property>
285 </widget>
286 </item>
287 <item>
288 <layout class="QHBoxLayout" name="layoutAssumeValid">
289 <item>
290 <widget class="QCheckBox" name="assumevalid">
291 <property name="toolTip">
292 <string>Reverting this setting will slow down initial synchronisation due to validating old transactions</string>
293 </property>
294 <property name="text">
295 <string>Skip validation of the transactions until after block:</string>
296 </property>
297 <property name="checked">
298 <bool>true</bool>
299 </property>
300 </widget>
301 </item>
302 <item>
303 <spacer>
304 <property name="orientation">
305 <enum>Qt::Horizontal</enum>
306 </property>
307 </spacer>
308 </item>
309 </layout>
310 </item>
311 <item>
312 <layout class="QHBoxLayout" name="layoutAssumeValidBlock">
313 <item>
314 <spacer>
315 <property name="orientation">
316 <enum>Qt::Horizontal</enum>
317 </property>
318 </spacer>
319 </item>
320 <item>
321 <widget class="QLineEdit" name="assumevalidBlock">
322 <property name="maxLength">
323 <number>64</number>
324 </property>
325 </widget>
326 </item>
327 </layout>
328 </item>
329 </layout>
330 </widget>
331 </item>
332 <item>
333 <spacer name="verticalSpacer">
334 <property name="orientation">
335 <enum>Qt::Vertical</enum>
336 </property>
337 <property name="sizeHint" stdset="0">
338 <size>
339 <width>20</width>
340 <height>40</height>
341 </size>
342 </property>
343 </spacer>
344 </item>
345 <item>
346 <widget class="QDialogButtonBox" name="buttonBox">
347 <property name="orientation">
348 <enum>Qt::Horizontal</enum>
349 </property>
350 <property name="standardButtons">
351 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
352 </property>
353 </widget>
354 </item>
355 </layout>
356 </widget>
357 <resources/>
358 <connections>
359 <connection>
360 <sender>buttonBox</sender>
361 <signal>accepted()</signal>
362 <receiver>Intro</receiver>
363 <slot>accept()</slot>
364 <hints>
365 <hint type="sourcelabel">
366 <x>20</x>
367 <y>20</y>
368 </hint>
369 <hint type="destinationlabel">
370 <x>20</x>
371 <y>20</y>
372 </hint>
373 </hints>
374 </connection>
375 <connection>
376 <sender>buttonBox</sender>
377 <signal>rejected()</signal>
378 <receiver>Intro</receiver>
379 <slot>reject()</slot>
380 <hints>
381 <hint type="sourcelabel">
382 <x>20</x>
383 <y>20</y>
384 </hint>
385 <hint type="destinationlabel">
386 <x>20</x>
387 <y>20</y>
388 </hint>
389 </hints>
390 </connection>
391 </connections>
392 </ui>
393