Subversion Repositories public

Rev

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