Subversion Repositories public

Rev

Rev 158 | Rev 230 | 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>
168 andreas 13
            <width>509</width>
14
            <height>583</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>
168 andreas 276
        <widget class="KPushButton" row="4" column="1">
88 andreas 277
            <property name="name">
168 andreas 278
                <cstring>btSave</cstring>
88 andreas 279
            </property>
168 andreas 280
            <property name="minimumSize">
281
                <size>
282
                    <width>100</width>
283
                    <height>0</height>
284
                </size>
88 andreas 285
            </property>
168 andreas 286
            <property name="text">
287
                <string>Save</string>
288
            </property>
88 andreas 289
        </widget>
149 andreas 290
        <spacer row="4" column="2">
88 andreas 291
            <property name="name">
149 andreas 292
                <cstring>spacer2</cstring>
88 andreas 293
            </property>
294
            <property name="orientation">
295
                <enum>Horizontal</enum>
296
            </property>
297
            <property name="sizeType">
298
                <enum>Expanding</enum>
299
            </property>
300
            <property name="sizeHint">
301
                <size>
149 andreas 302
                    <width>70</width>
88 andreas 303
                    <height>20</height>
304
                </size>
305
            </property>
306
        </spacer>
149 andreas 307
        <spacer row="4" column="0">
88 andreas 308
            <property name="name">
149 andreas 309
                <cstring>spacer1</cstring>
310
            </property>
311
            <property name="orientation">
312
                <enum>Horizontal</enum>
313
            </property>
314
            <property name="sizeType">
315
                <enum>Expanding</enum>
316
            </property>
317
            <property name="sizeHint">
318
                <size>
319
                    <width>50</width>
320
                    <height>20</height>
321
                </size>
322
            </property>
323
        </spacer>
168 andreas 324
        <widget class="KPushButton" row="4" column="3">
149 andreas 325
            <property name="name">
168 andreas 326
                <cstring>btCancel</cstring>
88 andreas 327
            </property>
328
            <property name="minimumSize">
329
                <size>
330
                    <width>100</width>
331
                    <height>0</height>
332
                </size>
333
            </property>
334
            <property name="text">
168 andreas 335
                <string>Cancel</string>
88 andreas 336
            </property>
337
        </widget>
168 andreas 338
        <spacer row="4" column="4">
158 andreas 339
            <property name="name">
168 andreas 340
                <cstring>spacer3</cstring>
158 andreas 341
            </property>
168 andreas 342
            <property name="orientation">
343
                <enum>Horizontal</enum>
344
            </property>
345
            <property name="sizeType">
346
                <enum>Expanding</enum>
347
            </property>
348
            <property name="sizeHint">
158 andreas 349
                <size>
168 andreas 350
                    <width>50</width>
351
                    <height>20</height>
158 andreas 352
                </size>
353
            </property>
168 andreas 354
        </spacer>
143 andreas 355
        <widget class="QGroupBox" row="2" column="0" rowspan="1" colspan="5">
356
            <property name="name">
357
                <cstring>groupBox3</cstring>
358
            </property>
359
            <property name="title">
360
                <string>Device and file settings</string>
361
            </property>
362
            <grid>
363
                <property name="name">
364
                    <cstring>unnamed</cstring>
365
                </property>
168 andreas 366
                <widget class="KURLRequester" row="4" column="1" rowspan="1" colspan="2">
143 andreas 367
                    <property name="name">
368
                        <cstring>lnHRM</cstring>
369
                    </property>
370
                </widget>
168 andreas 371
                <widget class="KComboBox" row="6" column="1">
149 andreas 372
                    <item>
373
                        <property name="text">
158 andreas 374
                            <string>BMP Image format</string>
149 andreas 375
                        </property>
376
                    </item>
377
                    <item>
378
                        <property name="text">
158 andreas 379
                            <string>ESRI Shape files (Directory)</string>
149 andreas 380
                        </property>
381
                    </item>
158 andreas 382
                    <item>
383
                        <property name="text">
384
                            <string>GDAL virtual (.vrt tag file)</string>
385
                        </property>
386
                    </item>
387
                    <item>
388
                        <property name="text">
389
                            <string>GIF image format</string>
390
                        </property>
391
                    </item>
392
                    <item>
393
                        <property name="text">
394
                            <string>PNG image format</string>
395
                        </property>
396
                    </item>
397
                    <item>
398
                        <property name="text">
399
                            <string>SGI image format</string>
400
                        </property>
401
                    </item>
402
                    <item>
403
                        <property name="text">
404
                            <string>TIFF image format</string>
405
                        </property>
406
                    </item>
407
                    <item>
408
                        <property name="text">
409
                            <string>WMS Server (tag file)</string>
410
                        </property>
411
                    </item>
149 andreas 412
                    <property name="name">
158 andreas 413
                        <cstring>cbMapType</cstring>
149 andreas 414
                    </property>
415
                </widget>
168 andreas 416
                <widget class="QLabel" row="5" column="0">
149 andreas 417
                    <property name="name">
168 andreas 418
                        <cstring>textLabel1_6</cstring>
419
                    </property>
420
                    <property name="text">
421
                        <string>Map file</string>
422
                    </property>
423
                </widget>
424
                <widget class="QLabel" row="6" column="0">
425
                    <property name="name">
426
                        <cstring>textLabel1_8</cstring>
427
                    </property>
428
                    <property name="text">
429
                        <string>Map type</string>
430
                    </property>
431
                </widget>
432
                <widget class="QLabel" row="3" column="0">
433
                    <property name="name">
434
                        <cstring>textLabel2_2</cstring>
435
                    </property>
436
                    <property name="text">
437
                        <string>Data files</string>
438
                    </property>
439
                </widget>
440
                <widget class="QLabel" row="2" column="0">
441
                    <property name="name">
442
                        <cstring>textLabel1_5</cstring>
443
                    </property>
444
                    <property name="enabled">
445
                        <bool>true</bool>
446
                    </property>
447
                    <property name="text">
448
                        <string>Serial device</string>
449
                    </property>
450
                </widget>
451
                <widget class="KURLRequester" row="3" column="1" rowspan="1" colspan="2">
452
                    <property name="name">
453
                        <cstring>lnData</cstring>
454
                    </property>
455
                </widget>
456
                <spacer row="6" column="2">
457
                    <property name="name">
158 andreas 458
                        <cstring>spacer5</cstring>
149 andreas 459
                    </property>
158 andreas 460
                    <property name="orientation">
461
                        <enum>Horizontal</enum>
143 andreas 462
                    </property>
158 andreas 463
                    <property name="sizeType">
464
                        <enum>Expanding</enum>
465
                    </property>
466
                    <property name="sizeHint">
467
                        <size>
468
                            <width>30</width>
469
                            <height>20</height>
470
                        </size>
471
                    </property>
472
                </spacer>
168 andreas 473
                <widget class="KURLRequester" row="5" column="1" rowspan="1" colspan="2">
474
                    <property name="name">
475
                        <cstring>lnMapFile</cstring>
476
                    </property>
477
                </widget>
478
                <widget class="QLabel" row="4" column="0">
479
                    <property name="name">
480
                        <cstring>textLabel3_2</cstring>
481
                    </property>
482
                    <property name="text">
483
                        <string>HRM-files</string>
484
                    </property>
485
                </widget>
486
                <widget class="KURLComboRequester" row="2" column="1" rowspan="1" colspan="2">
487
                    <property name="name">
488
                        <cstring>cbDevice</cstring>
489
                    </property>
490
                    <property name="enabled">
491
                        <bool>true</bool>
492
                    </property>
493
                </widget>
494
                <widget class="QCheckBox" row="1" column="1" rowspan="1" colspan="2">
495
                    <property name="name">
496
                        <cstring>cbSerial</cstring>
497
                    </property>
498
                    <property name="text">
499
                        <string>Use serial port instead of USB port</string>
500
                    </property>
501
                </widget>
502
                <widget class="QCheckBox" row="0" column="1" rowspan="1" colspan="2">
503
                    <property name="name">
504
                        <cstring>cbContour</cstring>
505
                    </property>
506
                    <property name="text">
507
                        <string>even surface contour line</string>
508
                    </property>
509
                </widget>
143 andreas 510
            </grid>
511
        </widget>
168 andreas 512
        <widget class="QGroupBox" row="3" column="0" rowspan="1" colspan="5">
513
            <property name="name">
514
                <cstring>groupBox4</cstring>
515
            </property>
516
            <property name="title">
517
                <string>Units</string>
518
            </property>
519
            <grid>
520
                <property name="name">
521
                    <cstring>unnamed</cstring>
522
                </property>
523
                <spacer row="0" column="2">
524
                    <property name="name">
525
                        <cstring>spacer4</cstring>
526
                    </property>
527
                    <property name="orientation">
528
                        <enum>Horizontal</enum>
529
                    </property>
530
                    <property name="sizeType">
531
                        <enum>Expanding</enum>
532
                    </property>
533
                    <property name="sizeHint">
534
                        <size>
535
                            <width>250</width>
536
                            <height>20</height>
537
                        </size>
538
                    </property>
539
                </spacer>
540
                <widget class="KComboBox" row="0" column="1">
541
                    <item>
542
                        <property name="text">
543
                            <string>Metric</string>
544
                        </property>
545
                    </item>
546
                    <item>
547
                        <property name="text">
548
                            <string>Statute</string>
549
                        </property>
550
                    </item>
551
                    <property name="name">
552
                        <cstring>cbUnit</cstring>
553
                    </property>
554
                </widget>
555
                <widget class="QLabel" row="0" column="0">
556
                    <property name="name">
557
                        <cstring>textLabel1_7</cstring>
558
                    </property>
559
                    <property name="text">
560
                        <string>Scale units</string>
561
                    </property>
562
                </widget>
563
            </grid>
564
        </widget>
88 andreas 565
    </grid>
566
</widget>
567
<images>
568
    <image name="image0">
143 andreas 569
        <data format="PNG" length="558">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000001f549444154388d63604003fffeff6184d24cfffeff6181e14fef9f7397461abfcf0b33b9f7fec30756987a167403981859fe43e97f0c0c0cff60e25fbf7c6095f9cbc06161a8c52d2820f01ba701c8a023274ad54e912f41e4f767f3bbcbfb65fd2c74585939f92622abc16b803ef3d362392e7ec5dd47aef1f34afd5713334f65d0e1bcce89e2627c06bcf9c1745b4245ad5f50d7e1bddc99c70c6a5b3631fc7c73efe1cd0575b644b9404146e1cccf278facdf8a9a2a08d49731dc7fb093e1ffa525f98fbffcbdcfc0c07098a001424aba8f1edcbe162bbbbe43e665e03b062b0ff36cbea03533adf804fee2d3870296a8a8565c5710f9ff3cd2eaffcf05f556e8f278c360dd9489125f053ee61ed310f8ff55438481418061d29b6d937891d5c0bdb0b0b5d7e8e37f990077ee83877fbc7eaaa160a4cb75e9d006677d4b5189c7ef3fe7ec38f3ccc8fdc7d724514595360606865c0c035e7e95e95235e651fefd9a5de5ecf54b7cb75f3ce153535490e11155f176c898bd8381e111c34e45ef37a22c6cf6585df0f6fdbb6dcc0f1f4f0a2ceaff0311b9cfc0c07016c54bff7f7ce366e5e2ba88d580cee9997df8c283818181e1dfef9f0fff30327160358018f0ebf7cffbcc7f7f8b208be18d05747046bc4dfc008b5fe6d593e778c872818ae0958be70eb09edffb43b4888181a1898181810100fda5bbe360439b8a0000000049454e44ae426082</data>
88 andreas 570
    </image>
571
</images>
572
<connections>
573
    <connection>
574
        <sender>btSave</sender>
575
        <signal>clicked()</signal>
576
        <receiver>Settings</receiver>
577
        <slot>btSaveSlot()</slot>
578
    </connection>
579
    <connection>
580
        <sender>btCancel</sender>
581
        <signal>clicked()</signal>
582
        <receiver>Settings</receiver>
583
        <slot>btCancelSlot()</slot>
584
    </connection>
585
</connections>
586
<tabstops>
587
    <tabstop>intLower1</tabstop>
588
    <tabstop>intUpper1</tabstop>
589
    <tabstop>intLower2</tabstop>
590
    <tabstop>intUpper2</tabstop>
591
    <tabstop>intLower3</tabstop>
592
    <tabstop>intUpper3</tabstop>
593
    <tabstop>intMaxHr</tabstop>
594
    <tabstop>intRestHr</tabstop>
595
    <tabstop>intVO2max</tabstop>
596
    <tabstop>intWeight</tabstop>
597
    <tabstop>cbSampleTime</tabstop>
158 andreas 598
    <tabstop>cbSerial</tabstop>
88 andreas 599
    <tabstop>cbDevice</tabstop>
600
    <tabstop>lnData</tabstop>
601
    <tabstop>lnHRM</tabstop>
143 andreas 602
    <tabstop>lnMapFile</tabstop>
158 andreas 603
    <tabstop>cbMapType</tabstop>
604
    <tabstop>cbUnit</tabstop>
88 andreas 605
    <tabstop>btSave</tabstop>
606
    <tabstop>btCancel</tabstop>
607
</tabstops>
608
<slots>
609
    <slot>btSaveSlot()</slot>
610
    <slot>btCancelSlot()</slot>
611
</slots>
612
<layoutdefaults spacing="6" margin="11"/>
613
<includehints>
614
    <includehint>knuminput.h</includehint>
615
    <includehint>knuminput.h</includehint>
616
    <includehint>knuminput.h</includehint>
617
    <includehint>knuminput.h</includehint>
618
    <includehint>kcombobox.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>
627
    <includehint>knuminput.h</includehint>
628
    <includehint>knuminput.h</includehint>
629
    <includehint>knuminput.h</includehint>
630
    <includehint>knuminput.h</includehint>
631
    <includehint>knuminput.h</includehint>
632
    <includehint>knuminput.h</includehint>
633
    <includehint>knuminput.h</includehint>
634
    <includehint>knuminput.h</includehint>
143 andreas 635
    <includehint>kpushbutton.h</includehint>
636
    <includehint>kpushbutton.h</includehint>
88 andreas 637
    <includehint>kurlrequester.h</includehint>
143 andreas 638
    <includehint>klineedit.h</includehint>
88 andreas 639
    <includehint>kpushbutton.h</includehint>
168 andreas 640
    <includehint>kcombobox.h</includehint>
88 andreas 641
    <includehint>kurlrequester.h</includehint>
642
    <includehint>klineedit.h</includehint>
643
    <includehint>kpushbutton.h</includehint>
644
    <includehint>kurlrequester.h</includehint>
645
    <includehint>klineedit.h</includehint>
646
    <includehint>kpushbutton.h</includehint>
143 andreas 647
    <includehint>kurlrequester.h</includehint>
648
    <includehint>kcombobox.h</includehint>
88 andreas 649
    <includehint>kpushbutton.h</includehint>
149 andreas 650
    <includehint>kcombobox.h</includehint>
88 andreas 651
</includehints>
652
</UI>