summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui
blob: c2d0a0e01d82aaa73eb499f865ba8bde20a1900b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>QueryOptionsBase</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>QueryOptionsBase</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>452</width>
            <height>404</height>
        </rect>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>0</number>
        </property>
        <property name="spacing">
            <number>6</number>
        </property>
        <widget class="TQCheckBox" row="2" column="0">
            <property name="name">
                <cstring>kcfg_AltLearn</cstring>
            </property>
            <property name="text">
                <string>&amp;Use alternative learning method</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Use the Leitner learning method</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>By checking this, you will use the Leitner method of learning which requires you to answer correctly to each question 4 times in a row. </string>
            </property>
        </widget>
        <widget class="TQCheckBox" row="1" column="0">
            <property name="name">
                <cstring>kcfg_SwapDirection</cstring>
            </property>
            <property name="text">
                <string>S&amp;wap direction randomly</string>
            </property>
        </widget>
        <widget class="TQGroupBox" row="3" column="0">
            <property name="name">
                <cstring>unnamed</cstring>
            </property>
            <property name="title">
                <string>Random Query Options</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="7">
                    <property name="name">
                        <cstring>kcfg_Suggestions</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>&amp;Enable suggestion lists</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>If checked, pressing F5 or F6 will display a list of suggestions</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this options is enabled, you can enter part of an answer, then press F5 or F6 to get a list of translations starting with or containing the text you typed.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="7">
                    <property name="name">
                        <cstring>kcfg_Split</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>Split &amp;translations</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Split translations and show multiple answer fields</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this options is enabled, the program will split translations into several parts, show multiple answer fields, and you will need to answer each one of them. This is useful for example when a word has several meanings that have different translations in the other language.</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="3" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>label_split_max_fields</cstring>
                    </property>
                    <property name="text">
                        <string>Maximum number of &amp;fields:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>kcfg_Fields</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Maximum number of fields to split translations into</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Enter the maximum number of answer fields you want to have. When splitting translations, the program will only split into this many parts, and the last part will contain the rest of the translation.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="5" column="0" rowspan="1" colspan="7">
                    <property name="name">
                        <cstring>kcfg_IKnow</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>Enable I Know &amp;button</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Enable the I Know It button on the Random Query screen</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>If this is checked, the I Know button will be available. It allows you to tell the query that you know the result without writing it or having it checked. This is available by default. If you uncheck this, the I Know button will not be available.</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="2" column="1">
                    <property name="name">
                        <cstring>label_at</cstring>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>1</hsizetype>
                            <vsizetype>5</vsizetype>
                            <horstretch>0</horstretch>
                            <verstretch>0</verstretch>
                        </sizepolicy>
                    </property>
                    <property name="text">
                        <string>at</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="2" column="2">
                    <property name="name">
                        <cstring>kcfg_Periods</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>pe&amp;riods</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Split translations at periods</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this options is enabled, translations will be split at periods if they have any (except any trailing periods that will be removed).</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="2" column="4">
                    <property name="name">
                        <cstring>kcfg_Semicolons</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>sem&amp;icolons</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Split translations at semicolons</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this options is enabled, translations that have not been split at periods or colons will be split at semicolons if they have any.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="2" column="5" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>kcfg_Commas</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>3</hsizetype>
                            <vsizetype>0</vsizetype>
                            <horstretch>0</horstretch>
                            <verstretch>0</verstretch>
                        </sizepolicy>
                    </property>
                    <property name="text">
                        <string>co&amp;mmas</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Split translations at commas</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this options is enabled, translations that have not been split at periods, colons or semicolons will be split at commas if they have any.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="2" column="3">
                    <property name="name">
                        <cstring>kcfg_Colons</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>co&amp;lons</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Split translations at colons</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this options is enabled, translations that have not been split at periods will be split at colons if they have any.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="7">
                    <property name="name">
                        <cstring>kcfg_ShowMore</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>Enable S&amp;how More button</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Enable the Show More button on the Random Query screen</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When this is checked, you will be able to use a Show More button which allow you to get the next letter in your answer in the query. If this is unchecked, the Show More button will not be enabled, you will not be able to use it.</string>
                    </property>
                </widget>
                <spacer row="2" column="0" rowspan="2" colspan="1">
                    <property name="name">
                        <cstring>spacer12</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Minimum</enum>
                    </property>
                    <property name="tqsizeHint">
                        <size>
                            <width>16</width>
                            <height>48</height>
                        </size>
                    </property>
                </spacer>
                <widget class="KIntNumInput" row="3" column="4" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>kcfg_Fields</cstring>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>1</hsizetype>
                            <vsizetype>0</vsizetype>
                            <horstretch>0</horstretch>
                            <verstretch>0</verstretch>
                        </sizepolicy>
                    </property>
                    <property name="tqmaximumSize">
                        <size>
                            <width>32767</width>
                            <height>32767</height>
                        </size>
                    </property>
                    <property name="minValue">
                        <number>2</number>
                    </property>
                    <property name="maxValue">
                        <number>10</number>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Maximum number of fields to split translations into</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Enter the maximum number of answer fields you want to have. When splitting translations, the program will only split into this many parts, and the last part will contain the rest of the translation.</string>
                    </property>
                </widget>
                <spacer row="3" column="6">
                    <property name="name">
                        <cstring>spacer13</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="tqsizeHint">
                        <size>
                            <width>111</width>
                            <height>20</height>
                        </size>
                    </property>
                </spacer>
            </grid>
        </widget>
        <spacer row="4" column="0">
            <property name="name">
                <cstring>spacer6</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="tqsizeHint">
                <size>
                    <width>290</width>
                    <height>20</height>
                </size>
            </property>
        </spacer>
        <widget class="TQGroupBox" row="0" column="0">
            <property name="name">
                <cstring>QueryTimeout</cstring>
            </property>
            <property name="title">
                <string>Time Per Query</string>
            </property>
            <property name="exclusive" stdset="0">
                <bool>false</bool>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="TQButtonGroup" row="0" column="0" rowspan="2" colspan="1">
                    <property name="name">
                        <cstring>kcfg_QueryTimeout</cstring>
                    </property>
                    <property name="frameShape">
                        <enum>NoFrame</enum>
                    </property>
                    <property name="title">
                        <string></string>
                    </property>
                    <grid>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <widget class="TQRadioButton" row="1" column="0">
                            <property name="name">
                                <cstring>r_show_to</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Show solution</string>
                            </property>
                            <property name="buttonGroupId">
                                <number>1</number>
                            </property>
                        </widget>
                        <widget class="TQRadioButton" row="0" column="0">
                            <property name="name">
                                <cstring>r_no_limit</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;No time limitation</string>
                            </property>
                            <property name="buttonGroupId">
                                <number>0</number>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>Check this if you do not want any time limitation per query.</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>When this is checked, there is no time limitation for each query</string>
                            </property>
                        </widget>
                        <widget class="TQRadioButton" row="2" column="0">
                            <property name="name">
                                <cstring>r_cont_to</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Continue after timeout</string>
                            </property>
                        </widget>
                    </grid>
                </widget>
                <widget class="TQLayoutWidget" row="0" column="1">
                    <property name="name">
                        <cstring>tqlayout3</cstring>
                    </property>
                    <grid>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQLabel" row="0" column="0">
                            <property name="name">
                                <cstring>label_mqtime</cstring>
                            </property>
                            <property name="text">
                                <string>Ma&amp;x. time (s):</string>
                            </property>
                            <property name="buddy" stdset="0">
                                <cstring>kcfg_MaxTimePer</cstring>
                            </property>
                        </widget>
                        <widget class="TQCheckBox" row="1" column="1">
                            <property name="name">
                                <cstring>kcfg_ShowCounter</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>3</hsizetype>
                                    <vsizetype>0</vsizetype>
                                    <horstretch>0</horstretch>
                                    <verstretch>0</verstretch>
                                </sizepolicy>
                            </property>
                            <property name="text">
                                <string>S&amp;how remaining time</string>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>If checked, activate a progress bar to show the remaining time.</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>Check this button if you want to activate a progress bar to show the remaining time for each query.</string>
                            </property>
                        </widget>
                        <spacer row="1" column="0">
                            <property name="name">
                                <cstring>Spacer1</cstring>
                            </property>
                            <property name="orientation">
                                <enum>Horizontal</enum>
                            </property>
                            <property name="sizeType">
                                <enum>Minimum</enum>
                            </property>
                            <property name="tqsizeHint">
                                <size>
                                    <width>83</width>
                                    <height>20</height>
                                </size>
                            </property>
                        </spacer>
                        <widget class="KIntNumInput" row="0" column="1">
                            <property name="name">
                                <cstring>kcfg_MaxTimePer</cstring>
                            </property>
                            <property name="minValue">
                                <number>0</number>
                            </property>
                            <property name="maxValue">
                                <number>604800</number>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>Set the maximum time allowed per query.</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>You may set a time limit KVocTrain grants you to remember the correct answer. Set here the maximum time you want to allow per query.</string>
                            </property>
                        </widget>
                    </grid>
                </widget>
                <spacer row="1" column="1">
                    <property name="name">
                        <cstring>spacer9</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Vertical</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="tqsizeHint">
                        <size>
                            <width>200</width>
                            <height>16</height>
                        </size>
                    </property>
                </spacer>
            </grid>
        </widget>
    </grid>
</widget>
<connections>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_Periods</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_Colons</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_Semicolons</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_Commas</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_Fields</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>r_no_limit</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_MaxTimePer</receiver>
        <slot>setDisabled(bool)</slot>
    </connection>
    <connection>
        <sender>r_no_limit</sender>
        <signal>toggled(bool)</signal>
        <receiver>kcfg_ShowCounter</receiver>
        <slot>setDisabled(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>label_at</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>kcfg_Split</sender>
        <signal>toggled(bool)</signal>
        <receiver>label_split_max_fields</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>r_no_limit</sender>
        <signal>toggled(bool)</signal>
        <receiver>label_mqtime</receiver>
        <slot>setDisabled(bool)</slot>
    </connection>
</connections>
<tabstops>
    <tabstop>kcfg_MaxTimePer</tabstop>
    <tabstop>kcfg_ShowCounter</tabstop>
    <tabstop>kcfg_SwapDirection</tabstop>
    <tabstop>kcfg_AltLearn</tabstop>
    <tabstop>kcfg_Suggestions</tabstop>
    <tabstop>kcfg_Split</tabstop>
    <tabstop>kcfg_Periods</tabstop>
    <tabstop>kcfg_Colons</tabstop>
    <tabstop>kcfg_Semicolons</tabstop>
    <tabstop>kcfg_Commas</tabstop>
    <tabstop>kcfg_Fields</tabstop>
    <tabstop>kcfg_ShowMore</tabstop>
    <tabstop>kcfg_IKnow</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
</includehints>
</UI>