Switch to unified view

a/src/qtgui/uiprefs.ui b/src/qtgui/uiprefs.ui
...
...
6
    </property>
6
    </property>
7
    <property name="geometry">
7
    <property name="geometry">
8
        <rect>
8
        <rect>
9
            <x>0</x>
9
            <x>0</x>
10
            <y>0</y>
10
            <y>0</y>
11
            <width>455</width>
11
            <width>533</width>
12
            <height>238</height>
12
            <height>372</height>
13
        </rect>
13
        </rect>
14
    </property>
14
    </property>
15
    <property name="caption">
15
    <property name="caption">
16
        <string>MyDialog</string>
16
        <string>MyDialog</string>
17
    </property>
17
    </property>
...
...
82
                                    </widget>
82
                                    </widget>
83
                                </hbox>
83
                                </hbox>
84
                            </widget>
84
                            </widget>
85
                            <widget class="QLayoutWidget">
85
                            <widget class="QLayoutWidget">
86
                                <property name="name">
86
                                <property name="name">
87
                                    <cstring>layout6</cstring>
87
                                    <cstring>layout4</cstring>
88
                                </property>
88
                                </property>
89
                                <hbox>
89
                                <hbox>
90
                                    <property name="name">
90
                                    <property name="name">
91
                                        <cstring>unnamed</cstring>
91
                                        <cstring>unnamed</cstring>
92
                                    </property>
92
                                    </property>
...
...
255
                                        <height>70</height>
255
                                        <height>70</height>
256
                                    </size>
256
                                    </size>
257
                                </property>
257
                                </property>
258
                            </spacer>
258
                            </spacer>
259
                        </vbox>
259
                        </vbox>
260
                    </widget>
261
                </vbox>
262
            </widget>
263
            <widget class="QWidget">
264
                <property name="name">
265
                    <cstring>ExtraDb</cstring>
266
                </property>
267
                <attribute name="title">
268
                    <string>Extra Databases</string>
269
                </attribute>
270
                <vbox>
271
                    <property name="name">
272
                        <cstring>unnamed</cstring>
273
                    </property>
274
                    <widget class="QLayoutWidget">
275
                        <property name="name">
276
                            <cstring>layout12</cstring>
277
                        </property>
278
                        <hbox>
279
                            <property name="name">
280
                                <cstring>unnamed</cstring>
281
                            </property>
282
                            <widget class="QPushButton">
283
                                <property name="name">
284
                                    <cstring>addExtraDbPB</cstring>
285
                                </property>
286
                                <property name="enabled">
287
                                    <bool>false</bool>
288
                                </property>
289
                                <property name="text">
290
                                    <string>Add database</string>
291
                                </property>
292
                                <property name="toolTip" stdset="0">
293
                                    <string>Select the recoll.conf file defining the database you want to add, then click Add Database</string>
294
                                </property>
295
                            </widget>
296
                            <widget class="QLineEdit">
297
                                <property name="name">
298
                                    <cstring>extraDbLE</cstring>
299
                                </property>
300
                                <property name="minimumSize">
301
                                    <size>
302
                                        <width>200</width>
303
                                        <height>0</height>
304
                                    </size>
305
                                </property>
306
                                <property name="toolTip" stdset="0">
307
                                    <string>Select the recoll.conf file defining the database you want to add, then click Add Database</string>
308
                                </property>
309
                            </widget>
310
                            <widget class="QPushButton">
311
                                <property name="name">
312
                                    <cstring>browseDbPB</cstring>
313
                                </property>
314
                                <property name="text">
315
                                    <string>Browse</string>
316
                                </property>
317
                                <property name="toolTip" stdset="0">
318
                                    <string>Select the recoll.conf file defining the database you want to add, then click Add Database</string>
319
                                </property>
320
                            </widget>
321
                        </hbox>
322
                    </widget>
323
                    <widget class="QLayoutWidget">
324
                        <property name="name">
325
                            <cstring>layout12</cstring>
326
                        </property>
327
                        <hbox>
328
                            <property name="name">
329
                                <cstring>unnamed</cstring>
330
                            </property>
331
                            <widget class="QLayoutWidget">
332
                                <property name="name">
333
                                    <cstring>layout13</cstring>
334
                                </property>
335
                                <vbox>
336
                                    <property name="name">
337
                                        <cstring>unnamed</cstring>
338
                                    </property>
339
                                    <widget class="QLabel">
340
                                        <property name="name">
341
                                            <cstring>textLabel2_2</cstring>
342
                                        </property>
343
                                        <property name="text">
344
                                            <string>All extra databases</string>
345
                                        </property>
346
                                        <property name="toolTip" stdset="0">
347
                                            <string>All known extra databases</string>
348
                                        </property>
349
                                    </widget>
350
                                    <widget class="QListBox">
351
                                        <property name="name">
352
                                            <cstring>allDbsLB</cstring>
353
                                        </property>
354
                                        <property name="enabled">
355
                                            <bool>true</bool>
356
                                        </property>
357
                                        <property name="minimumSize">
358
                                            <size>
359
                                                <width>200</width>
360
                                                <height>200</height>
361
                                            </size>
362
                                        </property>
363
                                        <property name="selectionMode">
364
                                            <enum>Extended</enum>
365
                                        </property>
366
                                    </widget>
367
                                </vbox>
368
                            </widget>
369
                            <widget class="QLayoutWidget">
370
                                <property name="name">
371
                                    <cstring>layout11</cstring>
372
                                </property>
373
                                <vbox>
374
                                    <property name="name">
375
                                        <cstring>unnamed</cstring>
376
                                    </property>
377
                                    <widget class="QPushButton">
378
                                        <property name="name">
379
                                            <cstring>addAADbPB</cstring>
380
                                        </property>
381
                                        <property name="enabled">
382
                                            <bool>true</bool>
383
                                        </property>
384
                                        <property name="text">
385
                                            <string>All ----&gt;</string>
386
                                        </property>
387
                                        <property name="autoDefault">
388
                                            <bool>false</bool>
389
                                        </property>
390
                                    </widget>
391
                                    <widget class="QPushButton">
392
                                        <property name="name">
393
                                            <cstring>addADbPB</cstring>
394
                                        </property>
395
                                        <property name="enabled">
396
                                            <bool>true</bool>
397
                                        </property>
398
                                        <property name="text">
399
                                            <string>Sel -----&gt;</string>
400
                                        </property>
401
                                        <property name="autoDefault">
402
                                            <bool>false</bool>
403
                                        </property>
404
                                    </widget>
405
                                    <widget class="QPushButton">
406
                                        <property name="name">
407
                                            <cstring>delADbPB</cstring>
408
                                        </property>
409
                                        <property name="enabled">
410
                                            <bool>true</bool>
411
                                        </property>
412
                                        <property name="text">
413
                                            <string>&lt;----- Sel</string>
414
                                        </property>
415
                                        <property name="autoDefault">
416
                                            <bool>false</bool>
417
                                        </property>
418
                                    </widget>
419
                                    <widget class="QPushButton">
420
                                        <property name="name">
421
                                            <cstring>delAADbPB</cstring>
422
                                        </property>
423
                                        <property name="enabled">
424
                                            <bool>true</bool>
425
                                        </property>
426
                                        <property name="text">
427
                                            <string>&lt;----- All</string>
428
                                        </property>
429
                                        <property name="autoDefault">
430
                                            <bool>false</bool>
431
                                        </property>
432
                                    </widget>
433
                                </vbox>
434
                            </widget>
435
                            <widget class="QLayoutWidget">
436
                                <property name="name">
437
                                    <cstring>layout14</cstring>
438
                                </property>
439
                                <vbox>
440
                                    <property name="name">
441
                                        <cstring>unnamed</cstring>
442
                                    </property>
443
                                    <widget class="QLabel">
444
                                        <property name="name">
445
                                            <cstring>textLabel3</cstring>
446
                                        </property>
447
                                        <property name="text">
448
                                            <string>Active extra databases</string>
449
                                        </property>
450
                                        <property name="toolTip" stdset="0">
451
                                            <string>Extra databases that will be searched in addition to the main one</string>
452
                                        </property>
453
                                    </widget>
454
                                    <widget class="QListBox">
455
                                        <property name="name">
456
                                            <cstring>actDbsLB</cstring>
457
                                        </property>
458
                                        <property name="enabled">
459
                                            <bool>true</bool>
460
                                        </property>
461
                                        <property name="minimumSize">
462
                                            <size>
463
                                                <width>200</width>
464
                                                <height>200</height>
465
                                            </size>
466
                                        </property>
467
                                        <property name="selectionMode">
468
                                            <enum>Extended</enum>
469
                                        </property>
470
                                    </widget>
471
                                </vbox>
472
                            </widget>
473
                        </hbox>
260
                    </widget>
474
                    </widget>
261
                </vbox>
475
                </vbox>
262
            </widget>
476
            </widget>
263
        </widget>
477
        </widget>
264
        <widget class="QLayoutWidget">
478
        <widget class="QLayoutWidget">
...
...
366
<slots>
580
<slots>
367
    <slot access="protected">accept()</slot>
581
    <slot access="protected">accept()</slot>
368
    <slot>showFontDialog()</slot>
582
    <slot>showFontDialog()</slot>
369
    <slot>resetReslistFont()</slot>
583
    <slot>resetReslistFont()</slot>
370
    <slot>showBrowserDialog()</slot>
584
    <slot>showBrowserDialog()</slot>
585
    <slot>extraDbTextChanged( const QString &amp; text )</slot>
586
    <slot>addAADbPB_clicked()</slot>
587
    <slot>addADbPB_clicked()</slot>
588
    <slot>delADbPB_clicked()</slot>
589
    <slot>delAADbPB_clicked()</slot>
590
    <slot>addExtraDbPB_clicked()</slot>
591
    <slot>browseDbPB_clicked()</slot>
371
</slots>
592
</slots>
372
<functions>
593
<functions>
373
    <function>init()</function>
594
    <function>init()</function>
374
</functions>
595
</functions>
375
<layoutdefaults spacing="6" margin="11"/>
596
<layoutdefaults spacing="6" margin="11"/>