Switch to unified view

a/src/qtgui/recollmain.ui b/src/qtgui/recollmain.ui
...
...
21
        </sizepolicy>
21
        </sizepolicy>
22
    </property>
22
    </property>
23
    <property name="caption">
23
    <property name="caption">
24
        <string>recoll</string>
24
        <string>recoll</string>
25
    </property>
25
    </property>
26
    <hbox>
26
    <vbox>
27
        <property name="name">
27
        <property name="name">
28
            <cstring>unnamed</cstring>
28
            <cstring>unnamed</cstring>
29
        </property>
29
        </property>
30
        <widget class="QLayoutWidget">
30
        <widget class="QLayoutWidget">
31
            <property name="name">
31
            <property name="name">
32
                <cstring>layout3</cstring>
32
                <cstring>layout10</cstring>
33
            </property>
33
            </property>
34
            <vbox>
34
            <vbox>
35
                <property name="name">
35
                <property name="name">
36
                    <cstring>unnamed</cstring>
36
                    <cstring>unnamed</cstring>
37
                </property>
37
                </property>
38
                <widget class="QLayoutWidget">
38
                <widget class="QLayoutWidget">
39
                    <property name="name">
39
                    <property name="name">
40
                        <cstring>layout2</cstring>
40
                        <cstring>layout8</cstring>
41
                    </property>
41
                    </property>
42
                    <hbox>
42
                    <hbox>
43
                        <property name="name">
43
                        <property name="name">
44
                            <cstring>unnamed</cstring>
44
                            <cstring>unnamed</cstring>
45
                        </property>
45
                        </property>
...
...
60
                            </property>
60
                            </property>
61
                            <property name="text">
61
                            <property name="text">
62
                                <string>Search</string>
62
                                <string>Search</string>
63
                            </property>
63
                            </property>
64
                        </widget>
64
                        </widget>
65
                        <widget class="QPushButton">
66
                            <property name="name">
67
                                <cstring>listPrevPb</cstring>
68
                            </property>
69
                            <property name="text">
70
                                <string>Previous page</string>
71
                            </property>
72
                        </widget>
73
                        <widget class="QPushButton">
74
                            <property name="name">
75
                                <cstring>listNextPB</cstring>
76
                            </property>
77
                            <property name="text">
78
                                <string>Next page</string>
79
                            </property>
80
                        </widget>
65
                        <spacer>
81
                        <spacer>
66
                            <property name="name">
82
                            <property name="name">
67
                                <cstring>spacer1</cstring>
83
                                <cstring>spacer1</cstring>
68
                            </property>
84
                            </property>
69
                            <property name="orientation">
85
                            <property name="orientation">
...
...
72
                            <property name="sizeType">
88
                            <property name="sizeType">
73
                                <enum>Expanding</enum>
89
                                <enum>Expanding</enum>
74
                            </property>
90
                            </property>
75
                            <property name="sizeHint">
91
                            <property name="sizeHint">
76
                                <size>
92
                                <size>
77
                                    <width>329</width>
93
                                    <width>346</width>
78
                                    <height>20</height>
94
                                    <height>20</height>
79
                                </size>
95
                                </size>
80
                            </property>
96
                            </property>
81
                        </spacer>
97
                        </spacer>
82
                    </hbox>
98
                    </hbox>
83
                </widget>
99
                </widget>
84
                <widget class="QSplitter">
100
                <widget class="QSplitter">
85
                    <property name="name">
101
                    <property name="name">
86
                        <cstring>splitter9</cstring>
102
                        <cstring>splitter6</cstring>
87
                    </property>
88
                    <property name="sizePolicy">
89
                        <sizepolicy>
90
                            <hsizetype>7</hsizetype>
91
                            <vsizetype>7</vsizetype>
92
                            <horstretch>1</horstretch>
93
                            <verstretch>1</verstretch>
94
                        </sizepolicy>
95
                    </property>
96
                    <property name="minimumSize">
97
                        <size>
98
                            <width>0</width>
99
                            <height>0</height>
100
                        </size>
101
                    </property>
103
                    </property>
102
                    <property name="orientation">
104
                    <property name="orientation">
103
                        <enum>Horizontal</enum>
105
                        <enum>Horizontal</enum>
104
                    </property>
106
                    </property>
105
                    <widget class="QTextEdit">
107
                    <widget class="QTextEdit">
106
                        <property name="name">
108
                        <property name="name">
107
                            <cstring>resTextEdit</cstring>
109
                            <cstring>resTextEdit</cstring>
108
                        </property>
110
                        </property>
109
                        <property name="sizePolicy">
111
                        <property name="sizePolicy">
110
                            <sizepolicy>
112
                            <sizepolicy>
111
                                <hsizetype>7</hsizetype>
113
                                <hsizetype>5</hsizetype>
112
                                <vsizetype>7</vsizetype>
114
                                <vsizetype>5</vsizetype>
113
                                <horstretch>2</horstretch>
115
                                <horstretch>2</horstretch>
114
                                <verstretch>0</verstretch>
116
                                <verstretch>0</verstretch>
115
                            </sizepolicy>
117
                            </sizepolicy>
116
                        </property>
118
                        </property>
117
                        <property name="textFormat">
119
                        <property name="textFormat">
...
...
121
                            <bool>true</bool>
123
                            <bool>true</bool>
122
                        </property>
124
                        </property>
123
                    </widget>
125
                    </widget>
124
                    <widget class="QSplitter">
126
                    <widget class="QSplitter">
125
                        <property name="name">
127
                        <property name="name">
126
                            <cstring>splitter8</cstring>
128
                            <cstring>splitter5</cstring>
127
                        </property>
129
                        </property>
128
                        <property name="sizePolicy">
130
                        <property name="sizePolicy">
129
                            <sizepolicy>
131
                            <sizepolicy>
130
                                <hsizetype>7</hsizetype>
132
                                <hsizetype>5</hsizetype>
131
                                <vsizetype>7</vsizetype>
133
                                <vsizetype>5</vsizetype>
132
                                <horstretch>3</horstretch>
134
                                <horstretch>5</horstretch>
133
                                <verstretch>0</verstretch>
135
                                <verstretch>0</verstretch>
134
                            </sizepolicy>
136
                            </sizepolicy>
135
                        </property>
137
                        </property>
136
                        <property name="orientation">
138
                        <property name="orientation">
137
                            <enum>Vertical</enum>
139
                            <enum>Vertical</enum>
...
...
143
                            <property name="sizePolicy">
145
                            <property name="sizePolicy">
144
                                <sizepolicy>
146
                                <sizepolicy>
145
                                    <hsizetype>7</hsizetype>
147
                                    <hsizetype>7</hsizetype>
146
                                    <vsizetype>7</vsizetype>
148
                                    <vsizetype>7</vsizetype>
147
                                    <horstretch>0</horstretch>
149
                                    <horstretch>0</horstretch>
148
                                    <verstretch>2</verstretch>
150
                                    <verstretch>4</verstretch>
149
                                </sizepolicy>
151
                                </sizepolicy>
150
                            </property>
152
                            </property>
151
                            <property name="textFormat">
153
                            <property name="textFormat">
152
                                <enum>RichText</enum>
154
                                <enum>RichText</enum>
153
                            </property>
155
                            </property>
...
...
176
                        </widget>
178
                        </widget>
177
                    </widget>
179
                    </widget>
178
                </widget>
180
                </widget>
179
            </vbox>
181
            </vbox>
180
        </widget>
182
        </widget>
181
    </hbox>
183
    </vbox>
182
</widget>
184
</widget>
183
<menubar>
185
<menubar>
184
    <property name="name">
186
    <property name="name">
185
        <cstring>MenuBar</cstring>
187
        <cstring>MenuBar</cstring>
186
    </property>
188
    </property>
...
...
188
        <separator/>
190
        <separator/>
189
        <separator/>
191
        <separator/>
190
        <action name="fileExitAction"/>
192
        <action name="fileExitAction"/>
191
    </item>
193
    </item>
192
    <item text="&amp;Help" name="helpMenu">
194
    <item text="&amp;Help" name="helpMenu">
193
        <action name="helpContentsAction"/>
194
        <action name="helpIndexAction"/>
195
        <separator/>
195
        <separator/>
196
        <action name="helpAboutAction"/>
197
    </item>
196
    </item>
198
</menubar>
197
</menubar>
199
<toolbars>
198
<toolbars>
200
</toolbars>
199
</toolbars>
201
<actions>
200
<actions>
...
...
211
        </property>
210
        </property>
212
        <property name="accel">
211
        <property name="accel">
213
            <string></string>
212
            <string></string>
214
        </property>
213
        </property>
215
    </action>
214
    </action>
216
    <action>
217
        <property name="name">
218
            <cstring>helpContentsAction</cstring>
219
        </property>
220
        <property name="text">
221
            <string>Contents</string>
222
        </property>
223
        <property name="menuText">
224
            <string>&amp;Contents...</string>
225
        </property>
226
        <property name="accel">
227
            <string></string>
228
        </property>
229
    </action>
230
    <action>
231
        <property name="name">
232
            <cstring>helpIndexAction</cstring>
233
        </property>
234
        <property name="text">
235
            <string>Index</string>
236
        </property>
237
        <property name="menuText">
238
            <string>&amp;Index...</string>
239
        </property>
240
        <property name="accel">
241
            <string></string>
242
        </property>
243
    </action>
244
    <action>
245
        <property name="name">
246
            <cstring>helpAboutAction</cstring>
247
        </property>
248
        <property name="text">
249
            <string>About</string>
250
        </property>
251
        <property name="menuText">
252
            <string>&amp;About</string>
253
        </property>
254
        <property name="accel">
255
            <string></string>
256
        </property>
257
    </action>
258
</actions>
215
</actions>
259
<connections>
216
<connections>
260
    <connection>
217
    <connection>
261
        <sender>fileExitAction</sender>
218
        <sender>fileExitAction</sender>
262
        <signal>activated()</signal>
219
        <signal>activated()</signal>
263
        <receiver>RecollMain</receiver>
220
        <receiver>RecollMain</receiver>
264
        <slot>fileExit()</slot>
221
        <slot>fileExit()</slot>
265
    </connection>
222
    </connection>
266
    <connection>
223
    <connection>
267
        <sender>helpIndexAction</sender>
268
        <signal>activated()</signal>
269
        <receiver>RecollMain</receiver>
270
        <slot>helpIndex()</slot>
271
    </connection>
272
    <connection>
273
        <sender>helpContentsAction</sender>
274
        <signal>activated()</signal>
275
        <receiver>RecollMain</receiver>
276
        <slot>helpContents()</slot>
277
    </connection>
278
    <connection>
279
        <sender>helpAboutAction</sender>
280
        <signal>activated()</signal>
281
        <receiver>RecollMain</receiver>
282
        <slot>helpAbout()</slot>
283
    </connection>
284
    <connection>
285
        <sender>resTextEdit</sender>
224
        <sender>resTextEdit</sender>
286
        <signal>clicked(int,int)</signal>
225
        <signal>clicked(int,int)</signal>
287
        <receiver>RecollMain</receiver>
226
        <receiver>RecollMain</receiver>
288
        <slot>resTextEdit_clicked(int,int)</slot>
227
        <slot>resTextEdit_clicked(int,int)</slot>
289
    </connection>
228
    </connection>
...
...
302
    <connection>
241
    <connection>
303
        <sender>Search</sender>
242
        <sender>Search</sender>
304
        <signal>clicked()</signal>
243
        <signal>clicked()</signal>
305
        <receiver>RecollMain</receiver>
244
        <receiver>RecollMain</receiver>
306
        <slot>Search_clicked()</slot>
245
        <slot>Search_clicked()</slot>
246
    </connection>
247
    <connection>
248
        <sender>listPrevPb</sender>
249
        <signal>clicked()</signal>
250
        <receiver>RecollMain</receiver>
251
        <slot>listPrevPB_clicked()</slot>
252
    </connection>
253
    <connection>
254
        <sender>listNextPB</sender>
255
        <signal>clicked()</signal>
256
        <receiver>RecollMain</receiver>
257
        <slot>listNextPB_clicked()</slot>
307
    </connection>
258
    </connection>
308
</connections>
259
</connections>
309
<includes>
260
<includes>
310
    <include location="local" impldecl="in implementation">recollmain.ui.h</include>
261
    <include location="local" impldecl="in implementation">recollmain.ui.h</include>
311
</includes>
262
</includes>
263
<variables>
264
    <variable>int reslist_current;</variable>
265
    <variable>int reslist_winfirst;</variable>
266
</variables>
312
<slots>
267
<slots>
313
    <slot>fileExit()</slot>
268
    <slot>fileExit()</slot>
314
    <slot>helpIndex()</slot>
315
    <slot>helpContents()</slot>
316
    <slot>helpAbout()</slot>
317
    <slot>resTextEdit_clicked( int par, int car )</slot>
269
    <slot>resTextEdit_clicked( int par, int car )</slot>
318
    <slot>queryText_returnPressed()</slot>
270
    <slot>queryText_returnPressed()</slot>
319
    <slot>Search_clicked()</slot>
271
    <slot>Search_clicked()</slot>
272
    <slot>listPrevPB_clicked()</slot>
273
    <slot>listNextPB_clicked()</slot>
320
</slots>
274
</slots>
321
<pixmapinproject/>
275
<pixmapinproject/>
322
<layoutdefaults spacing="6" margin="11"/>
276
<layoutdefaults spacing="6" margin="11"/>
323
</UI>
277
</UI>