|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment>********************************************************************* |
|
5 ** |
|
6 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
7 ** All rights reserved. |
|
8 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
9 ** |
|
10 ** This file is part of the autotests of the Qt Toolkit. |
|
11 ** |
|
12 ** $QT_BEGIN_LICENSE:LGPL$ |
|
13 ** No Commercial Usage |
|
14 ** This file contains pre-release code and may not be distributed. |
|
15 ** You may use this file in accordance with the terms and conditions |
|
16 ** contained in the Technology Preview License Agreement accompanying |
|
17 ** this package. |
|
18 ** |
|
19 ** GNU Lesser General Public License Usage |
|
20 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
21 ** General Public License version 2.1 as published by the Free Software |
|
22 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
23 ** packaging of this file. Please review the following information to |
|
24 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
26 ** |
|
27 ** In addition, as a special exception, Nokia gives you certain additional |
|
28 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
30 ** |
|
31 ** If you have questions regarding the use of this file, please contact |
|
32 ** Nokia at qt-info@nokia.com. |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** |
|
41 ** $QT_END_LICENSE$ |
|
42 ** |
|
43 *********************************************************************</comment> |
|
44 <exportmacro></exportmacro> |
|
45 <class>SettingsDialogBase</class> |
|
46 <widget class="QDialog" name="SettingsDialogBase"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>389</width> |
|
52 <height>253</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="windowTitle"> |
|
56 <string>Qt Assistant - Settings</string> |
|
57 </property> |
|
58 <property name="sizeGripEnabled"> |
|
59 <bool>true</bool> |
|
60 </property> |
|
61 <layout class="QVBoxLayout"> |
|
62 <item> |
|
63 <widget class="QTabWidget" name="settingsTab"> |
|
64 <property name="sizePolicy"> |
|
65 <sizepolicy> |
|
66 <hsizetype>5</hsizetype> |
|
67 <vsizetype>5</vsizetype> |
|
68 <horstretch>0</horstretch> |
|
69 <verstretch>0</verstretch> |
|
70 </sizepolicy> |
|
71 </property> |
|
72 <widget class="QWidget" name="tab"> |
|
73 <attribute name="title"> |
|
74 <string>&General</string> |
|
75 </attribute> |
|
76 <layout class="QVBoxLayout"> |
|
77 <item> |
|
78 <layout class="QGridLayout"> |
|
79 <item row="1" column="1"> |
|
80 <widget class="QComboBox" name="fixedfontCombo"> |
|
81 <property name="sizePolicy"> |
|
82 <sizepolicy> |
|
83 <hsizetype>7</hsizetype> |
|
84 <vsizetype>0</vsizetype> |
|
85 <horstretch>0</horstretch> |
|
86 <verstretch>0</verstretch> |
|
87 </sizepolicy> |
|
88 </property> |
|
89 <property name="editable"> |
|
90 <bool>true</bool> |
|
91 </property> |
|
92 </widget> |
|
93 </item> |
|
94 <item row="1" column="0"> |
|
95 <widget class="QLabel" name="TextLabel1"> |
|
96 <property name="text"> |
|
97 <string>Fix&ed font:</string> |
|
98 </property> |
|
99 <property name="buddy" stdset="0"> |
|
100 <cstring>fixedfontCombo</cstring> |
|
101 </property> |
|
102 <property name="wordWrap"> |
|
103 <bool>false</bool> |
|
104 </property> |
|
105 </widget> |
|
106 </item> |
|
107 <item row="2" column="0"> |
|
108 <widget class="QLabel" name="TextLabel2"> |
|
109 <property name="text"> |
|
110 <string>Link color:</string> |
|
111 </property> |
|
112 <property name="wordWrap"> |
|
113 <bool>false</bool> |
|
114 </property> |
|
115 </widget> |
|
116 </item> |
|
117 <item row="0" column="1"> |
|
118 <widget class="QComboBox" name="fontCombo"> |
|
119 <property name="sizePolicy"> |
|
120 <sizepolicy> |
|
121 <hsizetype>7</hsizetype> |
|
122 <vsizetype>0</vsizetype> |
|
123 <horstretch>0</horstretch> |
|
124 <verstretch>0</verstretch> |
|
125 </sizepolicy> |
|
126 </property> |
|
127 <property name="editable"> |
|
128 <bool>true</bool> |
|
129 </property> |
|
130 </widget> |
|
131 </item> |
|
132 <item row="0" column="0"> |
|
133 <widget class="QLabel" name="fontLabel"> |
|
134 <property name="text"> |
|
135 <string>&Font:</string> |
|
136 </property> |
|
137 <property name="buddy" stdset="0"> |
|
138 <cstring>fontCombo</cstring> |
|
139 </property> |
|
140 <property name="wordWrap"> |
|
141 <bool>false</bool> |
|
142 </property> |
|
143 </widget> |
|
144 </item> |
|
145 <item row="3" column="0"> |
|
146 <widget class="QCheckBox" name="linkUnderlineCB"> |
|
147 <property name="text"> |
|
148 <string>&Underline links</string> |
|
149 </property> |
|
150 <property name="checked"> |
|
151 <bool>true</bool> |
|
152 </property> |
|
153 </widget> |
|
154 </item> |
|
155 <item row="2" column="1"> |
|
156 <widget class="QToolButton" name="colorButton"> |
|
157 <property name="sizePolicy"> |
|
158 <sizepolicy> |
|
159 <hsizetype>0</hsizetype> |
|
160 <vsizetype>0</vsizetype> |
|
161 <horstretch>0</horstretch> |
|
162 <verstretch>0</verstretch> |
|
163 </sizepolicy> |
|
164 </property> |
|
165 <property name="minimumSize"> |
|
166 <size> |
|
167 <width>40</width> |
|
168 <height>20</height> |
|
169 </size> |
|
170 </property> |
|
171 <property name="focusPolicy"> |
|
172 <enum>Qt::TabFocus</enum> |
|
173 </property> |
|
174 <property name="text"> |
|
175 <string/> |
|
176 </property> |
|
177 </widget> |
|
178 </item> |
|
179 </layout> |
|
180 </item> |
|
181 </layout> |
|
182 </widget> |
|
183 <widget class="QWidget" name="tab"> |
|
184 <attribute name="title"> |
|
185 <string>&Web</string> |
|
186 </attribute> |
|
187 <layout class="QGridLayout"> |
|
188 <item row="4" column="0"> |
|
189 <spacer name="Spacer11"> |
|
190 <property name="sizeHint"> |
|
191 <size> |
|
192 <width>20</width> |
|
193 <height>30</height> |
|
194 </size> |
|
195 </property> |
|
196 <property name="sizeType"> |
|
197 <enum>QSizePolicy::Expanding</enum> |
|
198 </property> |
|
199 <property name="orientation"> |
|
200 <enum>Qt::Vertical</enum> |
|
201 </property> |
|
202 </spacer> |
|
203 </item> |
|
204 <item row="0" column="0"> |
|
205 <widget class="QLabel" name="TextLabel1_3"> |
|
206 <property name="text"> |
|
207 <string>Web &Browser Application:</string> |
|
208 </property> |
|
209 <property name="buddy" stdset="0"> |
|
210 <cstring>browserApp</cstring> |
|
211 </property> |
|
212 <property name="wordWrap"> |
|
213 <bool>false</bool> |
|
214 </property> |
|
215 </widget> |
|
216 </item> |
|
217 <item row="1" column="0"> |
|
218 <layout class="QHBoxLayout"> |
|
219 <item> |
|
220 <widget class="QLineEdit" name="browserApp"/> |
|
221 </item> |
|
222 <item> |
|
223 <widget class="QPushButton" name="buttonBrowse"> |
|
224 <property name="sizePolicy"> |
|
225 <sizepolicy> |
|
226 <hsizetype>1</hsizetype> |
|
227 <vsizetype>0</vsizetype> |
|
228 <horstretch>0</horstretch> |
|
229 <verstretch>0</verstretch> |
|
230 </sizepolicy> |
|
231 </property> |
|
232 <property name="maximumSize"> |
|
233 <size> |
|
234 <width>30</width> |
|
235 <height>32767</height> |
|
236 </size> |
|
237 </property> |
|
238 <property name="text"> |
|
239 <string>...</string> |
|
240 </property> |
|
241 </widget> |
|
242 </item> |
|
243 </layout> |
|
244 </item> |
|
245 <item row="2" column="0"> |
|
246 <widget class="QLabel" name="TextLabel1_3_3"> |
|
247 <property name="text"> |
|
248 <string>&Home page</string> |
|
249 </property> |
|
250 <property name="buddy" stdset="0"> |
|
251 <cstring>homePage</cstring> |
|
252 </property> |
|
253 <property name="wordWrap"> |
|
254 <bool>false</bool> |
|
255 </property> |
|
256 </widget> |
|
257 </item> |
|
258 <item row="3" column="0"> |
|
259 <layout class="QHBoxLayout"> |
|
260 <item> |
|
261 <widget class="QLineEdit" name="homePage"/> |
|
262 </item> |
|
263 <item> |
|
264 <widget class="QPushButton" name="buttonHome"> |
|
265 <property name="sizePolicy"> |
|
266 <sizepolicy> |
|
267 <hsizetype>1</hsizetype> |
|
268 <vsizetype>0</vsizetype> |
|
269 <horstretch>0</horstretch> |
|
270 <verstretch>0</verstretch> |
|
271 </sizepolicy> |
|
272 </property> |
|
273 <property name="maximumSize"> |
|
274 <size> |
|
275 <width>30</width> |
|
276 <height>32767</height> |
|
277 </size> |
|
278 </property> |
|
279 <property name="text"> |
|
280 <string>...</string> |
|
281 </property> |
|
282 </widget> |
|
283 </item> |
|
284 </layout> |
|
285 </item> |
|
286 </layout> |
|
287 </widget> |
|
288 <widget class="QWidget" name="pdfTab"> |
|
289 <attribute name="title"> |
|
290 <string>&PDF</string> |
|
291 </attribute> |
|
292 <layout class="QGridLayout"> |
|
293 <item row="0" column="0"> |
|
294 <widget class="QLabel" name="TextLabel1_3_2"> |
|
295 <property name="text"> |
|
296 <string>PDF &Application</string> |
|
297 </property> |
|
298 <property name="buddy" stdset="0"> |
|
299 <cstring>pdfApp</cstring> |
|
300 </property> |
|
301 <property name="wordWrap"> |
|
302 <bool>false</bool> |
|
303 </property> |
|
304 </widget> |
|
305 </item> |
|
306 <item row="2" column="0"> |
|
307 <spacer name="spacer10"> |
|
308 <property name="sizeHint"> |
|
309 <size> |
|
310 <width>20</width> |
|
311 <height>81</height> |
|
312 </size> |
|
313 </property> |
|
314 <property name="sizeType"> |
|
315 <enum>QSizePolicy::Expanding</enum> |
|
316 </property> |
|
317 <property name="orientation"> |
|
318 <enum>Qt::Vertical</enum> |
|
319 </property> |
|
320 </spacer> |
|
321 </item> |
|
322 <item row="1" column="0"> |
|
323 <layout class="QHBoxLayout"> |
|
324 <item> |
|
325 <widget class="QLineEdit" name="pdfApp"/> |
|
326 </item> |
|
327 <item> |
|
328 <widget class="QPushButton" name="buttonPDF"> |
|
329 <property name="sizePolicy"> |
|
330 <sizepolicy> |
|
331 <hsizetype>1</hsizetype> |
|
332 <vsizetype>0</vsizetype> |
|
333 <horstretch>0</horstretch> |
|
334 <verstretch>0</verstretch> |
|
335 </sizepolicy> |
|
336 </property> |
|
337 <property name="maximumSize"> |
|
338 <size> |
|
339 <width>30</width> |
|
340 <height>32767</height> |
|
341 </size> |
|
342 </property> |
|
343 <property name="text"> |
|
344 <string>...</string> |
|
345 </property> |
|
346 </widget> |
|
347 </item> |
|
348 </layout> |
|
349 </item> |
|
350 </layout> |
|
351 </widget> |
|
352 </widget> |
|
353 </item> |
|
354 <item> |
|
355 <layout class="QHBoxLayout"> |
|
356 <item> |
|
357 <spacer name="Horizontal Spacing2"> |
|
358 <property name="sizeHint"> |
|
359 <size> |
|
360 <width>0</width> |
|
361 <height>20</height> |
|
362 </size> |
|
363 </property> |
|
364 <property name="sizeType"> |
|
365 <enum>QSizePolicy::Expanding</enum> |
|
366 </property> |
|
367 <property name="orientation"> |
|
368 <enum>Qt::Horizontal</enum> |
|
369 </property> |
|
370 </spacer> |
|
371 </item> |
|
372 <item> |
|
373 <widget class="QPushButton" name="buttonOk"> |
|
374 <property name="text"> |
|
375 <string>&OK</string> |
|
376 </property> |
|
377 <property name="autoDefault"> |
|
378 <bool>true</bool> |
|
379 </property> |
|
380 <property name="default"> |
|
381 <bool>true</bool> |
|
382 </property> |
|
383 </widget> |
|
384 </item> |
|
385 <item> |
|
386 <widget class="QPushButton" name="buttonCancel"> |
|
387 <property name="text"> |
|
388 <string>&Cancel</string> |
|
389 </property> |
|
390 <property name="autoDefault"> |
|
391 <bool>true</bool> |
|
392 </property> |
|
393 </widget> |
|
394 </item> |
|
395 </layout> |
|
396 </item> |
|
397 </layout> |
|
398 </widget> |
|
399 <layoutdefault spacing="6" margin="11"/> |
|
400 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
401 <tabstops> |
|
402 <tabstop>settingsTab</tabstop> |
|
403 <tabstop>fontCombo</tabstop> |
|
404 <tabstop>fixedfontCombo</tabstop> |
|
405 <tabstop>colorButton</tabstop> |
|
406 <tabstop>linkUnderlineCB</tabstop> |
|
407 <tabstop>browserApp</tabstop> |
|
408 <tabstop>buttonBrowse</tabstop> |
|
409 <tabstop>homePage</tabstop> |
|
410 <tabstop>buttonHome</tabstop> |
|
411 <tabstop>pdfApp</tabstop> |
|
412 <tabstop>buttonPDF</tabstop> |
|
413 <tabstop>buttonOk</tabstop> |
|
414 <tabstop>buttonCancel</tabstop> |
|
415 </tabstops> |
|
416 <connections> |
|
417 <connection> |
|
418 <sender>buttonOk</sender> |
|
419 <signal>clicked()</signal> |
|
420 <receiver>SettingsDialogBase</receiver> |
|
421 <slot>accept()</slot> |
|
422 </connection> |
|
423 <connection> |
|
424 <sender>buttonCancel</sender> |
|
425 <signal>clicked()</signal> |
|
426 <receiver>SettingsDialogBase</receiver> |
|
427 <slot>reject()</slot> |
|
428 </connection> |
|
429 <connection> |
|
430 <sender>colorButton</sender> |
|
431 <signal>clicked()</signal> |
|
432 <receiver>SettingsDialogBase</receiver> |
|
433 <slot>selectColor()</slot> |
|
434 </connection> |
|
435 <connection> |
|
436 <sender>buttonBrowse</sender> |
|
437 <signal>clicked()</signal> |
|
438 <receiver>SettingsDialogBase</receiver> |
|
439 <slot>browseWebApp()</slot> |
|
440 </connection> |
|
441 <connection> |
|
442 <sender>buttonHome</sender> |
|
443 <signal>clicked()</signal> |
|
444 <receiver>SettingsDialogBase</receiver> |
|
445 <slot>browseHomepage()</slot> |
|
446 </connection> |
|
447 <connection> |
|
448 <sender>buttonPDF</sender> |
|
449 <signal>clicked()</signal> |
|
450 <receiver>SettingsDialogBase</receiver> |
|
451 <slot>browsePDFApplication()</slot> |
|
452 </connection> |
|
453 </connections> |
|
454 </ui> |