Subversion Repositories public

Rev

Rev 232 | Rev 246 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
245 andreas 1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <author>Andreas Theofilu &lt;andreas@theosys.at&gt;</author>
4
 <comment>Main window of SportWatcher</comment>
5
 <class>sportwatcherWidgetBase</class>
6
 <widget class="QWidget" name="sportwatcherWidgetBase">
7
  <property name="geometry">
8
   <rect>
9
    <x>0</x>
10
    <y>0</y>
11
    <width>839</width>
12
    <height>602</height>
13
   </rect>
14
  </property>
15
  <property name="windowTitle">
16
   <string>SportWatcher</string>
17
  </property>
18
  <property name="accessibleName">
19
   <string>sportwatcher</string>
20
  </property>
21
  <property name="locale">
22
   <locale language="English" country="UnitedStates"/>
23
  </property>
24
  <layout class="QGridLayout" name="gridLayout">
25
   <item row="0" column="0" rowspan="5">
26
    <widget class="K3ListView" name="liActivities">
27
     <property name="sizePolicy">
28
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
29
       <horstretch>0</horstretch>
30
       <verstretch>0</verstretch>
31
      </sizepolicy>
32
     </property>
33
     <property name="minimumSize">
34
      <size>
35
       <width>180</width>
36
       <height>0</height>
37
      </size>
38
     </property>
39
     <column>
40
      <property name="text">
41
       <string>Activities</string>
232 andreas 42
      </property>
245 andreas 43
      <property name="clickable">
44
       <bool>false</bool>
232 andreas 45
      </property>
245 andreas 46
      <property name="resizable">
47
       <bool>true</bool>
232 andreas 48
      </property>
245 andreas 49
     </column>
232 andreas 50
    </widget>
245 andreas 51
   </item>
52
   <item row="0" column="1" colspan="13">
53
    <widget class="K3ListView" name="liLaps">
54
     <property name="sizePolicy">
55
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
56
       <horstretch>0</horstretch>
57
       <verstretch>0</verstretch>
58
      </sizepolicy>
59
     </property>
60
     <column>
61
      <property name="text">
62
       <string>Name</string>
232 andreas 63
      </property>
245 andreas 64
      <property name="clickable">
65
       <bool>true</bool>
232 andreas 66
      </property>
245 andreas 67
      <property name="resizable">
68
       <bool>true</bool>
232 andreas 69
      </property>
245 andreas 70
     </column>
71
     <column>
72
      <property name="text">
73
       <string>Distance</string>
232 andreas 74
      </property>
245 andreas 75
      <property name="clickable">
76
       <bool>true</bool>
232 andreas 77
      </property>
245 andreas 78
      <property name="resizable">
79
       <bool>true</bool>
232 andreas 80
      </property>
245 andreas 81
     </column>
82
     <column>
83
      <property name="text">
84
       <string>Elapsed Time</string>
232 andreas 85
      </property>
245 andreas 86
      <property name="clickable">
87
       <bool>true</bool>
232 andreas 88
      </property>
245 andreas 89
      <property name="resizable">
90
       <bool>true</bool>
232 andreas 91
      </property>
245 andreas 92
     </column>
93
     <column>
94
      <property name="text">
95
       <string>Avg Pace</string>
232 andreas 96
      </property>
245 andreas 97
      <property name="clickable">
98
       <bool>true</bool>
232 andreas 99
      </property>
245 andreas 100
      <property name="resizable">
101
       <bool>true</bool>
232 andreas 102
      </property>
245 andreas 103
     </column>
104
     <column>
105
      <property name="text">
106
       <string>Avg Speed</string>
232 andreas 107
      </property>
245 andreas 108
      <property name="clickable">
109
       <bool>true</bool>
232 andreas 110
      </property>
245 andreas 111
      <property name="resizable">
112
       <bool>true</bool>
232 andreas 113
      </property>
245 andreas 114
     </column>
115
     <column>
116
      <property name="text">
117
       <string>Max Speed</string>
232 andreas 118
      </property>
245 andreas 119
      <property name="clickable">
120
       <bool>true</bool>
232 andreas 121
      </property>
245 andreas 122
      <property name="resizable">
123
       <bool>true</bool>
232 andreas 124
      </property>
245 andreas 125
     </column>
126
     <column>
127
      <property name="text">
128
       <string>Calories</string>
232 andreas 129
      </property>
245 andreas 130
      <property name="clickable">
131
       <bool>true</bool>
232 andreas 132
      </property>
245 andreas 133
      <property name="resizable">
134
       <bool>true</bool>
232 andreas 135
      </property>
245 andreas 136
     </column>
137
     <column>
138
      <property name="text">
139
       <string>Avg Heart Rate</string>
232 andreas 140
      </property>
245 andreas 141
      <property name="clickable">
142
       <bool>true</bool>
232 andreas 143
      </property>
245 andreas 144
      <property name="resizable">
145
       <bool>true</bool>
232 andreas 146
      </property>
245 andreas 147
     </column>
148
     <column>
149
      <property name="text">
150
       <string>Max Heart Rate</string>
232 andreas 151
      </property>
245 andreas 152
      <property name="clickable">
153
       <bool>true</bool>
232 andreas 154
      </property>
245 andreas 155
      <property name="resizable">
156
       <bool>true</bool>
232 andreas 157
      </property>
245 andreas 158
     </column>
159
     <column>
160
      <property name="text">
161
       <string>Avg Cadence</string>
232 andreas 162
      </property>
245 andreas 163
      <property name="clickable">
164
       <bool>true</bool>
232 andreas 165
      </property>
245 andreas 166
      <property name="resizable">
167
       <bool>true</bool>
232 andreas 168
      </property>
245 andreas 169
     </column>
170
     <column>
171
      <property name="text">
172
       <string>Ascent</string>
232 andreas 173
      </property>
245 andreas 174
      <property name="clickable">
175
       <bool>true</bool>
232 andreas 176
      </property>
245 andreas 177
      <property name="resizable">
178
       <bool>true</bool>
232 andreas 179
      </property>
245 andreas 180
     </column>
181
     <column>
182
      <property name="text">
183
       <string>Descent</string>
232 andreas 184
      </property>
245 andreas 185
      <property name="clickable">
186
       <bool>true</bool>
232 andreas 187
      </property>
245 andreas 188
      <property name="resizable">
189
       <bool>true</bool>
232 andreas 190
      </property>
245 andreas 191
     </column>
192
    </widget>
193
   </item>
194
   <item row="1" column="1">
195
    <spacer name="spacer5">
196
     <property name="orientation">
197
      <enum>Qt::Horizontal</enum>
198
     </property>
199
     <property name="sizeType">
200
      <enum>QSizePolicy::Expanding</enum>
201
     </property>
202
     <property name="sizeHint" stdset="0">
203
      <size>
204
       <width>58</width>
205
       <height>22</height>
206
      </size>
207
     </property>
208
    </spacer>
209
   </item>
210
   <item row="1" column="2">
211
    <widget class="KPushButton" name="btHand">
212
     <property name="sizePolicy">
213
      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
214
       <horstretch>0</horstretch>
215
       <verstretch>0</verstretch>
216
      </sizepolicy>
217
     </property>
218
     <property name="text">
219
      <string/>
220
     </property>
221
    </widget>
222
   </item>
223
   <item row="1" column="3">
224
    <widget class="KPushButton" name="btGlas">
225
     <property name="sizePolicy">
226
      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
227
       <horstretch>0</horstretch>
228
       <verstretch>0</verstretch>
229
      </sizepolicy>
230
     </property>
231
     <property name="text">
232
      <string/>
233
     </property>
234
    </widget>
235
   </item>
236
   <item row="1" column="4" colspan="2">
237
    <widget class="KPushButton" name="btFlag">
238
     <property name="sizePolicy">
239
      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
240
       <horstretch>0</horstretch>
241
       <verstretch>0</verstretch>
242
      </sizepolicy>
243
     </property>
244
     <property name="text">
245
      <string/>
246
     </property>
247
    </widget>
248
   </item>
249
   <item row="1" column="6">
250
    <spacer name="spacer6">
251
     <property name="orientation">
252
      <enum>Qt::Horizontal</enum>
253
     </property>
254
     <property name="sizeType">
255
      <enum>QSizePolicy::Expanding</enum>
256
     </property>
257
     <property name="sizeHint" stdset="0">
258
      <size>
259
       <width>57</width>
260
       <height>22</height>
261
      </size>
262
     </property>
263
    </spacer>
264
   </item>
265
   <item row="1" column="7">
266
    <widget class="KPushButton" name="btGlasPlus">
267
     <property name="sizePolicy">
268
      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
269
       <horstretch>0</horstretch>
270
       <verstretch>0</verstretch>
271
      </sizepolicy>
272
     </property>
273
     <property name="text">
274
      <string/>
275
     </property>
276
    </widget>
277
   </item>
278
   <item row="1" column="8">
279
    <spacer name="spacer8">
280
     <property name="orientation">
281
      <enum>Qt::Horizontal</enum>
282
     </property>
283
     <property name="sizeType">
284
      <enum>QSizePolicy::Expanding</enum>
285
     </property>
286
     <property name="sizeHint" stdset="0">
287
      <size>
288
       <width>58</width>
289
       <height>22</height>
290
      </size>
291
     </property>
292
    </spacer>
293
   </item>
294
   <item row="1" column="9">
295
    <widget class="KPushButton" name="btGlasMinus">
296
     <property name="sizePolicy">
297
      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
298
       <horstretch>0</horstretch>
299
       <verstretch>0</verstretch>
300
      </sizepolicy>
301
     </property>
302
     <property name="text">
303
      <string/>
304
     </property>
305
    </widget>
306
   </item>
307
   <item row="1" column="10">
308
    <spacer name="spacer9">
309
     <property name="orientation">
310
      <enum>Qt::Horizontal</enum>
311
     </property>
312
     <property name="sizeType">
313
      <enum>QSizePolicy::Expanding</enum>
314
     </property>
315
     <property name="sizeHint" stdset="0">
316
      <size>
317
       <width>57</width>
318
       <height>22</height>
319
      </size>
320
     </property>
321
    </spacer>
322
   </item>
323
   <item row="1" column="11">
324
    <widget class="KPushButton" name="btFullscreen">
325
     <property name="sizePolicy">
326
      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
327
       <horstretch>0</horstretch>
328
       <verstretch>0</verstretch>
329
      </sizepolicy>
330
     </property>
331
     <property name="text">
332
      <string/>
333
     </property>
334
    </widget>
335
   </item>
336
   <item row="1" column="12" colspan="2">
337
    <spacer name="spacer7">
338
     <property name="orientation">
339
      <enum>Qt::Horizontal</enum>
340
     </property>
341
     <property name="sizeType">
342
      <enum>QSizePolicy::Expanding</enum>
343
     </property>
344
     <property name="sizeHint" stdset="0">
345
      <size>
346
       <width>114</width>
347
       <height>22</height>
348
      </size>
349
     </property>
350
    </spacer>
351
   </item>
352
   <item row="2" column="1" colspan="13">
353
    <widget class="QLabel" name="imgMap">
354
     <property name="minimumSize">
355
      <size>
356
       <width>100</width>
357
       <height>150</height>
358
      </size>
359
     </property>
360
     <property name="frameShape">
361
      <enum>QFrame::StyledPanel</enum>
362
     </property>
363
     <property name="frameShadow">
364
      <enum>QFrame::Sunken</enum>
365
     </property>
366
     <property name="scaledContents">
367
      <bool>true</bool>
368
     </property>
369
     <property name="wordWrap">
370
      <bool>false</bool>
371
     </property>
372
    </widget>
373
   </item>
374
   <item row="3" column="1" colspan="4">
375
    <spacer name="spacer6_2">
376
     <property name="orientation">
377
      <enum>Qt::Horizontal</enum>
378
     </property>
379
     <property name="sizeType">
380
      <enum>QSizePolicy::Expanding</enum>
381
     </property>
382
     <property name="sizeHint" stdset="0">
383
      <size>
384
       <width>40</width>
385
       <height>20</height>
386
      </size>
387
     </property>
388
    </spacer>
389
   </item>
390
   <item row="3" column="5" colspan="8">
391
    <widget class="KComboBox" name="kcbCurveTypes">
392
     <item>
393
      <property name="text">
394
       <string>Altitude &amp; heart rate</string>
232 andreas 395
      </property>
245 andreas 396
     </item>
397
     <item>
398
      <property name="text">
399
       <string>Speed &amp; heart rate</string>
232 andreas 400
      </property>
245 andreas 401
     </item>
402
     <item>
403
      <property name="text">
404
       <string>Altitude &amp; speed</string>
232 andreas 405
      </property>
245 andreas 406
     </item>
407
    </widget>
408
   </item>
409
   <item row="3" column="13">
410
    <spacer name="spacer7_2">
411
     <property name="orientation">
412
      <enum>Qt::Horizontal</enum>
413
     </property>
414
     <property name="sizeType">
415
      <enum>QSizePolicy::Expanding</enum>
416
     </property>
417
     <property name="sizeHint" stdset="0">
418
      <size>
419
       <width>108</width>
420
       <height>17</height>
421
      </size>
422
     </property>
423
    </spacer>
424
   </item>
425
   <item row="4" column="1" colspan="13">
426
    <widget class="QLabel" name="imgProfile">
427
     <property name="minimumSize">
428
      <size>
429
       <width>100</width>
430
       <height>150</height>
431
      </size>
432
     </property>
433
     <property name="frameShape">
434
      <enum>QFrame::StyledPanel</enum>
435
     </property>
436
     <property name="frameShadow">
437
      <enum>QFrame::Sunken</enum>
438
     </property>
439
     <property name="scaledContents">
440
      <bool>true</bool>
441
     </property>
442
     <property name="wordWrap">
443
      <bool>false</bool>
444
     </property>
445
    </widget>
446
   </item>
447
  </layout>
448
 </widget>
449
 <layoutdefault spacing="6" margin="11"/>
450
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
451
 <customwidgets>
452
  <customwidget>
453
   <class>KComboBox</class>
454
   <extends>QComboBox</extends>
455
   <header>kcombobox.h</header>
456
  </customwidget>
457
  <customwidget>
458
   <class>KPushButton</class>
459
   <extends>QPushButton</extends>
460
   <header>kpushbutton.h</header>
461
  </customwidget>
462
  <customwidget>
463
   <class>Q3Frame</class>
464
   <extends>QFrame</extends>
465
   <header>Qt3Support/Q3Frame</header>
466
   <container>1</container>
467
  </customwidget>
468
  <customwidget>
469
   <class>Q3ListView</class>
470
   <extends>Q3Frame</extends>
471
   <header>q3listview.h</header>
472
  </customwidget>
473
  <customwidget>
474
   <class>K3ListView</class>
475
   <extends>Q3ListView</extends>
476
   <header>k3listview.h</header>
477
  </customwidget>
478
 </customwidgets>
479
 <tabstops>
480
  <tabstop>liActivities</tabstop>
481
  <tabstop>liLaps</tabstop>
482
  <tabstop>btHand</tabstop>
483
  <tabstop>btGlas</tabstop>
484
  <tabstop>btFlag</tabstop>
485
  <tabstop>btGlasPlus</tabstop>
486
  <tabstop>btGlasMinus</tabstop>
487
  <tabstop>btFullscreen</tabstop>
488
  <tabstop>kcbCurveTypes</tabstop>
489
 </tabstops>
490
 <includes>
491
  <include location="local">K3ListView</include>
492
  <include location="local">kcombobox.h</include>
493
 </includes>
494
 <resources/>
495
 <connections>
496
  <connection>
497
   <sender>liActivities</sender>
498
   <signal>clicked(Q3ListViewItem*)</signal>
499
   <receiver>sportwatcherWidgetBase</receiver>
500
   <slot>liActivitiesSlot(Q3ListViewItem*)</slot>
501
   <hints>
502
    <hint type="sourcelabel">
503
     <x>38</x>
504
     <y>102</y>
505
    </hint>
506
    <hint type="destinationlabel">
507
     <x>20</x>
508
     <y>20</y>
509
    </hint>
510
   </hints>
511
  </connection>
512
  <connection>
513
   <sender>liLaps</sender>
514
   <signal>clicked(Q3ListViewItem*)</signal>
515
   <receiver>sportwatcherWidgetBase</receiver>
516
   <slot>liLapsSlot(Q3ListViewItem*)</slot>
517
   <hints>
518
    <hint type="sourcelabel">
519
     <x>224</x>
520
     <y>102</y>
521
    </hint>
522
    <hint type="destinationlabel">
523
     <x>20</x>
524
     <y>20</y>
525
    </hint>
526
   </hints>
527
  </connection>
528
  <connection>
529
   <sender>btHand</sender>
530
   <signal>clicked()</signal>
531
   <receiver>sportwatcherWidgetBase</receiver>
532
   <slot>btHandSlot()</slot>
533
   <hints>
534
    <hint type="sourcelabel">
535
     <x>298</x>
536
     <y>223</y>
537
    </hint>
538
    <hint type="destinationlabel">
539
     <x>20</x>
540
     <y>20</y>
541
    </hint>
542
   </hints>
543
  </connection>
544
  <connection>
545
   <sender>btFlag</sender>
546
   <signal>clicked()</signal>
547
   <receiver>sportwatcherWidgetBase</receiver>
548
   <slot>btFlagSlot()</slot>
549
   <hints>
550
    <hint type="sourcelabel">
551
     <x>382</x>
552
     <y>223</y>
553
    </hint>
554
    <hint type="destinationlabel">
555
     <x>20</x>
556
     <y>20</y>
557
    </hint>
558
   </hints>
559
  </connection>
560
  <connection>
561
   <sender>btFullscreen</sender>
562
   <signal>clicked()</signal>
563
   <receiver>sportwatcherWidgetBase</receiver>
564
   <slot>btFullscreenSlot()</slot>
565
   <hints>
566
    <hint type="sourcelabel">
567
     <x>731</x>
568
     <y>223</y>
569
    </hint>
570
    <hint type="destinationlabel">
571
     <x>20</x>
572
     <y>20</y>
573
    </hint>
574
   </hints>
575
  </connection>
576
  <connection>
577
   <sender>btGlas</sender>
578
   <signal>clicked()</signal>
579
   <receiver>sportwatcherWidgetBase</receiver>
580
   <slot>btGlasSlot()</slot>
581
   <hints>
582
    <hint type="sourcelabel">
583
     <x>340</x>
584
     <y>223</y>
585
    </hint>
586
    <hint type="destinationlabel">
587
     <x>20</x>
588
     <y>20</y>
589
    </hint>
590
   </hints>
591
  </connection>
592
  <connection>
593
   <sender>btGlasMinus</sender>
594
   <signal>clicked()</signal>
595
   <receiver>sportwatcherWidgetBase</receiver>
596
   <slot>btGlasMinusSlot()</slot>
597
   <hints>
598
    <hint type="sourcelabel">
599
     <x>615</x>
600
     <y>223</y>
601
    </hint>
602
    <hint type="destinationlabel">
603
     <x>20</x>
604
     <y>20</y>
605
    </hint>
606
   </hints>
607
  </connection>
608
  <connection>
609
   <sender>btGlasPlus</sender>
610
   <signal>clicked()</signal>
611
   <receiver>sportwatcherWidgetBase</receiver>
612
   <slot>btGlasPlusSlot()</slot>
613
   <hints>
614
    <hint type="sourcelabel">
615
     <x>498</x>
616
     <y>223</y>
617
    </hint>
618
    <hint type="destinationlabel">
619
     <x>20</x>
620
     <y>20</y>
621
    </hint>
622
   </hints>
623
  </connection>
624
  <connection>
625
   <sender>kcbCurveTypes</sender>
626
   <signal>currentIndexChanged(int)</signal>
627
   <receiver>sportwatcherWidgetBase</receiver>
628
   <slot>kcbCurveSlot(int)</slot>
629
   <hints>
630
    <hint type="sourcelabel">
631
     <x>482</x>
632
     <y>400</y>
633
    </hint>
634
    <hint type="destinationlabel">
635
     <x>838</x>
636
     <y>403</y>
637
    </hint>
638
   </hints>
639
  </connection>
640
 </connections>
641
 <slots>
642
  <slot>kcbCurveSlot(int)</slot>
643
 </slots>
232 andreas 644
</ui>