loginWindow.ui 15.3 KB
Newer Older
曹高翔's avatar
Gui    
曹高翔 committed
1
2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3
4
 <class>windowLogin</class>
 <widget class="QMainWindow" name="windowLogin">
曹高翔's avatar
Gui    
曹高翔 committed
5
6
7
8
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
10
    <width>540</width>
    <height>320</height>
曹高翔's avatar
Gui    
曹高翔 committed
11
12
13
14
15
16
17
18
19
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>0</width>
    <height>0</height>
   </size>
  </property>
  <property name="windowTitle">
Zheng Yile's avatar
Zheng Yile committed
20
   <string>欢迎使用Codia——登录</string>
曹高翔's avatar
Gui    
曹高翔 committed
21
  </property>
Zheng Yile's avatar
Zheng Yile committed
22
23
24
25
26
27
28
  <property name="windowIcon">
   <iconset>
    <normaloff>favicon.ico</normaloff>favicon.ico</iconset>
  </property>
  <property name="windowOpacity">
   <double>1.000000000000000</double>
  </property>
曹高翔's avatar
Gui    
曹高翔 committed
29
  <widget class="QWidget" name="centralwidget">
30
   <widget class="QFrame" name="frameLogin">
曹高翔's avatar
Gui    
曹高翔 committed
31
32
    <property name="geometry">
     <rect>
Zheng Yile's avatar
Zheng Yile committed
33
34
      <x>0</x>
      <y>0</y>
35
36
      <width>540</width>
      <height>294</height>
曹高翔's avatar
Gui    
曹高翔 committed
37
38
     </rect>
    </property>
39
    <property name="frameShape">
曹高翔's avatar
曹高翔 committed
40
     <enum>QFrame::NoFrame</enum>
曹高翔's avatar
Gui    
曹高翔 committed
41
    </property>
42
43
    <property name="frameShadow">
     <enum>QFrame::Raised</enum>
曹高翔's avatar
Gui    
曹高翔 committed
44
    </property>
Zheng Yile's avatar
Zheng Yile committed
45
    <widget class="NewPushButton" name="pushButtonLoginGoReset">
46
47
     <property name="geometry">
      <rect>
48
       <x>315</x>
49
       <y>190</y>
50
51
52
53
54
55
56
57
58
59
60
       <width>120</width>
       <height>32</height>
      </rect>
     </property>
     <property name="text">
      <string>忘记密码</string>
     </property>
    </widget>
    <widget class="QCheckBox" name="checkBox">
     <property name="geometry">
      <rect>
61
62
       <x>360</x>
       <y>150</y>
63
64
65
66
67
68
69
70
71
72
73
       <width>100</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>记住密码</string>
     </property>
    </widget>
    <widget class="QLabel" name="label">
     <property name="geometry">
      <rect>
74
75
       <x>50</x>
       <y>70</y>
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
       <width>160</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>用户名/邮箱/手机</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="margin">
      <number>0</number>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
93
    <widget class="QLineEdit" name="lineEditLoginUsername">
94
95
     <property name="geometry">
      <rect>
96
97
       <x>220</x>
       <y>70</y>
98
99
100
101
102
103
104
105
106
107
108
109
110
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
    <widget class="QLabel" name="label_2">
     <property name="geometry">
      <rect>
111
112
       <x>50</x>
       <y>110</y>
113
114
115
116
117
118
119
120
121
122
123
124
125
126
       <width>160</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>密码</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
127
    <widget class="QLineEdit" name="lineEditLoginPassword">
128
129
     <property name="geometry">
      <rect>
130
131
       <x>220</x>
       <y>110</y>
132
133
134
135
136
137
138
139
140
141
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
142
    <widget class="NewPushButton" name="pushButtonLoginGoRegister">
143
144
     <property name="geometry">
      <rect>
145
       <x>105</x>
146
       <y>230</y>
147
148
149
150
151
152
153
154
       <width>330</width>
       <height>32</height>
      </rect>
     </property>
     <property name="text">
      <string>没有codia账号?点击这里注册</string>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
155
    <widget class="NewPushButton" name="pushButtonLogin">
156
157
     <property name="geometry">
      <rect>
158
       <x>105</x>
159
       <y>190</y>
160
161
162
163
164
165
166
167
       <width>120</width>
       <height>32</height>
      </rect>
     </property>
     <property name="text">
      <string>登陆</string>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
168
    <widget class="NewProgressBar" name="progressBarLogin">
曹高翔's avatar
曹高翔 committed
169
170
     <property name="geometry">
      <rect>
171
       <x>78</x>
172
       <y>240</y>
173
       <width>384</width>
174
       <height>12</height>
曹高翔's avatar
曹高翔 committed
175
176
177
      </rect>
     </property>
     <property name="value">
178
179
180
181
      <number>0</number>
     </property>
     <property name="textVisible">
      <bool>false</bool>
曹高翔's avatar
曹高翔 committed
182
183
     </property>
    </widget>
184
185
186
187
188
189
190
191
192
    <zorder>progressBarLogin</zorder>
    <zorder>pushButtonLoginGoReset</zorder>
    <zorder>checkBox</zorder>
    <zorder>label</zorder>
    <zorder>lineEditLoginUsername</zorder>
    <zorder>label_2</zorder>
    <zorder>lineEditLoginPassword</zorder>
    <zorder>pushButtonLoginGoRegister</zorder>
    <zorder>pushButtonLogin</zorder>
曹高翔's avatar
Gui    
曹高翔 committed
193
   </widget>
194
   <widget class="QFrame" name="frameRegister">
曹高翔's avatar
Gui    
曹高翔 committed
195
196
    <property name="geometry">
     <rect>
Zheng Yile's avatar
Zheng Yile committed
197
198
      <x>0</x>
      <y>0</y>
199
200
      <width>540</width>
      <height>294</height>
曹高翔's avatar
Gui    
曹高翔 committed
201
202
     </rect>
    </property>
203
    <property name="frameShape">
曹高翔's avatar
曹高翔 committed
204
     <enum>QFrame::NoFrame</enum>
曹高翔's avatar
Gui    
曹高翔 committed
205
    </property>
206
207
    <property name="frameShadow">
     <enum>QFrame::Raised</enum>
曹高翔's avatar
Gui    
曹高翔 committed
208
    </property>
209
    <widget class="QLineEdit" name="lineEditRegisterPassword">
210
211
     <property name="geometry">
      <rect>
212
213
       <x>220</x>
       <y>110</y>
214
215
216
217
218
219
220
221
222
223
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
224
    <widget class="NewPushButton" name="pushButtonRegister">
225
226
     <property name="geometry">
      <rect>
227
       <x>105</x>
228
       <y>190</y>
229
230
231
232
233
234
235
236
       <width>120</width>
       <height>32</height>
      </rect>
     </property>
     <property name="text">
      <string>注册</string>
     </property>
    </widget>
237
    <widget class="QLineEdit" name="lineEditRegisterCheckPassword">
238
239
     <property name="geometry">
      <rect>
240
241
       <x>220</x>
       <y>150</y>
242
243
244
245
246
247
248
249
250
251
252
253
254
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
    <widget class="QLabel" name="label_3">
     <property name="geometry">
      <rect>
255
256
       <x>50</x>
       <y>70</y>
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
       <width>160</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>用户名</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
    <widget class="QLabel" name="label_4">
     <property name="geometry">
      <rect>
274
275
       <x>50</x>
       <y>110</y>
276
277
278
279
280
       <width>160</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
281
      <string>设置密码</string>
282
283
284
285
286
287
288
289
290
291
292
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
    <widget class="QLabel" name="label_5">
     <property name="geometry">
      <rect>
293
294
       <x>50</x>
       <y>30</y>
295
296
297
298
299
       <width>160</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
300
      <string>绑定邮箱</string>
301
302
303
304
305
306
307
308
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
309
    <widget class="QLineEdit" name="lineEditRegisterUserphone">
310
311
     <property name="geometry">
      <rect>
312
313
       <x>220</x>
       <y>30</y>
314
315
316
317
318
319
320
321
322
323
324
325
326
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
    <widget class="QLabel" name="label_6">
     <property name="geometry">
      <rect>
327
328
       <x>50</x>
       <y>150</y>
329
330
331
332
333
334
335
336
337
338
339
340
341
342
       <width>160</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>确认密码</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
343
    <widget class="QLineEdit" name="lineEditRegisterUsername">
344
345
     <property name="geometry">
      <rect>
346
347
       <x>220</x>
       <y>70</y>
348
349
350
351
352
353
354
355
356
357
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
358
    <widget class="NewPushButton" name="pushButtonRegisterReturn">
359
360
     <property name="geometry">
      <rect>
361
       <x>315</x>
362
       <y>190</y>
曹高翔's avatar
曹高翔 committed
363
       <width>120</width>
364
365
366
367
       <height>32</height>
      </rect>
     </property>
     <property name="text">
曹高翔's avatar
曹高翔 committed
368
      <string>返回</string>
369
370
     </property>
    </widget>
曹高翔's avatar
Gui    
曹高翔 committed
371
   </widget>
372
   <widget class="QFrame" name="frameReset">
曹高翔's avatar
Gui    
曹高翔 committed
373
374
    <property name="geometry">
     <rect>
Zheng Yile's avatar
Zheng Yile committed
375
376
      <x>0</x>
      <y>0</y>
377
378
      <width>540</width>
      <height>294</height>
曹高翔's avatar
Gui    
曹高翔 committed
379
380
     </rect>
    </property>
381
    <property name="frameShape">
曹高翔's avatar
曹高翔 committed
382
     <enum>QFrame::NoFrame</enum>
曹高翔's avatar
Gui    
曹高翔 committed
383
    </property>
384
385
    <property name="frameShadow">
     <enum>QFrame::Raised</enum>
曹高翔's avatar
Gui    
曹高翔 committed
386
    </property>
Zheng Yile's avatar
Zheng Yile committed
387
    <widget class="NewPushButton" name="pushButtonReset">
388
389
     <property name="geometry">
      <rect>
390
       <x>105</x>
391
       <y>190</y>
392
393
394
395
396
397
398
399
400
401
402
       <width>120</width>
       <height>32</height>
      </rect>
     </property>
     <property name="text">
      <string>重置密码</string>
     </property>
    </widget>
    <widget class="QLabel" name="label_7">
     <property name="geometry">
      <rect>
403
404
       <x>60</x>
       <y>30</y>
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
       <width>150</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>绑定邮箱/手机</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
    <widget class="QLabel" name="label_8">
     <property name="geometry">
      <rect>
422
423
       <x>60</x>
       <y>150</y>
424
425
426
427
428
429
430
431
432
433
434
435
436
437
       <width>150</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>确认新密码</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
438
    <widget class="QLineEdit" name="lineEditResetCheckNewPassword">
439
440
     <property name="geometry">
      <rect>
441
442
       <x>220</x>
       <y>150</y>
443
444
445
446
447
448
449
450
451
452
453
454
455
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
    <widget class="QLabel" name="label_9">
     <property name="geometry">
      <rect>
456
457
       <x>60</x>
       <y>70</y>
458
459
460
461
462
463
464
465
466
467
468
469
470
471
       <width>150</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>验证码</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
472
    <widget class="QLineEdit" name="lineEditResetCheckNum">
473
474
     <property name="geometry">
      <rect>
475
476
       <x>220</x>
       <y>70</y>
477
       <width>100</width>
478
479
480
481
482
483
484
485
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
486
487
488
489
490
491
     <property name="maxLength">
      <number>6</number>
     </property>
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
492
    </widget>
493
    <widget class="QLineEdit" name="lineEditResetAccount">
494
495
     <property name="geometry">
      <rect>
496
497
       <x>220</x>
       <y>30</y>
498
499
500
501
502
503
504
505
506
507
508
509
510
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
    <widget class="QLabel" name="label_10">
     <property name="geometry">
      <rect>
511
512
       <x>60</x>
       <y>110</y>
513
514
515
516
517
518
519
520
521
522
523
524
525
526
       <width>150</width>
       <height>30</height>
      </rect>
     </property>
     <property name="text">
      <string>新密码</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
     <property name="indent">
      <number>10</number>
     </property>
    </widget>
527
    <widget class="QLineEdit" name="lineEditResetNewPassword">
528
529
     <property name="geometry">
      <rect>
530
531
       <x>220</x>
       <y>110</y>
532
533
534
535
536
537
538
539
540
541
       <width>240</width>
       <height>30</height>
      </rect>
     </property>
     <property name="font">
      <font>
       <family>Consolas</family>
      </font>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
542
    <widget class="NewPushButton" name="pushButtonResetAcquire">
543
544
     <property name="geometry">
      <rect>
Zheng Yile's avatar
Zheng Yile committed
545
       <x>340</x>
546
       <y>70</y>
Zheng Yile's avatar
Zheng Yile committed
547
548
       <width>120</width>
       <height>32</height>
549
550
551
552
553
554
      </rect>
     </property>
     <property name="text">
      <string>发送验证码</string>
     </property>
    </widget>
Zheng Yile's avatar
Zheng Yile committed
555
    <widget class="NewPushButton" name="pushButtonResetReturn">
556
557
     <property name="geometry">
      <rect>
558
       <x>315</x>
559
       <y>190</y>
560
561
562
563
564
565
566
567
       <width>120</width>
       <height>32</height>
      </rect>
     </property>
     <property name="text">
      <string>返回</string>
     </property>
    </widget>
曹高翔's avatar
Gui    
曹高翔 committed
568
   </widget>
569
570
   <zorder>frameReset</zorder>
   <zorder>frameRegister</zorder>
571
   <zorder>frameLogin</zorder>
曹高翔's avatar
Gui    
曹高翔 committed
572
573
574
575
576
577
  </widget>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
578
     <width>540</width>
579
     <height>26</height>
曹高翔's avatar
Gui    
曹高翔 committed
580
581
582
    </rect>
   </property>
   <widget class="QMenu" name="menu">
Zheng Yile's avatar
Zheng Yile committed
583
584
    <property name="geometry">
     <rect>
Zheng Yile's avatar
Zheng Yile committed
585
586
      <x>270</x>
      <y>156</y>
587
588
      <width>137</width>
      <height>78</height>
Zheng Yile's avatar
Zheng Yile committed
589
590
     </rect>
    </property>
曹高翔's avatar
Gui    
曹高翔 committed
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
    <property name="title">
     <string>帮助</string>
    </property>
    <addaction name="action_2"/>
   </widget>
   <addaction name="menu"/>
  </widget>
  <action name="actions">
   <property name="text">
    <string>s</string>
   </property>
  </action>
  <action name="action">
   <property name="text">
    <string>关于</string>
   </property>
  </action>
  <action name="actionsd">
   <property name="text">
    <string>登陆</string>
   </property>
  </action>
  <action name="action_2">
   <property name="text">
    <string>关于</string>
   </property>
  </action>
 </widget>
Zheng Yile's avatar
Zheng Yile committed
619
620
621
622
623
624
 <customwidgets>
  <customwidget>
   <class>NewPushButton</class>
   <extends>QPushButton</extends>
   <header location="global">codiaclientgui/utils</header>
  </customwidget>
Zheng Yile's avatar
Zheng Yile committed
625
626
627
628
629
  <customwidget>
   <class>NewProgressBar</class>
   <extends>QProgressBar</extends>
   <header location="global">codiaclientgui/utils</header>
  </customwidget>
Zheng Yile's avatar
Zheng Yile committed
630
 </customwidgets>
曹高翔's avatar
Gui    
曹高翔 committed
631
632
633
634
635
636
 <resources/>
 <connections/>
 <slots>
  <slot>BeginLogin()</slot>
 </slots>
</ui>