Subversion Repositories public

Rev

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

Rev Author Line No. Line
88 andreas 1
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2
<class>settingsWidgetBase</class>
3
<comment>Settings for SportWatcher</comment>
4
<author>Andreas Theofilu &lt;andreas@theosys.at&gt;</author>
5
<widget class="QDialog">
6
    <property name="name">
7
        <cstring>Settings</cstring>
8
    </property>
9
    <property name="geometry">
10
        <rect>
11
            <x>0</x>
12
            <y>0</y>
13
            <width>510</width>
158 andreas 14
            <height>559</height>
88 andreas 15
        </rect>
16
    </property>
17
    <property name="caption">
18
        <string>Settings</string>
19
    </property>
20
    <property name="icon">
21
        <pixmap>image0</pixmap>
22
    </property>
23
    <grid>
24
        <property name="name">
25
            <cstring>unnamed</cstring>
26
        </property>
27
        <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="5">
28
            <property name="name">
29
                <cstring>groupBox2</cstring>
30
            </property>
31
            <property name="title">
32
                <string>Other limits</string>
33
            </property>
34
            <grid>
35
                <property name="name">
36
                    <cstring>unnamed</cstring>
37
                </property>
38
                <widget class="QLabel" row="0" column="2">
39
                    <property name="name">
40
                        <cstring>textLabel5</cstring>
41
                    </property>
42
                    <property name="text">
158 andreas 43
                        <string>Weight (Kg)</string>
88 andreas 44
                    </property>
45
                </widget>
46
                <widget class="QLabel" row="0" column="0">
47
                    <property name="name">
48
                        <cstring>textLabel4</cstring>
49
                    </property>
50
                    <property name="text">
51
                        <string>VO2max</string>
52
                    </property>
53
                </widget>
54
                <widget class="QLabel" row="1" column="0">
55
                    <property name="name">
56
                        <cstring>textLabel6</cstring>
57
                    </property>
58
                    <property name="text">
59
                        <string>Sample time</string>
60
                    </property>
61
                </widget>
62
                <widget class="KIntNumInput" row="0" column="1">
63
                    <property name="name">
64
                        <cstring>intVO2max</cstring>
65
                    </property>
66
                    <property name="minValue">
67
                        <number>0</number>
68
                    </property>
69
                    <property name="maxValue">
70
                        <number>100</number>
71
                    </property>
72
                </widget>
73
                <widget class="KIntNumInput" row="0" column="3">
74
                    <property name="name">
75
                        <cstring>intWeight</cstring>
76
                    </property>
77
                    <property name="minValue">
78
                        <number>0</number>
79
                    </property>
80
                    <property name="maxValue">
81
                        <number>1000</number>
82
                    </property>
83
                </widget>
84
                <widget class="KComboBox" row="1" column="1">
85
                    <item>
86
                        <property name="text">
87
                            <string>5</string>
88
                        </property>
89
                    </item>
90
                    <item>
91
                        <property name="text">
92
                            <string>15</string>
93
                        </property>
94
                    </item>
95
                    <item>
96
                        <property name="text">
97
                            <string>30</string>
98
                        </property>
99
                    </item>
100
                    <item>
101
                        <property name="text">
102
                            <string>60</string>
103
                        </property>
104
                    </item>
105
                    <property name="name">
106
                        <cstring>cbSampleTime</cstring>
107
                    </property>
108
                </widget>
109
            </grid>
110
        </widget>
111
        <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="5">
112
            <property name="name">
113
                <cstring>groupBox1</cstring>
114
            </property>
115
            <property name="title">
116
                <string>Heart rate limits</string>
117
            </property>
118
            <grid>
119
                <property name="name">
120
                    <cstring>unnamed</cstring>
121
                </property>
122
                <widget class="QLabel" row="1" column="0">
123
                    <property name="name">
124
                        <cstring>textLabel1_3</cstring>
125
                    </property>
126
                    <property name="text">
127
                        <string>Lower level 2</string>
128
                    </property>
129
                </widget>
130
                <widget class="QLabel" row="0" column="0">
131
                    <property name="name">
132
                        <cstring>textLabel1</cstring>
133
                    </property>
134
                    <property name="text">
135
                        <string>Lower level 1</string>
136
                    </property>
137
                </widget>
138
                <widget class="QLabel" row="2" column="0">
139
                    <property name="name">
140
                        <cstring>textLabel1_2</cstring>
141
                    </property>
142
                    <property name="text">
143
                        <string>Lower level 3</string>
144
                    </property>
145
                </widget>
146
                <widget class="QLabel" row="0" column="2">
147
                    <property name="name">
148
                        <cstring>textLabel1_4_3</cstring>
149
                    </property>
150
                    <property name="text">
151
                        <string>Upper level 1</string>
152
                    </property>
153
                </widget>
154
                <widget class="QLabel" row="1" column="2">
155
                    <property name="name">
156
                        <cstring>textLabel1_4</cstring>
157
                    </property>
158
                    <property name="text">
159
                        <string>Upper level 2</string>
160
                    </property>
161
                </widget>
162
                <widget class="QLabel" row="2" column="2">
163
                    <property name="name">
164
                        <cstring>textLabel1_4_2</cstring>
165
                    </property>
166
                    <property name="text">
167
                        <string>Upper level 3</string>
168
                    </property>
169
                </widget>
170
                <widget class="QLabel" row="3" column="2">
171
                    <property name="name">
172
                        <cstring>textLabel3</cstring>
173
                    </property>
174
                    <property name="text">
175
                        <string>Rest heart rate</string>
176
                    </property>
177
                </widget>
178
                <widget class="QLabel" row="3" column="0">
179
                    <property name="name">
180
                        <cstring>textLabel2</cstring>
181
                    </property>
182
                    <property name="text">
183
                        <string>Max. heart rate</string>
184
                    </property>
185
                </widget>
186
                <widget class="KIntNumInput" row="0" column="1">
187
                    <property name="name">
188
                        <cstring>intLower1</cstring>
189
                    </property>
190
                    <property name="minValue">
191
                        <number>0</number>
192
                    </property>
193
                    <property name="maxValue">
194
                        <number>250</number>
195
                    </property>
196
                </widget>
197
                <widget class="KIntNumInput" row="1" column="1">
198
                    <property name="name">
199
                        <cstring>intLower2</cstring>
200
                    </property>
201
                    <property name="minValue">
202
                        <number>0</number>
203
                    </property>
204
                    <property name="maxValue">
205
                        <number>250</number>
206
                    </property>
207
                </widget>
208
                <widget class="KIntNumInput" row="2" column="1">
209
                    <property name="name">
210
                        <cstring>intLower3</cstring>
211
                    </property>
212
                    <property name="minValue">
213
                        <number>0</number>
214
                    </property>
215
                    <property name="maxValue">
216
                        <number>250</number>
217
                    </property>
218
                </widget>
219
                <widget class="KIntNumInput" row="3" column="1">
220
                    <property name="name">
221
                        <cstring>intMaxHr</cstring>
222
                    </property>
223
                    <property name="minValue">
224
                        <number>0</number>
225
                    </property>
226
                    <property name="maxValue">
227
                        <number>250</number>
228
                    </property>
229
                </widget>
230
                <widget class="KIntNumInput" row="0" column="3">
231
                    <property name="name">
232
                        <cstring>intUpper1</cstring>
233
                    </property>
234
                    <property name="minValue">
235
                        <number>0</number>
236
                    </property>
237
                    <property name="maxValue">
238
                        <number>250</number>
239
                    </property>
240
                </widget>
241
                <widget class="KIntNumInput" row="1" column="3">
242
                    <property name="name">
243
                        <cstring>intUpper2</cstring>
244
                    </property>
245
                    <property name="minValue">
246
                        <number>0</number>
247
                    </property>
248
                    <property name="maxValue">
249
                        <number>250</number>
250
                    </property>
251
                </widget>
252
                <widget class="KIntNumInput" row="2" column="3">
253
                    <property name="name">
254
                        <cstring>intUpper3</cstring>
255
                    </property>
256
                    <property name="minValue">
257
                        <number>0</number>
258
                    </property>
259
                    <property name="maxValue">
260
                        <number>250</number>
261
                    </property>
262
                </widget>
263
                <widget class="KIntNumInput" row="3" column="3">
264
                    <property name="name">
265
                        <cstring>intRestHr</cstring>
266
                    </property>
267
                    <property name="minValue">
268
                        <number>0</number>
269
                    </property>
270
                    <property name="maxValue">
271
                        <number>250</number>
272
                    </property>
273
                </widget>
274
            </grid>
275
        </widget>
158 andreas 276
        <widget class="QGroupBox" row="3" column="0" rowspan="1" colspan="5">
88 andreas 277
            <property name="name">
158 andreas 278
                <cstring>groupBox4</cstring>
88 andreas 279
            </property>
158 andreas 280
            <property name="title">
281
                <string>Units</string>
88 andreas 282
            </property>
158 andreas 283
            <grid>
284
                <property name="name">
285
                    <cstring>unnamed</cstring>
286
                </property>
287
                <spacer row="0" column="2">
288
                    <property name="name">
289
                        <cstring>spacer4</cstring>
290
                    </property>
291
                    <property name="orientation">
292
                        <enum>Horizontal</enum>
293
                    </property>
294
                    <property name="sizeType">
295
                        <enum>Expanding</enum>
296
                    </property>
297
                    <property name="sizeHint">
298
                        <size>
299
                            <width>250</width>
300
                            <height>20</height>
301
                        </size>
302
                    </property>
303
                </spacer>
304
                <widget class="KComboBox" row="0" column="1">
305
                    <item>
306
                        <property name="text">
307
                            <string>Metric</string>
308
                        </property>
309
                    </item>
310
                    <item>
311
                        <property name="text">
312
                            <string>Statute</string>
313
                        </property>
314
                    </item>
315
                    <property name="name">
316
                        <cstring>cbUnit</cstring>
317
                    </property>
318
                </widget>
319
                <widget class="QLabel" row="0" column="0">
320
                    <property name="name">
321
                        <cstring>textLabel1_7</cstring>
322
                    </property>
323
                    <property name="text">
324
                        <string>Scale units</string>
325
                    </property>
326
                </widget>
327
            </grid>
88 andreas 328
        </widget>
149 andreas 329
        <spacer row="4" column="2">
88 andreas 330
            <property name="name">
149 andreas 331
                <cstring>spacer2</cstring>
88 andreas 332
            </property>
333
            <property name="orientation">
334
                <enum>Horizontal</enum>
335
            </property>
336
            <property name="sizeType">
337
                <enum>Expanding</enum>
338
            </property>
339
            <property name="sizeHint">
340
                <size>
149 andreas 341
                    <width>70</width>
88 andreas 342
                    <height>20</height>
343
                </size>
344
            </property>
345
        </spacer>
149 andreas 346
        <spacer row="4" column="4">
88 andreas 347
            <property name="name">
143 andreas 348
                <cstring>spacer3</cstring>
88 andreas 349
            </property>
350
            <property name="orientation">
351
                <enum>Horizontal</enum>
352
            </property>
353
            <property name="sizeType">
354
                <enum>Expanding</enum>
355
            </property>
356
            <property name="sizeHint">
357
                <size>
358
                    <width>50</width>
359
                    <height>20</height>
360
                </size>
361
            </property>
362
        </spacer>
149 andreas 363
        <spacer row="4" column="0">
88 andreas 364
            <property name="name">
149 andreas 365
                <cstring>spacer1</cstring>
366
            </property>
367
            <property name="orientation">
368
                <enum>Horizontal</enum>
369
            </property>
370
            <property name="sizeType">
371
                <enum>Expanding</enum>
372
            </property>
373
            <property name="sizeHint">
374
                <size>
375
                    <width>50</width>
376
                    <height>20</height>
377
                </size>
378
            </property>
379
        </spacer>
380
        <widget class="KPushButton" row="4" column="1">
381
            <property name="name">
88 andreas 382
                <cstring>btSave</cstring>
383
            </property>
384
            <property name="minimumSize">
385
                <size>
386
                    <width>100</width>
387
                    <height>0</height>
388
                </size>
389
            </property>
390
            <property name="text">
391
                <string>Save</string>
392
            </property>
393
        </widget>
158 andreas 394
        <widget class="KPushButton" row="4" column="3">
395
            <property name="name">
396
                <cstring>btCancel</cstring>
397
            </property>
398
            <property name="minimumSize">
399
                <size>
400
                    <width>100</width>
401
                    <height>0</height>
402
                </size>
403
            </property>
404
            <property name="text">
405
                <string>Cancel</string>
406
            </property>
407
        </widget>
143 andreas 408
        <widget class="QGroupBox" row="2" column="0" rowspan="1" colspan="5">
409
            <property name="name">
410
                <cstring>groupBox3</cstring>
411
            </property>
412
            <property name="title">
413
                <string>Device and file settings</string>
414
            </property>
415
            <grid>
416
                <property name="name">
417
                    <cstring>unnamed</cstring>
418
                </property>
149 andreas 419
                <widget class="QLabel" row="4" column="0">
143 andreas 420
                    <property name="name">
421
                        <cstring>textLabel1_6</cstring>
422
                    </property>
423
                    <property name="text">
152 andreas 424
                        <string>Map file</string>
143 andreas 425
                    </property>
426
                </widget>
149 andreas 427
                <widget class="QLabel" row="3" column="0">
143 andreas 428
                    <property name="name">
149 andreas 429
                        <cstring>textLabel3_2</cstring>
143 andreas 430
                    </property>
149 andreas 431
                    <property name="text">
432
                        <string>HRM-files</string>
433
                    </property>
143 andreas 434
                </widget>
158 andreas 435
                <widget class="QCheckBox" row="0" column="1" rowspan="1" colspan="2">
149 andreas 436
                    <property name="name">
437
                        <cstring>cbSerial</cstring>
438
                    </property>
439
                    <property name="text">
440
                        <string>Use serial port instead of USB port</string>
441
                    </property>
442
                </widget>
158 andreas 443
                <widget class="KURLRequester" row="2" column="1" rowspan="1" colspan="2">
143 andreas 444
                    <property name="name">
149 andreas 445
                        <cstring>lnData</cstring>
446
                    </property>
447
                </widget>
158 andreas 448
                <widget class="KURLRequester" row="3" column="1" rowspan="1" colspan="2">
149 andreas 449
                    <property name="name">
143 andreas 450
                        <cstring>lnHRM</cstring>
451
                    </property>
452
                </widget>
158 andreas 453
                <widget class="KURLRequester" row="4" column="1" rowspan="1" colspan="2">
143 andreas 454
                    <property name="name">
149 andreas 455
                        <cstring>lnMapFile</cstring>
143 andreas 456
                    </property>
457
                </widget>
158 andreas 458
                <widget class="KURLComboRequester" row="1" column="1" rowspan="1" colspan="2">
143 andreas 459
                    <property name="name">
460
                        <cstring>cbDevice</cstring>
461
                    </property>
462
                    <property name="enabled">
149 andreas 463
                        <bool>true</bool>
143 andreas 464
                    </property>
465
                </widget>
149 andreas 466
                <widget class="QLabel" row="1" column="0">
143 andreas 467
                    <property name="name">
468
                        <cstring>textLabel1_5</cstring>
469
                    </property>
470
                    <property name="enabled">
149 andreas 471
                        <bool>true</bool>
143 andreas 472
                    </property>
473
                    <property name="text">
474
                        <string>Serial device</string>
475
                    </property>
476
                </widget>
149 andreas 477
                <widget class="QLabel" row="2" column="0">
143 andreas 478
                    <property name="name">
479
                        <cstring>textLabel2_2</cstring>
480
                    </property>
481
                    <property name="text">
482
                        <string>Data files</string>
483
                    </property>
484
                </widget>
158 andreas 485
                <widget class="QLabel" row="5" column="0">
143 andreas 486
                    <property name="name">
158 andreas 487
                        <cstring>textLabel1_8</cstring>
143 andreas 488
                    </property>
158 andreas 489
                    <property name="text">
490
                        <string>Map type</string>
149 andreas 491
                    </property>
158 andreas 492
                </widget>
493
                <widget class="KComboBox" row="5" column="1">
149 andreas 494
                    <item>
495
                        <property name="text">
158 andreas 496
                            <string>BMP Image format</string>
149 andreas 497
                        </property>
498
                    </item>
499
                    <item>
500
                        <property name="text">
158 andreas 501
                            <string>ESRI Shape files (Directory)</string>
149 andreas 502
                        </property>
503
                    </item>
158 andreas 504
                    <item>
505
                        <property name="text">
506
                            <string>GDAL virtual (.vrt tag file)</string>
507
                        </property>
508
                    </item>
509
                    <item>
510
                        <property name="text">
511
                            <string>GIF image format</string>
512
                        </property>
513
                    </item>
514
                    <item>
515
                        <property name="text">
516
                            <string>PNG image format</string>
517
                        </property>
518
                    </item>
519
                    <item>
520
                        <property name="text">
521
                            <string>SGI image format</string>
522
                        </property>
523
                    </item>
524
                    <item>
525
                        <property name="text">
526
                            <string>TIFF image format</string>
527
                        </property>
528
                    </item>
529
                    <item>
530
                        <property name="text">
531
                            <string>WMS Server (tag file)</string>
532
                        </property>
533
                    </item>
149 andreas 534
                    <property name="name">
158 andreas 535
                        <cstring>cbMapType</cstring>
149 andreas 536
                    </property>
537
                </widget>
158 andreas 538
                <spacer row="5" column="2">
149 andreas 539
                    <property name="name">
158 andreas 540
                        <cstring>spacer5</cstring>
149 andreas 541
                    </property>
158 andreas 542
                    <property name="orientation">
543
                        <enum>Horizontal</enum>
143 andreas 544
                    </property>
158 andreas 545
                    <property name="sizeType">
546
                        <enum>Expanding</enum>
547
                    </property>
548
                    <property name="sizeHint">
549
                        <size>
550
                            <width>30</width>
551
                            <height>20</height>
552
                        </size>
553
                    </property>
554
                </spacer>
143 andreas 555
            </grid>
556
        </widget>
88 andreas 557
    </grid>
558
</widget>
559
<images>
560
    <image name="image0">
143 andreas 561
        <data format="PNG" length="558">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000001f549444154388d63604003fffeff6184d24cfffeff6181e14fef9f7397461abfcf0b33b9f7fec30756987a167403981859fe43e97f0c0c0cff60e25fbf7c6095f9cbc06161a8c52d2820f01ba701c8a023274ad54e912f41e4f767f3bbcbfb65fd2c74585939f92622abc16b803ef3d362392e7ec5dd47aef1f34afd5713334f65d0e1bcce89e2627c06bcf9c1745b4245ad5f50d7e1bddc99c70c6a5b3631fc7c73efe1cd0575b644b9404146e1cccf278facdf8a9a2a08d49731dc7fb093e1ffa525f98fbffcbdcfc0c07098a001424aba8f1edcbe162bbbbe43e665e03b062b0ff36cbea03533adf804fee2d3870296a8a8565c5710f9ff3cd2eaffcf05f556e8f278c360dd9489125f053ee61ed310f8ff55438481418061d29b6d937891d5c0bdb0b0b5d7e8e37f990077ee83877fbc7eaaa160a4cb75e9d006677d4b5189c7ef3fe7ec38f3ccc8fdc7d724514595360606865c0c035e7e95e95235e651fefd9a5de5ecf54b7cb75f3ce153535490e11155f176c898bd8381e111c34e45ef37a22c6cf6585df0f6fdbb6dcc0f1f4f0a2ceaff0311b9cfc0c07016c54bff7f7ce366e5e2ba88d580cee9997df8c283818181e1dfef9f0fff30327160358018f0ebf7cffbcc7f7f8b208be18d05747046bc4dfc008b5fe6d593e778c872818ae0958be70eb09edffb43b4888181a1898181810100fda5bbe360439b8a0000000049454e44ae426082</data>
88 andreas 562
    </image>
563
</images>
564
<connections>
565
    <connection>
566
        <sender>btSave</sender>
567
        <signal>clicked()</signal>
568
        <receiver>Settings</receiver>
569
        <slot>btSaveSlot()</slot>
570
    </connection>
571
    <connection>
572
        <sender>btCancel</sender>
573
        <signal>clicked()</signal>
574
        <receiver>Settings</receiver>
575
        <slot>btCancelSlot()</slot>
576
    </connection>
577
</connections>
578
<tabstops>
579
    <tabstop>intLower1</tabstop>
580
    <tabstop>intUpper1</tabstop>
581
    <tabstop>intLower2</tabstop>
582
    <tabstop>intUpper2</tabstop>
583
    <tabstop>intLower3</tabstop>
584
    <tabstop>intUpper3</tabstop>
585
    <tabstop>intMaxHr</tabstop>
586
    <tabstop>intRestHr</tabstop>
587
    <tabstop>intVO2max</tabstop>
588
    <tabstop>intWeight</tabstop>
589
    <tabstop>cbSampleTime</tabstop>
158 andreas 590
    <tabstop>cbSerial</tabstop>
88 andreas 591
    <tabstop>cbDevice</tabstop>
592
    <tabstop>lnData</tabstop>
593
    <tabstop>lnHRM</tabstop>
143 andreas 594
    <tabstop>lnMapFile</tabstop>
158 andreas 595
    <tabstop>cbMapType</tabstop>
596
    <tabstop>cbUnit</tabstop>
88 andreas 597
    <tabstop>btSave</tabstop>
598
    <tabstop>btCancel</tabstop>
599
</tabstops>
600
<slots>
601
    <slot>btSaveSlot()</slot>
602
    <slot>btCancelSlot()</slot>
603
</slots>
604
<layoutdefaults spacing="6" margin="11"/>
605
<includehints>
606
    <includehint>knuminput.h</includehint>
607
    <includehint>knuminput.h</includehint>
608
    <includehint>knuminput.h</includehint>
609
    <includehint>knuminput.h</includehint>
610
    <includehint>kcombobox.h</includehint>
611
    <includehint>knuminput.h</includehint>
612
    <includehint>knuminput.h</includehint>
613
    <includehint>knuminput.h</includehint>
614
    <includehint>knuminput.h</includehint>
615
    <includehint>knuminput.h</includehint>
616
    <includehint>knuminput.h</includehint>
617
    <includehint>knuminput.h</includehint>
618
    <includehint>knuminput.h</includehint>
619
    <includehint>knuminput.h</includehint>
620
    <includehint>knuminput.h</includehint>
621
    <includehint>knuminput.h</includehint>
622
    <includehint>knuminput.h</includehint>
623
    <includehint>knuminput.h</includehint>
624
    <includehint>knuminput.h</includehint>
625
    <includehint>knuminput.h</includehint>
626
    <includehint>knuminput.h</includehint>
158 andreas 627
    <includehint>kcombobox.h</includehint>
143 andreas 628
    <includehint>kpushbutton.h</includehint>
629
    <includehint>kpushbutton.h</includehint>
88 andreas 630
    <includehint>kurlrequester.h</includehint>
143 andreas 631
    <includehint>klineedit.h</includehint>
88 andreas 632
    <includehint>kpushbutton.h</includehint>
633
    <includehint>kurlrequester.h</includehint>
634
    <includehint>klineedit.h</includehint>
635
    <includehint>kpushbutton.h</includehint>
636
    <includehint>kurlrequester.h</includehint>
637
    <includehint>klineedit.h</includehint>
638
    <includehint>kpushbutton.h</includehint>
143 andreas 639
    <includehint>kurlrequester.h</includehint>
640
    <includehint>kcombobox.h</includehint>
88 andreas 641
    <includehint>kpushbutton.h</includehint>
149 andreas 642
    <includehint>kcombobox.h</includehint>
88 andreas 643
</includehints>
644
</UI>