Subversion Repositories ExamClock

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 ron.wellst 1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>MainWindow</class>
4
 <widget class="QMainWindow" name="MainWindow">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>562</width>
4 ron.wellst 10
    <height>454</height>
3 ron.wellst 11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>MainWindow</string>
15
  </property>
16
  <widget class="QWidget" name="centralWidget">
17
   <widget class="QLCDNumber" name="lcdNow">
18
    <property name="geometry">
19
     <rect>
20
      <x>10</x>
21
      <y>30</y>
22
      <width>251</width>
23
      <height>91</height>
24
     </rect>
25
    </property>
26
    <property name="numDigits">
27
     <number>8</number>
28
    </property>
4 ron.wellst 29
    <property name="segmentStyle">
30
     <enum>QLCDNumber::Flat</enum>
31
    </property>
3 ron.wellst 32
   </widget>
33
   <widget class="QLabel" name="label">
34
    <property name="geometry">
35
     <rect>
36
      <x>10</x>
37
      <y>10</y>
38
      <width>251</width>
39
      <height>20</height>
40
     </rect>
41
    </property>
42
    <property name="font">
43
     <font>
44
      <pointsize>14</pointsize>
45
     </font>
46
    </property>
47
    <property name="text">
48
     <string>Time Now</string>
49
    </property>
50
    <property name="alignment">
51
     <set>Qt::AlignCenter</set>
52
    </property>
53
   </widget>
54
   <widget class="QPushButton" name="pushStart">
55
    <property name="geometry">
56
     <rect>
57
      <x>10</x>
58
      <y>120</y>
59
      <width>251</width>
4 ron.wellst 60
      <height>41</height>
3 ron.wellst 61
     </rect>
62
    </property>
63
    <property name="font">
64
     <font>
65
      <pointsize>12</pointsize>
66
      <weight>75</weight>
67
      <bold>true</bold>
68
     </font>
69
    </property>
70
    <property name="text">
71
     <string>Start</string>
72
    </property>
73
    <property name="icon">
74
     <iconset>
75
      <normaloff>icons/clock.ico</normaloff>icons/clock.ico</iconset>
76
    </property>
77
   </widget>
78
   <widget class="QLCDNumber" name="lcdFoundation">
79
    <property name="geometry">
80
     <rect>
81
      <x>300</x>
82
      <y>30</y>
83
      <width>251</width>
84
      <height>91</height>
85
     </rect>
86
    </property>
4 ron.wellst 87
    <property name="autoFillBackground">
88
     <bool>true</bool>
89
    </property>
3 ron.wellst 90
    <property name="numDigits">
91
     <number>8</number>
92
    </property>
4 ron.wellst 93
    <property name="segmentStyle">
94
     <enum>QLCDNumber::Flat</enum>
95
    </property>
3 ron.wellst 96
   </widget>
97
   <widget class="QLCDNumber" name="lcdIntermediate">
98
    <property name="geometry">
99
     <rect>
100
      <x>300</x>
4 ron.wellst 101
      <y>190</y>
3 ron.wellst 102
      <width>251</width>
103
      <height>91</height>
104
     </rect>
105
    </property>
4 ron.wellst 106
    <property name="autoFillBackground">
107
     <bool>true</bool>
108
    </property>
3 ron.wellst 109
    <property name="numDigits">
110
     <number>8</number>
111
    </property>
4 ron.wellst 112
    <property name="segmentStyle">
113
     <enum>QLCDNumber::Flat</enum>
114
    </property>
3 ron.wellst 115
   </widget>
4 ron.wellst 116
   <widget class="QLabel" name="labelAdvanced">
3 ron.wellst 117
    <property name="geometry">
118
     <rect>
119
      <x>300</x>
4 ron.wellst 120
      <y>310</y>
3 ron.wellst 121
      <width>251</width>
122
      <height>20</height>
123
     </rect>
124
    </property>
125
    <property name="font">
126
     <font>
127
      <pointsize>14</pointsize>
128
     </font>
129
    </property>
130
    <property name="text">
131
     <string>Advanced Time Remaining</string>
132
    </property>
133
    <property name="alignment">
134
     <set>Qt::AlignCenter</set>
135
    </property>
136
   </widget>
4 ron.wellst 137
   <widget class="QLabel" name="labelFoundation">
3 ron.wellst 138
    <property name="geometry">
139
     <rect>
140
      <x>300</x>
141
      <y>10</y>
142
      <width>251</width>
143
      <height>20</height>
144
     </rect>
145
    </property>
146
    <property name="font">
147
     <font>
148
      <pointsize>14</pointsize>
149
     </font>
150
    </property>
151
    <property name="text">
152
     <string>Foundation Time Remaining</string>
153
    </property>
154
    <property name="alignment">
155
     <set>Qt::AlignCenter</set>
156
    </property>
4 ron.wellst 157
    <property name="buddy">
158
     <cstring>labelFoundation</cstring>
159
    </property>
3 ron.wellst 160
   </widget>
4 ron.wellst 161
   <widget class="QLabel" name="labelIntermediate">
3 ron.wellst 162
    <property name="geometry">
163
     <rect>
164
      <x>300</x>
4 ron.wellst 165
      <y>170</y>
3 ron.wellst 166
      <width>251</width>
167
      <height>20</height>
168
     </rect>
169
    </property>
170
    <property name="font">
171
     <font>
172
      <pointsize>14</pointsize>
173
     </font>
174
    </property>
175
    <property name="text">
176
     <string>Intermediate Time Remaining</string>
177
    </property>
178
    <property name="alignment">
179
     <set>Qt::AlignCenter</set>
180
    </property>
181
   </widget>
182
   <widget class="QLCDNumber" name="lcdAdvanced">
183
    <property name="geometry">
184
     <rect>
185
      <x>300</x>
4 ron.wellst 186
      <y>330</y>
3 ron.wellst 187
      <width>251</width>
188
      <height>91</height>
189
     </rect>
190
    </property>
4 ron.wellst 191
    <property name="autoFillBackground">
192
     <bool>true</bool>
193
    </property>
3 ron.wellst 194
    <property name="numDigits">
195
     <number>8</number>
196
    </property>
4 ron.wellst 197
    <property name="segmentStyle">
198
     <enum>QLCDNumber::Flat</enum>
199
    </property>
3 ron.wellst 200
   </widget>
4 ron.wellst 201
   <widget class="QLabel" name="label_2">
202
    <property name="geometry">
203
     <rect>
204
      <x>10</x>
205
      <y>310</y>
206
      <width>251</width>
207
      <height>31</height>
208
     </rect>
209
    </property>
210
    <property name="palette">
211
     <palette>
212
      <active>
213
       <colorrole role="Base">
214
        <brush brushstyle="SolidPattern">
215
         <color alpha="255">
216
          <red>255</red>
217
          <green>255</green>
218
          <blue>255</blue>
219
         </color>
220
        </brush>
221
       </colorrole>
222
       <colorrole role="Window">
223
        <brush brushstyle="SolidPattern">
224
         <color alpha="255">
225
          <red>255</red>
226
          <green>255</green>
227
          <blue>0</blue>
228
         </color>
229
        </brush>
230
       </colorrole>
231
      </active>
232
      <inactive>
233
       <colorrole role="Base">
234
        <brush brushstyle="SolidPattern">
235
         <color alpha="255">
236
          <red>255</red>
237
          <green>255</green>
238
          <blue>255</blue>
239
         </color>
240
        </brush>
241
       </colorrole>
242
       <colorrole role="Window">
243
        <brush brushstyle="SolidPattern">
244
         <color alpha="255">
245
          <red>255</red>
246
          <green>255</green>
247
          <blue>0</blue>
248
         </color>
249
        </brush>
250
       </colorrole>
251
      </inactive>
252
      <disabled>
253
       <colorrole role="Base">
254
        <brush brushstyle="SolidPattern">
255
         <color alpha="255">
256
          <red>255</red>
257
          <green>255</green>
258
          <blue>0</blue>
259
         </color>
260
        </brush>
261
       </colorrole>
262
       <colorrole role="Window">
263
        <brush brushstyle="SolidPattern">
264
         <color alpha="255">
265
          <red>255</red>
266
          <green>255</green>
267
          <blue>0</blue>
268
         </color>
269
        </brush>
270
       </colorrole>
271
      </disabled>
272
     </palette>
273
    </property>
274
    <property name="font">
275
     <font>
276
      <pointsize>14</pointsize>
277
      <weight>75</weight>
278
      <bold>true</bold>
279
     </font>
280
    </property>
281
    <property name="autoFillBackground">
282
     <bool>true</bool>
283
    </property>
284
    <property name="text">
285
     <string>More than Halfway</string>
286
    </property>
287
    <property name="scaledContents">
288
     <bool>true</bool>
289
    </property>
290
    <property name="alignment">
291
     <set>Qt::AlignCenter</set>
292
    </property>
293
   </widget>
294
   <widget class="QLabel" name="label_3">
295
    <property name="geometry">
296
     <rect>
297
      <x>10</x>
298
      <y>350</y>
299
      <width>251</width>
300
      <height>31</height>
301
     </rect>
302
    </property>
303
    <property name="palette">
304
     <palette>
305
      <active>
306
       <colorrole role="Base">
307
        <brush brushstyle="SolidPattern">
308
         <color alpha="255">
309
          <red>255</red>
310
          <green>255</green>
311
          <blue>255</blue>
312
         </color>
313
        </brush>
314
       </colorrole>
315
       <colorrole role="Window">
316
        <brush brushstyle="SolidPattern">
317
         <color alpha="255">
318
          <red>255</red>
319
          <green>170</green>
320
          <blue>0</blue>
321
         </color>
322
        </brush>
323
       </colorrole>
324
      </active>
325
      <inactive>
326
       <colorrole role="Base">
327
        <brush brushstyle="SolidPattern">
328
         <color alpha="255">
329
          <red>255</red>
330
          <green>255</green>
331
          <blue>255</blue>
332
         </color>
333
        </brush>
334
       </colorrole>
335
       <colorrole role="Window">
336
        <brush brushstyle="SolidPattern">
337
         <color alpha="255">
338
          <red>255</red>
339
          <green>170</green>
340
          <blue>0</blue>
341
         </color>
342
        </brush>
343
       </colorrole>
344
      </inactive>
345
      <disabled>
346
       <colorrole role="Base">
347
        <brush brushstyle="SolidPattern">
348
         <color alpha="255">
349
          <red>255</red>
350
          <green>170</green>
351
          <blue>0</blue>
352
         </color>
353
        </brush>
354
       </colorrole>
355
       <colorrole role="Window">
356
        <brush brushstyle="SolidPattern">
357
         <color alpha="255">
358
          <red>255</red>
359
          <green>170</green>
360
          <blue>0</blue>
361
         </color>
362
        </brush>
363
       </colorrole>
364
      </disabled>
365
     </palette>
366
    </property>
367
    <property name="font">
368
     <font>
369
      <pointsize>14</pointsize>
370
      <weight>75</weight>
371
      <bold>true</bold>
372
     </font>
373
    </property>
374
    <property name="autoFillBackground">
375
     <bool>true</bool>
376
    </property>
377
    <property name="text">
378
     <string>Less than 10 Minutes</string>
379
    </property>
380
    <property name="scaledContents">
381
     <bool>true</bool>
382
    </property>
383
    <property name="alignment">
384
     <set>Qt::AlignCenter</set>
385
    </property>
386
   </widget>
387
   <widget class="QLabel" name="label_4">
388
    <property name="geometry">
389
     <rect>
390
      <x>10</x>
391
      <y>390</y>
392
      <width>251</width>
393
      <height>31</height>
394
     </rect>
395
    </property>
396
    <property name="palette">
397
     <palette>
398
      <active>
399
       <colorrole role="Base">
400
        <brush brushstyle="SolidPattern">
401
         <color alpha="255">
402
          <red>255</red>
403
          <green>255</green>
404
          <blue>255</blue>
405
         </color>
406
        </brush>
407
       </colorrole>
408
       <colorrole role="Window">
409
        <brush brushstyle="SolidPattern">
410
         <color alpha="255">
411
          <red>255</red>
412
          <green>0</green>
413
          <blue>0</blue>
414
         </color>
415
        </brush>
416
       </colorrole>
417
      </active>
418
      <inactive>
419
       <colorrole role="Base">
420
        <brush brushstyle="SolidPattern">
421
         <color alpha="255">
422
          <red>255</red>
423
          <green>255</green>
424
          <blue>255</blue>
425
         </color>
426
        </brush>
427
       </colorrole>
428
       <colorrole role="Window">
429
        <brush brushstyle="SolidPattern">
430
         <color alpha="255">
431
          <red>255</red>
432
          <green>0</green>
433
          <blue>0</blue>
434
         </color>
435
        </brush>
436
       </colorrole>
437
      </inactive>
438
      <disabled>
439
       <colorrole role="Base">
440
        <brush brushstyle="SolidPattern">
441
         <color alpha="255">
442
          <red>255</red>
443
          <green>0</green>
444
          <blue>0</blue>
445
         </color>
446
        </brush>
447
       </colorrole>
448
       <colorrole role="Window">
449
        <brush brushstyle="SolidPattern">
450
         <color alpha="255">
451
          <red>255</red>
452
          <green>0</green>
453
          <blue>0</blue>
454
         </color>
455
        </brush>
456
       </colorrole>
457
      </disabled>
458
     </palette>
459
    </property>
460
    <property name="font">
461
     <font>
462
      <pointsize>14</pointsize>
463
      <weight>75</weight>
464
      <bold>true</bold>
465
     </font>
466
    </property>
467
    <property name="autoFillBackground">
468
     <bool>true</bool>
469
    </property>
470
    <property name="text">
471
     <string>Times Up!</string>
472
    </property>
473
    <property name="scaledContents">
474
     <bool>true</bool>
475
    </property>
476
    <property name="alignment">
477
     <set>Qt::AlignCenter</set>
478
    </property>
479
   </widget>
480
   <widget class="QLCDNumber" name="lcdElapsed">
481
    <property name="geometry">
482
     <rect>
483
      <x>10</x>
484
      <y>190</y>
485
      <width>251</width>
486
      <height>91</height>
487
     </rect>
488
    </property>
489
    <property name="numDigits">
490
     <number>8</number>
491
    </property>
492
    <property name="segmentStyle">
493
     <enum>QLCDNumber::Flat</enum>
494
    </property>
495
   </widget>
496
   <widget class="QLabel" name="label_5">
497
    <property name="geometry">
498
     <rect>
499
      <x>10</x>
500
      <y>170</y>
501
      <width>251</width>
502
      <height>20</height>
503
     </rect>
504
    </property>
505
    <property name="font">
506
     <font>
507
      <pointsize>14</pointsize>
508
     </font>
509
    </property>
510
    <property name="text">
511
     <string>Elapsed Time</string>
512
    </property>
513
    <property name="alignment">
514
     <set>Qt::AlignCenter</set>
515
    </property>
516
   </widget>
3 ron.wellst 517
  </widget>
518
  <widget class="QMenuBar" name="menuBar">
519
   <property name="geometry">
520
    <rect>
521
     <x>0</x>
522
     <y>0</y>
523
     <width>562</width>
524
     <height>21</height>
525
    </rect>
526
   </property>
527
   <widget class="QMenu" name="menuFile">
528
    <property name="title">
529
     <string>File</string>
530
    </property>
531
    <addaction name="actionExit"/>
532
   </widget>
533
   <widget class="QMenu" name="menuHelp">
534
    <property name="title">
535
     <string>Help</string>
536
    </property>
537
    <addaction name="actionAbout"/>
538
   </widget>
539
   <widget class="QMenu" name="menuClocks">
540
    <property name="title">
541
     <string>Exams</string>
542
    </property>
543
    <addaction name="actionFoundation"/>
544
    <addaction name="actionIntermediate"/>
545
    <addaction name="actionAdvanced"/>
546
   </widget>
547
   <addaction name="menuFile"/>
548
   <addaction name="menuClocks"/>
549
   <addaction name="menuHelp"/>
550
  </widget>
551
  <action name="actionExit">
552
   <property name="text">
553
    <string>Exit</string>
554
   </property>
555
  </action>
556
  <action name="actionAbout">
557
   <property name="text">
558
    <string>About</string>
559
   </property>
560
  </action>
561
  <action name="actionFoundation">
562
   <property name="checkable">
563
    <bool>true</bool>
564
   </property>
4 ron.wellst 565
   <property name="checked">
566
    <bool>true</bool>
567
   </property>
3 ron.wellst 568
   <property name="text">
569
    <string>Foundation</string>
570
   </property>
571
  </action>
572
  <action name="actionIntermediate">
573
   <property name="checkable">
574
    <bool>true</bool>
575
   </property>
4 ron.wellst 576
   <property name="checked">
577
    <bool>true</bool>
578
   </property>
3 ron.wellst 579
   <property name="text">
580
    <string>Intermediate</string>
581
   </property>
582
  </action>
583
  <action name="actionAdvanced">
584
   <property name="checkable">
585
    <bool>true</bool>
586
   </property>
4 ron.wellst 587
   <property name="checked">
588
    <bool>true</bool>
589
   </property>
3 ron.wellst 590
   <property name="text">
591
    <string>Advanced</string>
592
   </property>
593
  </action>
594
 </widget>
595
 <resources/>
596
 <connections>
597
  <connection>
598
   <sender>actionExit</sender>
599
   <signal>triggered()</signal>
600
   <receiver>MainWindow</receiver>
601
   <slot>close()</slot>
602
   <hints>
603
    <hint type="sourcelabel">
604
     <x>-1</x>
605
     <y>-1</y>
606
    </hint>
607
    <hint type="destinationlabel">
608
     <x>467</x>
609
     <y>223</y>
610
    </hint>
611
   </hints>
612
  </connection>
613
  <connection>
614
   <sender>actionAbout</sender>
615
   <signal>triggered()</signal>
616
   <receiver>MainWindow</receiver>
617
   <slot>slotHelpAbout()</slot>
618
   <hints>
619
    <hint type="sourcelabel">
620
     <x>-1</x>
621
     <y>-1</y>
622
    </hint>
623
    <hint type="destinationlabel">
624
     <x>467</x>
625
     <y>223</y>
626
    </hint>
627
   </hints>
628
  </connection>
629
  <connection>
630
   <sender>pushStart</sender>
631
   <signal>clicked()</signal>
632
   <receiver>MainWindow</receiver>
633
   <slot>slotStart()</slot>
634
   <hints>
635
    <hint type="sourcelabel">
636
     <x>135</x>
637
     <y>166</y>
638
    </hint>
639
    <hint type="destinationlabel">
640
     <x>280</x>
641
     <y>223</y>
642
    </hint>
643
   </hints>
644
  </connection>
645
  <connection>
646
   <sender>actionFoundation</sender>
4 ron.wellst 647
   <signal>changed()</signal>
3 ron.wellst 648
   <receiver>MainWindow</receiver>
649
   <slot>slotFoundation()</slot>
650
   <hints>
651
    <hint type="sourcelabel">
652
     <x>-1</x>
653
     <y>-1</y>
654
    </hint>
655
    <hint type="destinationlabel">
656
     <x>280</x>
657
     <y>223</y>
658
    </hint>
659
   </hints>
660
  </connection>
661
  <connection>
662
   <sender>actionIntermediate</sender>
4 ron.wellst 663
   <signal>changed()</signal>
3 ron.wellst 664
   <receiver>MainWindow</receiver>
665
   <slot>slotIntermediate()</slot>
666
   <hints>
667
    <hint type="sourcelabel">
668
     <x>-1</x>
669
     <y>-1</y>
670
    </hint>
671
    <hint type="destinationlabel">
672
     <x>280</x>
673
     <y>223</y>
674
    </hint>
675
   </hints>
676
  </connection>
677
  <connection>
678
   <sender>actionAdvanced</sender>
4 ron.wellst 679
   <signal>changed()</signal>
3 ron.wellst 680
   <receiver>MainWindow</receiver>
681
   <slot>slotAdvanced()</slot>
682
   <hints>
683
    <hint type="sourcelabel">
684
     <x>-1</x>
685
     <y>-1</y>
686
    </hint>
687
    <hint type="destinationlabel">
688
     <x>280</x>
689
     <y>223</y>
690
    </hint>
691
   </hints>
692
  </connection>
693
 </connections>
694
 <slots>
695
  <slot>slotHelpAbout()</slot>
696
  <slot>slotStart()</slot>
697
  <slot>slotFoundation()</slot>
698
  <slot>slotIntermediate()</slot>
699
  <slot>slotAdvanced()</slot>
700
 </slots>
701
</ui>