Subversion Repositories public

Rev

Rev 149 | Rev 158 | 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>
149 andreas 14
            <height>541</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">
43
                        <string>Weight</string>
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>
149 andreas 276
        <widget class="KPushButton" row="4" column="3">
88 andreas 277
            <property name="name">
143 andreas 278
                <cstring>btCancel</cstring>
88 andreas 279
            </property>
143 andreas 280
            <property name="minimumSize">
281
                <size>
282
                    <width>100</width>
283
                    <height>0</height>
284
                </size>
88 andreas 285
            </property>
143 andreas 286
            <property name="text">
287
                <string>Cancel</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="4">
88 andreas 308
            <property name="name">
143 andreas 309
                <cstring>spacer3</cstring>
88 andreas 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>
149 andreas 324
        <spacer row="4" column="0">
88 andreas 325
            <property name="name">
149 andreas 326
                <cstring>spacer1</cstring>
327
            </property>
328
            <property name="orientation">
329
                <enum>Horizontal</enum>
330
            </property>
331
            <property name="sizeType">
332
                <enum>Expanding</enum>
333
            </property>
334
            <property name="sizeHint">
335
                <size>
336
                    <width>50</width>
337
                    <height>20</height>
338
                </size>
339
            </property>
340
        </spacer>
341
        <widget class="KPushButton" row="4" column="1">
342
            <property name="name">
88 andreas 343
                <cstring>btSave</cstring>
344
            </property>
345
            <property name="minimumSize">
346
                <size>
347
                    <width>100</width>
348
                    <height>0</height>
349
                </size>
350
            </property>
351
            <property name="text">
352
                <string>Save</string>
353
            </property>
354
        </widget>
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>
149 andreas 366
                <widget class="QLabel" row="4" column="0">
143 andreas 367
                    <property name="name">
368
                        <cstring>textLabel1_6</cstring>
369
                    </property>
370
                    <property name="text">
152 andreas 371
                        <string>Map file</string>
143 andreas 372
                    </property>
373
                </widget>
149 andreas 374
                <widget class="QLabel" row="3" column="0">
143 andreas 375
                    <property name="name">
149 andreas 376
                        <cstring>textLabel3_2</cstring>
143 andreas 377
                    </property>
149 andreas 378
                    <property name="text">
379
                        <string>HRM-files</string>
380
                    </property>
143 andreas 381
                </widget>
149 andreas 382
                <widget class="QCheckBox" row="0" column="1">
383
                    <property name="name">
384
                        <cstring>cbSerial</cstring>
385
                    </property>
386
                    <property name="text">
387
                        <string>Use serial port instead of USB port</string>
388
                    </property>
389
                </widget>
143 andreas 390
                <widget class="KURLRequester" row="2" column="1">
391
                    <property name="name">
149 andreas 392
                        <cstring>lnData</cstring>
393
                    </property>
394
                </widget>
395
                <widget class="KURLRequester" row="3" column="1">
396
                    <property name="name">
143 andreas 397
                        <cstring>lnHRM</cstring>
398
                    </property>
399
                </widget>
149 andreas 400
                <widget class="KURLRequester" row="4" column="1">
143 andreas 401
                    <property name="name">
149 andreas 402
                        <cstring>lnMapFile</cstring>
143 andreas 403
                    </property>
404
                </widget>
149 andreas 405
                <widget class="KURLComboRequester" row="1" column="1">
143 andreas 406
                    <property name="name">
407
                        <cstring>cbDevice</cstring>
408
                    </property>
409
                    <property name="enabled">
149 andreas 410
                        <bool>true</bool>
143 andreas 411
                    </property>
412
                </widget>
149 andreas 413
                <widget class="QLabel" row="1" column="0">
143 andreas 414
                    <property name="name">
415
                        <cstring>textLabel1_5</cstring>
416
                    </property>
417
                    <property name="enabled">
149 andreas 418
                        <bool>true</bool>
143 andreas 419
                    </property>
420
                    <property name="text">
421
                        <string>Serial device</string>
422
                    </property>
423
                </widget>
149 andreas 424
                <widget class="QLabel" row="2" column="0">
143 andreas 425
                    <property name="name">
426
                        <cstring>textLabel2_2</cstring>
427
                    </property>
428
                    <property name="text">
429
                        <string>Data files</string>
430
                    </property>
431
                </widget>
149 andreas 432
            </grid>
433
        </widget>
434
        <widget class="QGroupBox" row="3" column="0" rowspan="1" colspan="5">
435
            <property name="name">
436
                <cstring>groupBox4</cstring>
437
            </property>
438
            <property name="title">
439
                <string>Units</string>
440
            </property>
441
            <grid>
442
                <property name="name">
443
                    <cstring>unnamed</cstring>
444
                </property>
445
                <spacer row="0" column="2">
143 andreas 446
                    <property name="name">
149 andreas 447
                        <cstring>spacer4</cstring>
143 andreas 448
                    </property>
149 andreas 449
                    <property name="orientation">
450
                        <enum>Horizontal</enum>
451
                    </property>
452
                    <property name="sizeType">
453
                        <enum>Expanding</enum>
454
                    </property>
455
                    <property name="sizeHint">
456
                        <size>
457
                            <width>250</width>
458
                            <height>20</height>
459
                        </size>
460
                    </property>
461
                </spacer>
462
                <widget class="KComboBox" row="0" column="1">
463
                    <item>
464
                        <property name="text">
465
                            <string>Metric</string>
466
                        </property>
467
                    </item>
468
                    <item>
469
                        <property name="text">
470
                            <string>Statute</string>
471
                        </property>
472
                    </item>
473
                    <property name="name">
474
                        <cstring>cbUnit</cstring>
475
                    </property>
476
                </widget>
477
                <widget class="QLabel" row="0" column="0">
478
                    <property name="name">
479
                        <cstring>textLabel1_7</cstring>
480
                    </property>
143 andreas 481
                    <property name="text">
149 andreas 482
                        <string>Scale units</string>
143 andreas 483
                    </property>
484
                </widget>
485
            </grid>
486
        </widget>
88 andreas 487
    </grid>
488
</widget>
489
<images>
490
    <image name="image0">
143 andreas 491
        <data format="PNG" length="558">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000001f549444154388d63604003fffeff6184d24cfffeff6181e14fef9f7397461abfcf0b33b9f7fec30756987a167403981859fe43e97f0c0c0cff60e25fbf7c6095f9cbc06161a8c52d2820f01ba701c8a023274ad54e912f41e4f767f3bbcbfb65fd2c74585939f92622abc16b803ef3d362392e7ec5dd47aef1f34afd5713334f65d0e1bcce89e2627c06bcf9c1745b4245ad5f50d7e1bddc99c70c6a5b3631fc7c73efe1cd0575b644b9404146e1cccf278facdf8a9a2a08d49731dc7fb093e1ffa525f98fbffcbdcfc0c07098a001424aba8f1edcbe162bbbbe43e665e03b062b0ff36cbea03533adf804fee2d3870296a8a8565c5710f9ff3cd2eaffcf05f556e8f278c360dd9489125f053ee61ed310f8ff55438481418061d29b6d937891d5c0bdb0b0b5d7e8e37f990077ee83877fbc7eaaa160a4cb75e9d006677d4b5189c7ef3fe7ec38f3ccc8fdc7d724514595360606865c0c035e7e95e95235e651fefd9a5de5ecf54b7cb75f3ce153535490e11155f176c898bd8381e111c34e45ef37a22c6cf6585df0f6fdbb6dcc0f1f4f0a2ceaff0311b9cfc0c07016c54bff7f7ce366e5e2ba88d580cee9997df8c283818181e1dfef9f0fff30327160358018f0ebf7cffbcc7f7f8b208be18d05747046bc4dfc008b5fe6d593e778c872818ae0958be70eb09edffb43b4888181a1898181810100fda5bbe360439b8a0000000049454e44ae426082</data>
88 andreas 492
    </image>
493
</images>
494
<connections>
495
    <connection>
496
        <sender>btSave</sender>
497
        <signal>clicked()</signal>
498
        <receiver>Settings</receiver>
499
        <slot>btSaveSlot()</slot>
500
    </connection>
501
    <connection>
502
        <sender>btCancel</sender>
503
        <signal>clicked()</signal>
504
        <receiver>Settings</receiver>
505
        <slot>btCancelSlot()</slot>
506
    </connection>
507
</connections>
508
<tabstops>
509
    <tabstop>intLower1</tabstop>
510
    <tabstop>intUpper1</tabstop>
511
    <tabstop>intLower2</tabstop>
512
    <tabstop>intUpper2</tabstop>
513
    <tabstop>intLower3</tabstop>
514
    <tabstop>intUpper3</tabstop>
515
    <tabstop>intMaxHr</tabstop>
516
    <tabstop>intRestHr</tabstop>
517
    <tabstop>intVO2max</tabstop>
518
    <tabstop>intWeight</tabstop>
519
    <tabstop>cbSampleTime</tabstop>
520
    <tabstop>cbDevice</tabstop>
521
    <tabstop>lnData</tabstop>
522
    <tabstop>lnHRM</tabstop>
143 andreas 523
    <tabstop>lnMapFile</tabstop>
88 andreas 524
    <tabstop>btSave</tabstop>
525
    <tabstop>btCancel</tabstop>
526
</tabstops>
527
<slots>
528
    <slot>btSaveSlot()</slot>
529
    <slot>btCancelSlot()</slot>
530
</slots>
531
<layoutdefaults spacing="6" margin="11"/>
532
<includehints>
533
    <includehint>knuminput.h</includehint>
534
    <includehint>knuminput.h</includehint>
535
    <includehint>knuminput.h</includehint>
536
    <includehint>knuminput.h</includehint>
537
    <includehint>kcombobox.h</includehint>
538
    <includehint>knuminput.h</includehint>
539
    <includehint>knuminput.h</includehint>
540
    <includehint>knuminput.h</includehint>
541
    <includehint>knuminput.h</includehint>
542
    <includehint>knuminput.h</includehint>
543
    <includehint>knuminput.h</includehint>
544
    <includehint>knuminput.h</includehint>
545
    <includehint>knuminput.h</includehint>
546
    <includehint>knuminput.h</includehint>
547
    <includehint>knuminput.h</includehint>
548
    <includehint>knuminput.h</includehint>
549
    <includehint>knuminput.h</includehint>
550
    <includehint>knuminput.h</includehint>
551
    <includehint>knuminput.h</includehint>
552
    <includehint>knuminput.h</includehint>
553
    <includehint>knuminput.h</includehint>
143 andreas 554
    <includehint>kpushbutton.h</includehint>
555
    <includehint>kpushbutton.h</includehint>
88 andreas 556
    <includehint>kurlrequester.h</includehint>
143 andreas 557
    <includehint>klineedit.h</includehint>
88 andreas 558
    <includehint>kpushbutton.h</includehint>
559
    <includehint>kurlrequester.h</includehint>
560
    <includehint>klineedit.h</includehint>
561
    <includehint>kpushbutton.h</includehint>
562
    <includehint>kurlrequester.h</includehint>
563
    <includehint>klineedit.h</includehint>
564
    <includehint>kpushbutton.h</includehint>
143 andreas 565
    <includehint>kurlrequester.h</includehint>
566
    <includehint>kcombobox.h</includehint>
88 andreas 567
    <includehint>kpushbutton.h</includehint>
149 andreas 568
    <includehint>kcombobox.h</includehint>
88 andreas 569
</includehints>
570
</UI>