Switch to unified view

a/src/qtgui/uiprefs.ui b/src/qtgui/uiprefs.ui
...
...
20
    </property>
20
    </property>
21
    <vbox>
21
    <vbox>
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="QTabWidget">
26
            <property name="name">
26
            <property name="name">
27
                <cstring>layout5</cstring>
27
                <cstring>tabWidget2</cstring>
28
            </property>
28
            </property>
29
            <vbox>
29
            <widget class="QWidget">
30
                <property name="name">
30
                <property name="name">
31
                    <cstring>tab</cstring>
32
                </property>
33
                <attribute name="title">
34
                    <string>User interface</string>
35
                </attribute>
36
                <vbox>
37
                    <property name="name">
31
                    <cstring>unnamed</cstring>
38
                        <cstring>unnamed</cstring>
32
                </property>
39
                    </property>
33
                <widget class="QTabWidget">
34
                    <property name="name">
35
                        <cstring>tabWidget2</cstring>
36
                    </property>
37
                    <widget class="QWidget">
40
                    <widget class="QLayoutWidget">
38
                        <property name="name">
41
                        <property name="name">
39
                            <cstring>tab</cstring>
42
                            <cstring>layout4</cstring>
40
                        </property>
43
                        </property>
44
                        <grid>
45
                            <property name="name">
46
                                <cstring>unnamed</cstring>
47
                            </property>
48
                            <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
49
                                <property name="name">
50
                                    <cstring>textLabel1</cstring>
51
                                </property>
52
                                <property name="text">
53
                                    <string>Number of entries in a result page</string>
54
                                </property>
55
                            </widget>
56
                            <widget class="QLabel" row="1" column="0">
57
                                <property name="name">
58
                                    <cstring>textLabel3</cstring>
59
                                </property>
60
                                <property name="text">
61
                                    <string>Result list font</string>
62
                                </property>
63
                            </widget>
64
                            <widget class="QPushButton" row="1" column="1" rowspan="1" colspan="2">
65
                                <property name="name">
66
                                    <cstring>reslistFontPB</cstring>
67
                                </property>
68
                                <property name="text">
69
                                    <string>Helvetica-10</string>
70
                                </property>
71
                                <property name="toolTip" stdset="0">
72
                                    <string>Opens a dialog to select the result list font</string>
73
                                </property>
74
                            </widget>
75
                            <widget class="QSpinBox" row="0" column="2" rowspan="1" colspan="2">
76
                                <property name="name">
77
                                    <cstring>pageLenSB</cstring>
78
                                </property>
79
                                <property name="minValue">
80
                                    <number>1</number>
81
                                </property>
82
                                <property name="value">
83
                                    <number>8</number>
84
                                </property>
85
                            </widget>
86
                            <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="4">
87
                                <property name="name">
88
                                    <cstring>useIconsCB</cstring>
89
                                </property>
90
                                <property name="text">
91
                                    <string>Show document type icons in result list</string>
92
                                </property>
93
                                <property name="checked">
94
                                    <bool>true</bool>
95
                                </property>
96
                            </widget>
97
                            <widget class="QPushButton" row="1" column="3">
98
                                <property name="name">
99
                                    <cstring>resetFontPB</cstring>
100
                                </property>
101
                                <property name="text">
102
                                    <string>Reset</string>
103
                                </property>
104
                                <property name="toolTip" stdset="0">
105
                                    <string>Resets the result list font to the system default</string>
106
                                </property>
107
                            </widget>
108
                        </grid>
109
                    </widget>
110
                </vbox>
111
            </widget>
112
            <widget class="QWidget">
113
                <property name="name">
114
                    <cstring>tab</cstring>
115
                </property>
41
                        <attribute name="title">
116
                <attribute name="title">
42
                            <string>User interface</string>
117
                    <string>Search parameters</string>
43
                        </attribute>
118
                </attribute>
119
                <vbox>
120
                    <property name="name">
121
                        <cstring>unnamed</cstring>
122
                    </property>
123
                    <widget class="QLayoutWidget">
124
                        <property name="name">
125
                            <cstring>layout7</cstring>
126
                        </property>
44
                        <vbox>
127
                        <vbox>
45
                            <property name="name">
128
                            <property name="name">
46
                                <cstring>unnamed</cstring>
129
                                <cstring>unnamed</cstring>
47
                            </property>
130
                            </property>
48
                            <widget class="QLayoutWidget">
131
                            <widget class="QLayoutWidget">
49
                                <property name="name">
132
                                <property name="name">
50
                                    <cstring>layout4</cstring>
133
                                    <cstring>layout6</cstring>
51
                                </property>
134
                                </property>
52
                                <grid>
135
                                <hbox>
53
                                    <property name="name">
136
                                    <property name="name">
54
                                        <cstring>unnamed</cstring>
137
                                        <cstring>unnamed</cstring>
55
                                    </property>
138
                                    </property>
56
                                    <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
139
                                    <widget class="QLabel">
57
                                        <property name="name">
140
                                        <property name="name">
58
                                            <cstring>textLabel1</cstring>
141
                                            <cstring>textLabel1_2</cstring>
59
                                        </property>
142
                                        </property>
60
                                        <property name="text">
143
                                        <property name="text">
61
                                            <string>Number of entries in a result page</string>
144
                                            <string>Stemming language</string>
62
                                        </property>
145
                                        </property>
63
                                    </widget>
146
                                    </widget>
64
                                    <widget class="QLabel" row="1" column="0">
147
                                    <widget class="QComboBox">
65
                                        <property name="name">
148
                                        <property name="name">
66
                                            <cstring>textLabel3</cstring>
149
                                            <cstring>stemLangCMB</cstring>
67
                                        </property>
68
                                        <property name="text">
69
                                            <string>Result list font</string>
70
                                        </property>
150
                                        </property>
71
                                    </widget>
151
                                    </widget>
72
                                    <widget class="QPushButton" row="1" column="1" rowspan="1" colspan="2">
152
                                </hbox>
153
                            </widget>
154
                            <widget class="QCheckBox">
73
                                        <property name="name">
155
                                <property name="name">
74
                                            <cstring>reslistFontPB</cstring>
156
                                    <cstring>buildAbsCB</cstring>
75
                                        </property>
157
                                </property>
76
                                        <property name="text">
158
                                <property name="text">
77
                                            <string>Helvetica-10</string>
159
                                    <string>Dynamically build abstracts</string>
78
                                        </property>
160
                                </property>
79
                                        <property name="toolTip" stdset="0">
161
                                <property name="toolTip" stdset="0">
80
                                            <string>Opens a dialog to select the result list font</string>
162
                                    <string>Do we try to build abstracts for result list entries by using the context of query terms ? 
163
May be slow for big documents.</string>
81
                                        </property>
164
                                </property>
82
                                    </widget>
165
                            </widget>
83
                                    <widget class="QSpinBox" row="0" column="2" rowspan="1" colspan="2">
166
                            <widget class="QCheckBox">
84
                                        <property name="name">
167
                                <property name="name">
85
                                            <cstring>pageLenSB</cstring>
168
                                    <cstring>replAbsCB</cstring>
86
                                        </property>
169
                                </property>
87
                                        <property name="minValue">
88
                                            <number>1</number>
89
                                        </property>
90
                                        <property name="value">
91
                                            <number>8</number>
92
                                        </property>
93
                                    </widget>
94
                                    <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="4">
95
                                        <property name="name">
96
                                            <cstring>useIconsCB</cstring>
97
                                        </property>
98
                                        <property name="text">
170
                                <property name="text">
99
                                            <string>Show document type icons in result list</string>
171
                                    <string>Replace abstracts from documents</string>
100
                                        </property>
172
                                </property>
101
                                        <property name="checked">
102
                                            <bool>true</bool>
103
                                        </property>
104
                                    </widget>
105
                                    <widget class="QPushButton" row="1" column="3">
106
                                        <property name="name">
107
                                            <cstring>resetFontPB</cstring>
108
                                        </property>
109
                                        <property name="text">
110
                                            <string>Reset</string>
111
                                        </property>
112
                                        <property name="toolTip" stdset="0">
173
                                <property name="toolTip" stdset="0">
113
                                            <string>Resets the result list font to the system default</string>
174
                                    <string>Do we synthetize an abstract even if the document seemed to have one?</string>
114
                                        </property>
175
                                </property>
176
                            </widget>
177
                            <spacer>
178
                                <property name="name">
179
                                    <cstring>spacer2</cstring>
180
                                </property>
181
                                <property name="orientation">
182
                                    <enum>Vertical</enum>
183
                                </property>
184
                                <property name="sizeType">
185
                                    <enum>Expanding</enum>
186
                                </property>
187
                                <property name="sizeHint">
188
                                    <size>
189
                                        <width>20</width>
190
                                        <height>70</height>
115
                                    </widget>
191
                                    </size>
116
                                </grid>
192
                                </property>
117
                            </widget>
193
                            </spacer>
118
                        </vbox>
194
                        </vbox>
119
                    </widget>
195
                    </widget>
196
                </vbox>
197
            </widget>
198
        </widget>
120
                    <widget class="QWidget">
199
        <widget class="QLayoutWidget">
200
            <property name="name">
201
                <cstring>Layout1</cstring>
202
            </property>
203
            <hbox>
204
                <property name="name">
205
                    <cstring>unnamed</cstring>
206
                </property>
207
                <property name="margin">
208
                    <number>0</number>
209
                </property>
210
                <property name="spacing">
211
                    <number>6</number>
212
                </property>
213
                <spacer>
121
                        <property name="name">
214
                    <property name="name">
122
                            <cstring>tab</cstring>
215
                        <cstring>Horizontal Spacing2</cstring>
123
                        </property>
216
                    </property>
124
                        <attribute name="title">
217
                    <property name="orientation">
125
                            <string>Search parameters</string>
218
                        <enum>Horizontal</enum>
126
                        </attribute>
219
                    </property>
220
                    <property name="sizeType">
221
                        <enum>Expanding</enum>
222
                    </property>
223
                    <property name="sizeHint">
127
                        <vbox>
224
                        <size>
225
                            <width>20</width>
226
                            <height>20</height>
227
                        </size>
228
                    </property>
229
                </spacer>
230
                <widget class="QPushButton">
128
                            <property name="name">
231
                    <property name="name">
129
                                <cstring>unnamed</cstring>
232
                        <cstring>buttonOk</cstring>
130
                            </property>
233
                    </property>
131
                            <widget class="QLayoutWidget">
132
                                <property name="name">
234
                    <property name="text">
133
                                    <cstring>layout7</cstring>
235
                        <string>&amp;OK</string>
134
                                </property>
236
                    </property>
135
                                <vbox>
136
                                    <property name="name">
237
                    <property name="accel">
137
                                        <cstring>unnamed</cstring>
238
                        <string></string>
138
                                    </property>
139
                                    <widget class="QLayoutWidget">
140
                                        <property name="name">
141
                                            <cstring>layout6</cstring>
142
                                        </property>
143
                                        <hbox>
144
                                            <property name="name">
145
                                                <cstring>unnamed</cstring>
146
                                            </property>
147
                                            <widget class="QLabel">
148
                                                <property name="name">
149
                                                    <cstring>textLabel1_2</cstring>
150
                                                </property>
151
                                                <property name="text">
152
                                                    <string>Stemming language</string>
153
                                                </property>
154
                                            </widget>
155
                                            <widget class="QComboBox">
156
                                                <property name="name">
157
                                                    <cstring>stemLangCMB</cstring>
158
                                                </property>
159
                                            </widget>
160
                                        </hbox>
161
                                    </widget>
162
                                    <spacer>
163
                                        <property name="name">
164
                                            <cstring>spacer2</cstring>
165
                                        </property>
166
                                        <property name="orientation">
167
                                            <enum>Vertical</enum>
168
                                        </property>
169
                                        <property name="sizeType">
170
                                            <enum>Expanding</enum>
171
                                        </property>
172
                                        <property name="sizeHint">
173
                                            <size>
174
                                                <width>20</width>
175
                                                <height>40</height>
176
                                            </size>
177
                                        </property>
178
                                    </spacer>
179
                                </vbox>
180
                            </widget>
181
                        </vbox>
182
                    </widget>
239
                    </property>
240
                    <property name="autoDefault">
241
                        <bool>true</bool>
242
                    </property>
243
                    <property name="default">
244
                        <bool>true</bool>
245
                    </property>
246
                    <property name="toolTip" stdset="0">
247
                        <string>Apply changes</string>
248
                    </property>
183
                </widget>
249
                </widget>
184
                <widget class="QLayoutWidget">
250
                <widget class="QPushButton">
185
                    <property name="name">
186
                        <cstring>Layout1</cstring>
187
                    </property>
188
                    <hbox>
189
                        <property name="name">
251
                    <property name="name">
190
                            <cstring>unnamed</cstring>
252
                        <cstring>buttonCancel</cstring>
191
                        </property>
253
                    </property>
192
                        <property name="margin">
254
                    <property name="text">
193
                            <number>0</number>
255
                        <string>&amp;Cancel</string>
194
                        </property>
256
                    </property>
195
                        <property name="spacing">
257
                    <property name="accel">
196
                            <number>6</number>
258
                        <string></string>
197
                        </property>
259
                    </property>
198
                        <spacer>
199
                            <property name="name">
200
                                <cstring>Horizontal Spacing2</cstring>
201
                            </property>
202
                            <property name="orientation">
203
                                <enum>Horizontal</enum>
204
                            </property>
205
                            <property name="sizeType">
206
                                <enum>Expanding</enum>
207
                            </property>
208
                            <property name="sizeHint">
209
                                <size>
210
                                    <width>20</width>
211
                                    <height>20</height>
212
                                </size>
213
                            </property>
214
                        </spacer>
215
                        <widget class="QPushButton">
216
                            <property name="name">
217
                                <cstring>buttonOk</cstring>
218
                            </property>
219
                            <property name="text">
220
                                <string>&amp;OK</string>
221
                            </property>
222
                            <property name="accel">
223
                                <string></string>
224
                            </property>
225
                            <property name="autoDefault">
260
                    <property name="autoDefault">
226
                                <bool>true</bool>
261
                        <bool>true</bool>
227
                            </property>
262
                    </property>
228
                            <property name="default">
229
                                <bool>true</bool>
230
                            </property>
231
                            <property name="toolTip" stdset="0">
263
                    <property name="toolTip" stdset="0">
232
                                <string>Apply changes</string>
233
                            </property>
234
                        </widget>
235
                        <widget class="QPushButton">
236
                            <property name="name">
237
                                <cstring>buttonCancel</cstring>
238
                            </property>
239
                            <property name="text">
240
                                <string>&amp;Cancel</string>
241
                            </property>
242
                            <property name="accel">
243
                                <string></string>
244
                            </property>
245
                            <property name="autoDefault">
246
                                <bool>true</bool>
247
                            </property>
248
                            <property name="toolTip" stdset="0">
249
                                <string>Discard changes</string>
264
                        <string>Discard changes</string>
250
                            </property>
265
                    </property>
251
                        </widget>
252
                    </hbox>
253
                </widget>
266
                </widget>
254
            </vbox>
267
            </hbox>
255
        </widget>
268
        </widget>
256
    </vbox>
269
    </vbox>
257
</widget>
270
</widget>
258
<connections>
271
<connections>
259
    <connection>
272
    <connection>
...
...
265
    <connection>
278
    <connection>
266
        <sender>buttonCancel</sender>
279
        <sender>buttonCancel</sender>
267
        <signal>clicked()</signal>
280
        <signal>clicked()</signal>
268
        <receiver>uiPrefsDialog</receiver>
281
        <receiver>uiPrefsDialog</receiver>
269
        <slot>reject()</slot>
282
        <slot>reject()</slot>
283
    </connection>
284
    <connection>
285
        <sender>buildAbsCB</sender>
286
        <signal>toggled(bool)</signal>
287
        <receiver>replAbsCB</receiver>
288
        <slot>setEnabled(bool)</slot>
270
    </connection>
289
    </connection>
271
</connections>
290
</connections>
272
<includes>
291
<includes>
273
    <include location="local" impldecl="in implementation">uiprefs.ui.h</include>
292
    <include location="local" impldecl="in implementation">uiprefs.ui.h</include>
274
</includes>
293
</includes>