Switch to unified view

a/src/qtgui/advsearch.ui b/src/qtgui/advsearch.ui
...
...
22
        <property name="name">
22
        <property name="name">
23
            <cstring>unnamed</cstring>
23
            <cstring>unnamed</cstring>
24
        </property>
24
        </property>
25
        <widget class="QLayoutWidget">
25
        <widget class="QLayoutWidget">
26
            <property name="name">
26
            <property name="name">
27
                <cstring>layout28</cstring>
27
                <cstring>layout13</cstring>
28
            </property>
28
            </property>
29
            <vbox>
29
            <vbox>
30
                <property name="name">
30
                <property name="name">
31
                    <cstring>unnamed</cstring>
31
                    <cstring>unnamed</cstring>
32
                </property>
32
                </property>
...
...
143
                    </property>
143
                    </property>
144
                    <property name="orientation">
144
                    <property name="orientation">
145
                        <enum>Horizontal</enum>
145
                        <enum>Horizontal</enum>
146
                    </property>
146
                    </property>
147
                </widget>
147
                </widget>
148
                <widget class="QCheckBox">
149
                    <property name="name">
150
                        <cstring>restrictFtCB</cstring>
151
                    </property>
152
                    <property name="text">
153
                        <string>Restrict file types</string>
154
                    </property>
155
                </widget>
148
                <widget class="QLayoutWidget">
156
                <widget class="QLayoutWidget">
149
                    <property name="name">
157
                    <property name="name">
150
                        <cstring>layout19</cstring>
158
                        <cstring>layout12</cstring>
151
                    </property>
159
                    </property>
152
                    <vbox>
160
                    <hbox>
153
                        <property name="name">
161
                        <property name="name">
154
                            <cstring>unnamed</cstring>
162
                            <cstring>unnamed</cstring>
155
                        </property>
163
                        </property>
156
                        <widget class="QCheckBox">
157
                            <property name="name">
158
                                <cstring>restrictFtCB</cstring>
159
                            </property>
160
                            <property name="text">
161
                                <string>Restrict file types</string>
162
                            </property>
163
                        </widget>
164
                        <widget class="QLayoutWidget">
164
                        <widget class="QLayoutWidget">
165
                            <property name="name">
165
                            <property name="name">
166
                                <cstring>layout11</cstring>
166
                                <cstring>layout9</cstring>
167
                            </property>
167
                            </property>
168
                            <hbox>
168
                            <vbox>
169
                                <property name="name">
169
                                <property name="name">
170
                                    <cstring>unnamed</cstring>
170
                                    <cstring>unnamed</cstring>
171
                                </property>
171
                                </property>
172
                                <widget class="QLayoutWidget">
172
                                <widget class="QLabel">
173
                                    <property name="name">
174
                                        <cstring>layout9</cstring>
175
                                    </property>
176
                                    <vbox>
177
                                        <property name="name">
173
                                    <property name="name">
178
                                            <cstring>unnamed</cstring>
174
                                        <cstring>textLabel2_2</cstring>
179
                                        </property>
175
                                    </property>
180
                                        <widget class="QLabel">
181
                                            <property name="name">
182
                                                <cstring>textLabel2_2</cstring>
183
                                            </property>
184
                                            <property name="text">
176
                                    <property name="text">
185
                                                <string>Searched file types</string>
177
                                        <string>Searched file types</string>
186
                                            </property>
178
                                    </property>
187
                                        </widget>
179
                                </widget>
188
                                        <widget class="QListBox">
180
                                <widget class="QListBox">
189
                                            <property name="name">
190
                                                <cstring>yesFiltypsLB</cstring>
191
                                            </property>
192
                                            <property name="enabled">
193
                                                <bool>false</bool>
194
                                            </property>
195
                                            <property name="minimumSize">
196
                                                <size>
197
                                                    <width>200</width>
198
                                                    <height>100</height>
199
                                                </size>
200
                                            </property>
201
                                            <property name="selectionMode">
202
                                                <enum>Extended</enum>
203
                                            </property>
204
                                        </widget>
205
                                    </vbox>
206
                                </widget>
207
                                <widget class="QLayoutWidget">
208
                                    <property name="name">
209
                                        <cstring>layout11</cstring>
210
                                    </property>
211
                                    <vbox>
212
                                        <property name="name">
181
                                    <property name="name">
213
                                            <cstring>unnamed</cstring>
182
                                        <cstring>yesFiltypsLB</cstring>
214
                                        </property>
183
                                    </property>
215
                                        <widget class="QPushButton">
216
                                            <property name="name">
217
                                                <cstring>delFiltypPB</cstring>
218
                                            </property>
219
                                            <property name="enabled">
220
                                                <bool>false</bool>
221
                                            </property>
222
                                            <property name="text">
223
                                                <string>--------&gt;</string>
224
                                            </property>
225
                                        </widget>
226
                                        <widget class="QPushButton">
227
                                            <property name="name">
228
                                                <cstring>addFiltypPB</cstring>
229
                                            </property>
230
                                            <property name="enabled">
231
                                                <bool>false</bool>
232
                                            </property>
233
                                            <property name="text">
234
                                                <string>&lt;---------</string>
235
                                            </property>
236
                                        </widget>
237
                                    </vbox>
238
                                </widget>
239
                                <widget class="QLayoutWidget">
240
                                    <property name="name">
184
                                    <property name="enabled">
241
                                        <cstring>layout10</cstring>
242
                                    </property>
243
                                    <vbox>
185
                                        <bool>false</bool>
244
                                        <property name="name">
245
                                            <cstring>unnamed</cstring>
246
                                        </property>
186
                                    </property>
247
                                        <widget class="QLabel">
248
                                            <property name="name">
249
                                                <cstring>textLabel3</cstring>
250
                                            </property>
251
                                            <property name="text">
252
                                                <string>Ignored file types</string>
253
                                            </property>
254
                                        </widget>
255
                                        <widget class="QListBox">
256
                                            <property name="name">
257
                                                <cstring>noFiltypsLB</cstring>
258
                                            </property>
259
                                            <property name="enabled">
260
                                                <bool>false</bool>
261
                                            </property>
262
                                            <property name="minimumSize">
187
                                    <property name="minimumSize">
263
                                                <size>
188
                                        <size>
264
                                                    <width>200</width>
189
                                            <width>200</width>
265
                                                    <height>100</height>
190
                                            <height>100</height>
266
                                                </size>
191
                                        </size>
267
                                            </property>
192
                                    </property>
268
                                            <property name="selectionMode">
193
                                    <property name="selectionMode">
269
                                                <enum>Extended</enum>
194
                                        <enum>Extended</enum>
270
                                            </property>
195
                                    </property>
271
                                        </widget>
196
                                </widget>
272
                                    </vbox>
273
                                </widget>
274
                            </hbox>
197
                            </vbox>
198
                        </widget>
199
                        <widget class="QLayoutWidget">
200
                            <property name="name">
201
                                <cstring>layout11</cstring>
202
                            </property>
203
                            <vbox>
204
                                <property name="name">
205
                                    <cstring>unnamed</cstring>
206
                                </property>
207
                                <widget class="QPushButton">
208
                                    <property name="name">
209
                                        <cstring>delAFiltypPB</cstring>
210
                                    </property>
211
                                    <property name="enabled">
212
                                        <bool>false</bool>
213
                                    </property>
214
                                    <property name="text">
215
                                        <string>All ----&gt;</string>
216
                                    </property>
275
                        </widget>
217
                                </widget>
218
                                <widget class="QPushButton">
219
                                    <property name="name">
220
                                        <cstring>delFiltypPB</cstring>
221
                                    </property>
222
                                    <property name="enabled">
223
                                        <bool>false</bool>
224
                                    </property>
225
                                    <property name="text">
226
                                        <string>Sel -----&gt;</string>
227
                                    </property>
228
                                </widget>
229
                                <widget class="QPushButton">
230
                                    <property name="name">
231
                                        <cstring>addFiltypPB</cstring>
232
                                    </property>
233
                                    <property name="enabled">
234
                                        <bool>false</bool>
235
                                    </property>
236
                                    <property name="text">
237
                                        <string>&lt;----- Sel</string>
238
                                    </property>
239
                                </widget>
240
                                <widget class="QPushButton">
241
                                    <property name="name">
242
                                        <cstring>addAFiltypPB</cstring>
243
                                    </property>
244
                                    <property name="enabled">
245
                                        <bool>false</bool>
246
                                    </property>
247
                                    <property name="text">
248
                                        <string>&lt;----- All</string>
249
                                    </property>
250
                                </widget>
251
                            </vbox>
252
                        </widget>
253
                        <widget class="QLayoutWidget">
254
                            <property name="name">
255
                                <cstring>layout10</cstring>
256
                            </property>
257
                            <vbox>
258
                                <property name="name">
259
                                    <cstring>unnamed</cstring>
260
                                </property>
261
                                <widget class="QLabel">
262
                                    <property name="name">
263
                                        <cstring>textLabel3</cstring>
264
                                    </property>
265
                                    <property name="text">
266
                                        <string>Ignored file types</string>
267
                                    </property>
268
                                </widget>
269
                                <widget class="QListBox">
270
                                    <property name="name">
271
                                        <cstring>noFiltypsLB</cstring>
272
                                    </property>
273
                                    <property name="enabled">
274
                                        <bool>false</bool>
275
                                    </property>
276
                                    <property name="minimumSize">
277
                                        <size>
278
                                            <width>200</width>
279
                                            <height>100</height>
280
                                        </size>
281
                                    </property>
282
                                    <property name="selectionMode">
283
                                        <enum>Extended</enum>
284
                                    </property>
285
                                </widget>
286
                            </vbox>
287
                        </widget>
276
                    </vbox>
288
                    </hbox>
277
                </widget>
289
                </widget>
278
                <widget class="Line">
290
                <widget class="Line">
279
                    <property name="name">
291
                    <property name="name">
280
                        <cstring>line3</cstring>
292
                        <cstring>line3</cstring>
281
                    </property>
293
                    </property>
...
...
434
    <connection>
446
    <connection>
435
        <sender>subtreeLE</sender>
447
        <sender>subtreeLE</sender>
436
        <signal>returnPressed()</signal>
448
        <signal>returnPressed()</signal>
437
        <receiver>advsearch</receiver>
449
        <receiver>advsearch</receiver>
438
        <slot>searchPB_clicked()</slot>
450
        <slot>searchPB_clicked()</slot>
451
    </connection>
452
    <connection>
453
        <sender>delAFiltypPB</sender>
454
        <signal>clicked()</signal>
455
        <receiver>advsearch</receiver>
456
        <slot>delAFiltypPB_clicked()</slot>
457
    </connection>
458
    <connection>
459
        <sender>addAFiltypPB</sender>
460
        <signal>clicked()</signal>
461
        <receiver>advsearch</receiver>
462
        <slot>addAFiltypPB_clicked()</slot>
439
    </connection>
463
    </connection>
440
</connections>
464
</connections>
441
<includes>
465
<includes>
442
    <include location="local" impldecl="in declaration">recoll.h</include>
466
    <include location="local" impldecl="in declaration">recoll.h</include>
443
    <include location="local" impldecl="in implementation">advsearch.ui.h</include>
467
    <include location="local" impldecl="in implementation">advsearch.ui.h</include>
...
...
445
<signals>
469
<signals>
446
    <signal>startSearch(Rcl::AdvSearchData)</signal>
470
    <signal>startSearch(Rcl::AdvSearchData)</signal>
447
</signals>
471
</signals>
448
<slots>
472
<slots>
449
    <slot>delFiltypPB_clicked()</slot>
473
    <slot>delFiltypPB_clicked()</slot>
474
    <slot>delAFiltypPB_clicked()</slot>
450
    <slot>addFiltypPB_clicked()</slot>
475
    <slot>addFiltypPB_clicked()</slot>
476
    <slot>addAFiltypPB_clicked()</slot>
451
    <slot>restrictFtCB_toggled( bool on )</slot>
477
    <slot>restrictFtCB_toggled( bool on )</slot>
452
    <slot>searchPB_clicked()</slot>
478
    <slot>searchPB_clicked()</slot>
453
    <slot>browsePB_clicked()</slot>
479
    <slot>browsePB_clicked()</slot>
454
</slots>
480
</slots>
455
<functions>
481
<functions>