blob: ea60ac4d76263dd925e6aff6aa7e316001f3682b [file] [log] [blame]
Edric Milaret559bda52015-04-29 17:02:31 -04001<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>WizardDialog</class>
4 <widget class="QDialog" name="WizardDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
Edric Milaret4097d2f2016-02-09 14:41:50 -05009 <width>500</width>
Anthony Léonard955b9572016-11-10 13:28:39 -050010 <height>500</height>
Edric Milaret559bda52015-04-29 17:02:31 -040011 </rect>
12 </property>
Edric Milaret4097d2f2016-02-09 14:41:50 -050013 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="minimumSize">
20 <size>
21 <width>500</width>
Anthony Léonard955b9572016-11-10 13:28:39 -050022 <height>500</height>
Edric Milaret4097d2f2016-02-09 14:41:50 -050023 </size>
24 </property>
Edric Milaret559bda52015-04-29 17:02:31 -040025 <property name="windowTitle">
Edric Milareted0b2802015-10-01 15:10:02 -040026 <string/>
Edric Milaret559bda52015-04-29 17:02:31 -040027 </property>
Edric Milareted0b2802015-10-01 15:10:02 -040028 <property name="windowIcon">
29 <iconset resource="ressources.qrc">
30 <normaloff>:/images/ring.png</normaloff>:/images/ring.png</iconset>
31 </property>
32 <layout class="QVBoxLayout" name="verticalLayout">
Edric Milaret4097d2f2016-02-09 14:41:50 -050033 <property name="bottomMargin">
34 <number>0</number>
35 </property>
Edric Milaret559bda52015-04-29 17:02:31 -040036 <item>
Edric Milaret57467842016-08-30 13:06:11 -040037 <widget class="QStackedWidget" name="stackedWidget">
Anthony Léonard955b9572016-11-10 13:28:39 -050038 <widget class="QWidget" name="welcomePage">
Edric Milaret57467842016-08-30 13:06:11 -040039 <layout class="QVBoxLayout" name="verticalLayout_3">
40 <item>
41 <spacer name="verticalSpacer_6">
42 <property name="orientation">
43 <enum>Qt::Vertical</enum>
44 </property>
45 <property name="sizeHint" stdset="0">
46 <size>
47 <width>20</width>
48 <height>40</height>
49 </size>
50 </property>
51 </spacer>
52 </item>
53 <item>
54 <widget class="QLabel" name="welcomeLogo">
55 <property name="text">
56 <string/>
57 </property>
58 </widget>
59 </item>
60 <item>
61 <spacer name="verticalSpacer_7">
62 <property name="orientation">
63 <enum>Qt::Vertical</enum>
64 </property>
65 <property name="sizeType">
66 <enum>QSizePolicy::Fixed</enum>
67 </property>
68 <property name="sizeHint" stdset="0">
69 <size>
70 <width>10</width>
71 <height>20</height>
72 </size>
73 </property>
74 </spacer>
75 </item>
76 <item>
Edric Milaret57467842016-08-30 13:06:11 -040077 <widget class="QPushButton" name="newAccountButton">
78 <property name="minimumSize">
79 <size>
80 <width>85</width>
81 <height>30</height>
82 </size>
83 </property>
84 <property name="text">
Olivier SOLDANO371551c2016-11-03 13:05:36 -040085 <string>Create Ring account</string>
86 </property>
87 </widget>
88 </item>
89 <item>
90 <widget class="QPushButton" name="existingPushButton">
91 <property name="minimumSize">
92 <size>
93 <width>85</width>
94 <height>30</height>
95 </size>
96 </property>
97 <property name="text">
Anthony Léonard955b9572016-11-10 13:28:39 -050098 <string>Link this device to an account</string>
Edric Milaret57467842016-08-30 13:06:11 -040099 </property>
100 </widget>
101 </item>
102 <item>
103 <spacer name="verticalSpacer_5">
104 <property name="orientation">
105 <enum>Qt::Vertical</enum>
106 </property>
107 <property name="sizeHint" stdset="0">
108 <size>
109 <width>20</width>
110 <height>40</height>
111 </size>
112 </property>
113 </spacer>
114 </item>
115 </layout>
116 </widget>
Anthony Léonard955b9572016-11-10 13:28:39 -0500117 <widget class="QWidget" name="explanationPage">
118 <layout class="QVBoxLayout" name="verticalLayout_6">
119 <item alignment="Qt::AlignHCenter">
120 <widget class="QLabel" name="label">
121 <property name="font">
122 <font>
123 <pointsize>30</pointsize>
124 </font>
125 </property>
126 <property name="text">
127 <string>How to add a device</string>
128 </property>
129 </widget>
130 </item>
131 <item>
132 <widget class="QTextBrowser" name="textBrowser">
133 <property name="html">
134 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
135&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
136p, li { white-space: pre-wrap; }
137&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
138&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;To link this device to another account, you first &lt;/span&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;need to obtain a PIN&lt;/span&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt; code. To generate the PIN code:&lt;/span&gt;&lt;/p&gt;
139&lt;ol style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; font-size:12pt;&quot; style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Go to the &lt;span style=&quot; font-weight:600;&quot;&gt;Account management setting&lt;/span&gt; of a previous device&lt;/li&gt;
140&lt;li style=&quot; font-size:12pt;&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Choose the &lt;span style=&quot; font-weight:600;&quot;&gt;Ring account&lt;/span&gt; you want to use&lt;/li&gt;
Anthony Léonardcd159bc2016-11-17 10:52:39 -0500141&lt;li style=&quot; font-size:12pt;&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Go to the &lt;span style=&quot; font-weight:600;&quot;&gt;Devices&lt;/span&gt; tab&lt;/li&gt;
Anthony Léonard955b9572016-11-10 13:28:39 -0500142&lt;li style=&quot; font-size:12pt;&quot; style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Select &lt;span style=&quot; font-weight:600;&quot;&gt;Add a device&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
143&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;You will get the necessary PIN to complete this form. The PIN is only valid for &lt;/span&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;10 minutes&lt;/span&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
144 </property>
145 </widget>
146 </item>
147 </layout>
148 </widget>
149 <widget class="QWidget" name="profilePage">
Edric Milaret57467842016-08-30 13:06:11 -0400150 <layout class="QVBoxLayout" name="verticalLayout_2">
Anthony Léonard955b9572016-11-10 13:28:39 -0500151 <item alignment="Qt::AlignHCenter">
152 <widget class="QLabel" name="profileLabel">
153 <property name="font">
154 <font>
155 <pointsize>30</pointsize>
156 </font>
157 </property>
158 <property name="text">
159 <string>Create your profile</string>
160 </property>
161 </widget>
162 </item>
Edric Milaret57467842016-08-30 13:06:11 -0400163 <item>
164 <spacer name="verticalSpacer_4">
165 <property name="orientation">
166 <enum>Qt::Vertical</enum>
167 </property>
168 <property name="sizeHint" stdset="0">
169 <size>
Anthony Léonard955b9572016-11-10 13:28:39 -0500170 <width>0</width>
171 <height>0</height>
Edric Milaret57467842016-08-30 13:06:11 -0400172 </size>
173 </property>
174 </spacer>
175 </item>
176 <item alignment="Qt::AlignHCenter">
177 <widget class="QPushButton" name="avatarButton">
178 <property name="sizePolicy">
179 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
180 <horstretch>0</horstretch>
181 <verstretch>0</verstretch>
182 </sizepolicy>
183 </property>
184 <property name="minimumSize">
185 <size>
Anthony Léonard955b9572016-11-10 13:28:39 -0500186 <width>100</width>
187 <height>100</height>
Edric Milaret57467842016-08-30 13:06:11 -0400188 </size>
189 </property>
190 <property name="maximumSize">
191 <size>
Anthony Léonard955b9572016-11-10 13:28:39 -0500192 <width>100</width>
193 <height>100</height>
Edric Milaret57467842016-08-30 13:06:11 -0400194 </size>
195 </property>
196 <property name="text">
197 <string/>
198 </property>
199 <property name="icon">
200 <iconset resource="ressources.qrc">
201 <normaloff>:/images/user/btn-default-userpic.svg</normaloff>:/images/user/btn-default-userpic.svg</iconset>
202 </property>
203 <property name="iconSize">
204 <size>
Anthony Léonard955b9572016-11-10 13:28:39 -0500205 <width>100</width>
206 <height>100</height>
Edric Milaret57467842016-08-30 13:06:11 -0400207 </size>
208 </property>
209 <property name="flat">
210 <bool>true</bool>
211 </property>
212 </widget>
213 </item>
214 <item>
Anthony Léonard955b9572016-11-10 13:28:39 -0500215 <spacer name="verticalSpacer_2">
216 <property name="orientation">
217 <enum>Qt::Vertical</enum>
218 </property>
219 <property name="sizeType">
220 <enum>QSizePolicy::Fixed</enum>
221 </property>
222 <property name="sizeHint" stdset="0">
223 <size>
224 <width>20</width>
225 <height>30</height>
226 </size>
227 </property>
228 </spacer>
229 </item>
230 <item alignment="Qt::AlignHCenter">
231 <widget class="QLabel" name="fullNameLabel">
232 <property name="minimumSize">
233 <size>
234 <width>0</width>
235 <height>17</height>
236 </size>
237 </property>
238 <property name="font">
239 <font>
240 <pointsize>12</pointsize>
241 </font>
242 </property>
243 <property name="text">
244 <string>Enter your full name:</string>
245 </property>
246 </widget>
247 </item>
248 <item alignment="Qt::AlignHCenter">
249 <widget class="QLineEdit" name="fullNameEdit">
250 <property name="minimumSize">
251 <size>
252 <width>200</width>
253 <height>0</height>
254 </size>
255 </property>
256 <property name="maximumSize">
257 <size>
258 <width>200</width>
259 <height>16777215</height>
260 </size>
261 </property>
262 <property name="font">
263 <font>
264 <pointsize>11</pointsize>
265 </font>
266 </property>
267 </widget>
268 </item>
269 <item>
270 <spacer name="verticalSpacer_8">
271 <property name="orientation">
272 <enum>Qt::Vertical</enum>
273 </property>
274 <property name="sizeType">
275 <enum>QSizePolicy::Expanding</enum>
276 </property>
277 <property name="sizeHint" stdset="0">
278 <size>
279 <width>0</width>
280 <height>0</height>
281 </size>
282 </property>
283 </spacer>
284 </item>
285 </layout>
286 </widget>
287 <widget class="QWidget" name="accountPage">
288 <layout class="QVBoxLayout" name="verticalLayout_5">
289 <item alignment="Qt::AlignHCenter">
290 <widget class="QLabel" name="accountLabel">
291 <property name="font">
292 <font>
293 <pointsize>30</pointsize>
294 </font>
295 </property>
296 <property name="text">
297 <string>Create your account</string>
298 </property>
299 </widget>
300 </item>
301 <item>
302 <spacer name="verticalSpacer_9">
303 <property name="orientation">
304 <enum>Qt::Vertical</enum>
305 </property>
306 <property name="sizeHint" stdset="0">
307 <size>
308 <width>0</width>
309 <height>0</height>
310 </size>
311 </property>
312 </spacer>
313 </item>
314 <item>
315 <widget class="QLabel" name="usernameLabel">
Edric Milaret57467842016-08-30 13:06:11 -0400316 <property name="font">
317 <font>
318 <pointsize>12</pointsize>
319 </font>
320 </property>
321 <property name="text">
322 <string>Choose your username:</string>
323 </property>
324 <property name="alignment">
325 <set>Qt::AlignCenter</set>
326 </property>
327 <property name="wordWrap">
328 <bool>true</bool>
329 </property>
Anthony Léonard955b9572016-11-10 13:28:39 -0500330 <property name="buddy">
331 <cstring>usernameEdit</cstring>
332 </property>
Edric Milaret57467842016-08-30 13:06:11 -0400333 </widget>
334 </item>
Anthony Léonardaa90e1a2016-10-12 11:24:17 -0400335 <item>
336 <layout class="QHBoxLayout" name="horizontalLayout_2">
337 <item>
338 <spacer name="horizontalSpacer_2">
339 <property name="orientation">
340 <enum>Qt::Horizontal</enum>
341 </property>
342 <property name="sizeHint" stdset="0">
343 <size>
344 <width>40</width>
345 <height>20</height>
346 </size>
347 </property>
348 </spacer>
349 </item>
350 <item>
351 <widget class="QLineEdit" name="usernameEdit">
352 <property name="minimumSize">
353 <size>
354 <width>200</width>
355 <height>0</height>
356 </size>
357 </property>
358 <property name="maximumSize">
359 <size>
360 <width>200</width>
361 <height>16777215</height>
362 </size>
363 </property>
364 <property name="font">
365 <font>
366 <pointsize>11</pointsize>
367 </font>
368 </property>
Anthony Léonardaa90e1a2016-10-12 11:24:17 -0400369 <property name="placeholderText">
370 <string>Choose your username</string>
371 </property>
372 <property name="clearButtonEnabled">
373 <bool>true</bool>
374 </property>
375 </widget>
376 </item>
377 <item>
378 <widget class="QLabel" name="searchingStateLabel">
379 <property name="sizePolicy">
380 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
381 <horstretch>0</horstretch>
382 <verstretch>0</verstretch>
383 </sizepolicy>
384 </property>
385 <property name="text">
386 <string>Searching...</string>
387 </property>
388 </widget>
389 </item>
390 </layout>
391 </item>
Edric Milaret57467842016-08-30 13:06:11 -0400392 <item alignment="Qt::AlignHCenter">
Anthony Léonardaa90e1a2016-10-12 11:24:17 -0400393 <widget class="QCheckBox" name="signUpCheckbox">
394 <property name="toolTip">
395 <string>Register your username on the Ring. This will reserve the username so that only you can use it. Your friends will be able to call you with your usename instead of using your RingID.</string>
Edric Milaret57467842016-08-30 13:06:11 -0400396 </property>
Anthony Léonardaa90e1a2016-10-12 11:24:17 -0400397 <property name="text">
Anthony Léonard955b9572016-11-10 13:28:39 -0500398 <string>Register public username (experimental)</string>
Edric Milaret57467842016-08-30 13:06:11 -0400399 </property>
Anthony Léonardaa90e1a2016-10-12 11:24:17 -0400400 <property name="checked">
Edric Milaret57467842016-08-30 13:06:11 -0400401 <bool>true</bool>
402 </property>
403 </widget>
404 </item>
405 <item alignment="Qt::AlignHCenter">
406 <widget class="QLineEdit" name="pinEdit">
407 <property name="minimumSize">
408 <size>
409 <width>200</width>
410 <height>0</height>
411 </size>
412 </property>
413 <property name="maximumSize">
414 <size>
415 <width>200</width>
416 <height>16777215</height>
417 </size>
418 </property>
419 <property name="font">
420 <font>
421 <pointsize>11</pointsize>
422 </font>
423 </property>
424 <property name="placeholderText">
425 <string>Enter your pin</string>
426 </property>
427 <property name="clearButtonEnabled">
428 <bool>false</bool>
429 </property>
430 </widget>
431 </item>
432 <item alignment="Qt::AlignHCenter">
433 <widget class="QLineEdit" name="passwordEdit">
434 <property name="minimumSize">
435 <size>
436 <width>200</width>
437 <height>0</height>
438 </size>
439 </property>
440 <property name="maximumSize">
441 <size>
442 <width>200</width>
443 <height>16777215</height>
444 </size>
445 </property>
446 <property name="font">
447 <font>
448 <pointsize>11</pointsize>
449 </font>
450 </property>
451 <property name="echoMode">
452 <enum>QLineEdit::Password</enum>
453 </property>
454 <property name="placeholderText">
455 <string>Password</string>
456 </property>
457 <property name="clearButtonEnabled">
458 <bool>false</bool>
459 </property>
460 </widget>
461 </item>
462 <item alignment="Qt::AlignHCenter">
463 <widget class="QLineEdit" name="confirmPasswordEdit">
464 <property name="minimumSize">
465 <size>
466 <width>200</width>
467 <height>0</height>
468 </size>
469 </property>
470 <property name="maximumSize">
471 <size>
472 <width>200</width>
473 <height>16777215</height>
474 </size>
475 </property>
476 <property name="font">
477 <font>
478 <pointsize>11</pointsize>
479 </font>
480 </property>
481 <property name="echoMode">
482 <enum>QLineEdit::Password</enum>
483 </property>
484 <property name="placeholderText">
485 <string>Confirm password</string>
486 </property>
487 <property name="clearButtonEnabled">
488 <bool>false</bool>
489 </property>
490 </widget>
491 </item>
492 <item>
493 <spacer name="verticalSpacer">
494 <property name="orientation">
495 <enum>Qt::Vertical</enum>
496 </property>
497 <property name="sizeHint" stdset="0">
498 <size>
Anthony Léonard955b9572016-11-10 13:28:39 -0500499 <width>0</width>
500 <height>0</height>
Edric Milaret57467842016-08-30 13:06:11 -0400501 </size>
502 </property>
503 </spacer>
504 </item>
Anthony Léonard955b9572016-11-10 13:28:39 -0500505 </layout>
506 </widget>
507 <widget class="QWidget" name="spinnerPage">
508 <layout class="QVBoxLayout" name="verticalLayout_4">
Edric Milaret57467842016-08-30 13:06:11 -0400509 <item>
Anthony Léonard955b9572016-11-10 13:28:39 -0500510 <spacer name="verticalSpacer_3">
Edric Milaret57467842016-08-30 13:06:11 -0400511 <property name="orientation">
512 <enum>Qt::Vertical</enum>
513 </property>
514 <property name="sizeHint" stdset="0">
515 <size>
516 <width>20</width>
Anthony Léonard955b9572016-11-10 13:28:39 -0500517 <height>40</height>
Edric Milaret57467842016-08-30 13:06:11 -0400518 </size>
519 </property>
520 </spacer>
521 </item>
Edric Milaret57467842016-08-30 13:06:11 -0400522 <item alignment="Qt::AlignHCenter">
523 <widget class="QLabel" name="spinnerLabel">
524 <property name="text">
525 <string/>
526 </property>
527 <property name="pixmap">
528 <pixmap resource="ressources.qrc">:/images/loading.gif</pixmap>
529 </property>
530 </widget>
531 </item>
Anthony Léonard955b9572016-11-10 13:28:39 -0500532 <item>
533 <spacer name="verticalSpacer_11">
534 <property name="orientation">
535 <enum>Qt::Vertical</enum>
536 </property>
537 <property name="sizeHint" stdset="0">
538 <size>
539 <width>20</width>
540 <height>40</height>
541 </size>
542 </property>
543 </spacer>
544 </item>
Anthony Léonard00ec9562016-11-04 11:55:22 -0400545 <item alignment="Qt::AlignHCenter">
546 <widget class="QLabel" name="progressLabel">
547 <property name="font">
548 <font>
549 <pointsize>11</pointsize>
550 </font>
551 </property>
552 <property name="text">
553 <string>Generating your Ring account...</string>
554 </property>
555 </widget>
556 </item>
Anthony Léonard955b9572016-11-10 13:28:39 -0500557 <item>
558 <spacer name="verticalSpacer_10">
559 <property name="orientation">
560 <enum>Qt::Vertical</enum>
561 </property>
562 <property name="sizeType">
563 <enum>QSizePolicy::Minimum</enum>
564 </property>
565 <property name="sizeHint" stdset="0">
566 <size>
567 <width>20</width>
568 <height>20</height>
569 </size>
570 </property>
571 </spacer>
572 </item>
Edric Milaret57467842016-08-30 13:06:11 -0400573 </layout>
574 </widget>
Edric Milaret4097d2f2016-02-09 14:41:50 -0500575 </widget>
576 </item>
Anthony Léonard955b9572016-11-10 13:28:39 -0500577 <item>
578 <widget class="QWidget" name="navBarWidget" native="true">
579 <layout class="QHBoxLayout" name="_2">
580 <item>
581 <widget class="QPushButton" name="previousButton">
582 <property name="minimumSize">
583 <size>
584 <width>85</width>
585 <height>30</height>
586 </size>
587 </property>
588 <property name="text">
589 <string>Previous</string>
590 </property>
591 </widget>
592 </item>
593 <item>
594 <spacer name="horizontalSpacer">
595 <property name="orientation">
596 <enum>Qt::Horizontal</enum>
597 </property>
598 <property name="sizeHint" stdset="0">
599 <size>
600 <width>40</width>
601 <height>20</height>
602 </size>
603 </property>
604 </spacer>
605 </item>
606 <item>
607 <widget class="QPushButton" name="nextButton">
608 <property name="minimumSize">
609 <size>
610 <width>85</width>
611 <height>30</height>
612 </size>
613 </property>
614 <property name="maximumSize">
615 <size>
616 <width>85</width>
617 <height>30</height>
618 </size>
619 </property>
620 <property name="toolTip">
621 <string>Next</string>
622 </property>
623 <property name="text">
624 <string>Next</string>
625 </property>
626 <property name="flat">
627 <bool>false</bool>
628 </property>
629 </widget>
630 </item>
631 </layout>
632 </widget>
633 </item>
Edric Milaret559bda52015-04-29 17:02:31 -0400634 </layout>
635 </widget>
Edric Milaret74e4b8b2015-05-15 10:25:00 -0400636 <resources>
637 <include location="ressources.qrc"/>
638 </resources>
Anthony Léonard955b9572016-11-10 13:28:39 -0500639 <connections/>
Edric Milaret559bda52015-04-29 17:02:31 -0400640</ui>