1 | <!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
---|
2 | <class>SettingsDialogBase</class>
|
---|
3 | <comment>*********************************************************************
|
---|
4 | ** Copyright (C) 2000-2007 Trolltech ASA. All rights reserved.
|
---|
5 | **
|
---|
6 | ** This file is part of Qt Assistant.
|
---|
7 | **
|
---|
8 | ** This file may be distributed and/or modified under the terms of the
|
---|
9 | ** GNU General Public License version 2 as published by the Free Software
|
---|
10 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
11 | ** packaging of this file.
|
---|
12 | **
|
---|
13 | ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
---|
14 | ** licenses may use this file in accordance with the Qt Commercial License
|
---|
15 | ** Agreement provided with the Software.
|
---|
16 | **
|
---|
17 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
---|
18 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
---|
19 | **
|
---|
20 | ** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
---|
21 | ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
---|
22 | ** information about Qt Commercial License Agreements.
|
---|
23 | **
|
---|
24 | ** Contact info@trolltech.com if any conditions of this licensing are
|
---|
25 | ** not clear to you.
|
---|
26 | **
|
---|
27 | *********************************************************************</comment>
|
---|
28 | <widget class="QDialog">
|
---|
29 | <property name="name">
|
---|
30 | <cstring>SettingsDialogBase</cstring>
|
---|
31 | </property>
|
---|
32 | <property name="geometry">
|
---|
33 | <rect>
|
---|
34 | <x>0</x>
|
---|
35 | <y>0</y>
|
---|
36 | <width>389</width>
|
---|
37 | <height>253</height>
|
---|
38 | </rect>
|
---|
39 | </property>
|
---|
40 | <property name="caption">
|
---|
41 | <string>Qt Assistant - Settings</string>
|
---|
42 | </property>
|
---|
43 | <property name="sizeGripEnabled">
|
---|
44 | <bool>true</bool>
|
---|
45 | </property>
|
---|
46 | <vbox>
|
---|
47 | <property name="name">
|
---|
48 | <cstring>unnamed</cstring>
|
---|
49 | </property>
|
---|
50 | <widget class="QTabWidget">
|
---|
51 | <property name="name">
|
---|
52 | <cstring>settingsTab</cstring>
|
---|
53 | </property>
|
---|
54 | <property name="sizePolicy">
|
---|
55 | <sizepolicy>
|
---|
56 | <hsizetype>5</hsizetype>
|
---|
57 | <vsizetype>5</vsizetype>
|
---|
58 | <horstretch>0</horstretch>
|
---|
59 | <verstretch>0</verstretch>
|
---|
60 | </sizepolicy>
|
---|
61 | </property>
|
---|
62 | <widget class="QWidget">
|
---|
63 | <property name="name">
|
---|
64 | <cstring>tab</cstring>
|
---|
65 | </property>
|
---|
66 | <attribute name="title">
|
---|
67 | <string>&General</string>
|
---|
68 | </attribute>
|
---|
69 | <vbox>
|
---|
70 | <property name="name">
|
---|
71 | <cstring>unnamed</cstring>
|
---|
72 | </property>
|
---|
73 | <widget class="QLayoutWidget">
|
---|
74 | <property name="name">
|
---|
75 | <cstring>Layout2</cstring>
|
---|
76 | </property>
|
---|
77 | <grid>
|
---|
78 | <property name="name">
|
---|
79 | <cstring>unnamed</cstring>
|
---|
80 | </property>
|
---|
81 | <widget class="QComboBox" row="1" column="1">
|
---|
82 | <property name="name">
|
---|
83 | <cstring>fixedfontCombo</cstring>
|
---|
84 | </property>
|
---|
85 | <property name="sizePolicy">
|
---|
86 | <sizepolicy>
|
---|
87 | <hsizetype>7</hsizetype>
|
---|
88 | <vsizetype>0</vsizetype>
|
---|
89 | <horstretch>0</horstretch>
|
---|
90 | <verstretch>0</verstretch>
|
---|
91 | </sizepolicy>
|
---|
92 | </property>
|
---|
93 | <property name="editable">
|
---|
94 | <bool>true</bool>
|
---|
95 | </property>
|
---|
96 | </widget>
|
---|
97 | <widget class="QLabel" row="1" column="0">
|
---|
98 | <property name="name">
|
---|
99 | <cstring>TextLabel1</cstring>
|
---|
100 | </property>
|
---|
101 | <property name="text">
|
---|
102 | <string>Fix&ed font:</string>
|
---|
103 | </property>
|
---|
104 | <property name="buddy" stdset="0">
|
---|
105 | <cstring>fixedfontCombo</cstring>
|
---|
106 | </property>
|
---|
107 | </widget>
|
---|
108 | <widget class="QLabel" row="2" column="0">
|
---|
109 | <property name="name">
|
---|
110 | <cstring>TextLabel2</cstring>
|
---|
111 | </property>
|
---|
112 | <property name="text">
|
---|
113 | <string>Link color:</string>
|
---|
114 | </property>
|
---|
115 | </widget>
|
---|
116 | <widget class="QComboBox" row="0" column="1">
|
---|
117 | <property name="name">
|
---|
118 | <cstring>fontCombo</cstring>
|
---|
119 | </property>
|
---|
120 | <property name="sizePolicy">
|
---|
121 | <sizepolicy>
|
---|
122 | <hsizetype>7</hsizetype>
|
---|
123 | <vsizetype>0</vsizetype>
|
---|
124 | <horstretch>0</horstretch>
|
---|
125 | <verstretch>0</verstretch>
|
---|
126 | </sizepolicy>
|
---|
127 | </property>
|
---|
128 | <property name="editable">
|
---|
129 | <bool>true</bool>
|
---|
130 | </property>
|
---|
131 | </widget>
|
---|
132 | <widget class="QLabel" row="0" column="0">
|
---|
133 | <property name="name">
|
---|
134 | <cstring>fontLabel</cstring>
|
---|
135 | </property>
|
---|
136 | <property name="text">
|
---|
137 | <string>&Font:</string>
|
---|
138 | </property>
|
---|
139 | <property name="buddy" stdset="0">
|
---|
140 | <cstring>fontCombo</cstring>
|
---|
141 | </property>
|
---|
142 | </widget>
|
---|
143 | <widget class="QCheckBox" row="3" column="0">
|
---|
144 | <property name="name">
|
---|
145 | <cstring>linkUnderlineCB</cstring>
|
---|
146 | </property>
|
---|
147 | <property name="text">
|
---|
148 | <string>&Underline links</string>
|
---|
149 | </property>
|
---|
150 | <property name="checked">
|
---|
151 | <bool>true</bool>
|
---|
152 | </property>
|
---|
153 | </widget>
|
---|
154 | <widget class="QToolButton" row="2" column="1">
|
---|
155 | <property name="name">
|
---|
156 | <cstring>colorButton</cstring>
|
---|
157 | </property>
|
---|
158 | <property name="sizePolicy">
|
---|
159 | <sizepolicy>
|
---|
160 | <hsizetype>0</hsizetype>
|
---|
161 | <vsizetype>0</vsizetype>
|
---|
162 | <horstretch>0</horstretch>
|
---|
163 | <verstretch>0</verstretch>
|
---|
164 | </sizepolicy>
|
---|
165 | </property>
|
---|
166 | <property name="minimumSize">
|
---|
167 | <size>
|
---|
168 | <width>40</width>
|
---|
169 | <height>20</height>
|
---|
170 | </size>
|
---|
171 | </property>
|
---|
172 | <property name="paletteBackgroundColor">
|
---|
173 | <color>
|
---|
174 | <red>255</red>
|
---|
175 | <green>0</green>
|
---|
176 | <blue>0</blue>
|
---|
177 | </color>
|
---|
178 | </property>
|
---|
179 | <property name="focusPolicy">
|
---|
180 | <enum>TabFocus</enum>
|
---|
181 | </property>
|
---|
182 | <property name="text">
|
---|
183 | <string></string>
|
---|
184 | </property>
|
---|
185 | </widget>
|
---|
186 | </grid>
|
---|
187 | </widget>
|
---|
188 | </vbox>
|
---|
189 | </widget>
|
---|
190 | <widget class="QWidget">
|
---|
191 | <property name="name">
|
---|
192 | <cstring>tab</cstring>
|
---|
193 | </property>
|
---|
194 | <attribute name="title">
|
---|
195 | <string>&Web</string>
|
---|
196 | </attribute>
|
---|
197 | <grid>
|
---|
198 | <property name="name">
|
---|
199 | <cstring>unnamed</cstring>
|
---|
200 | </property>
|
---|
201 | <spacer row="4" column="0">
|
---|
202 | <property name="name">
|
---|
203 | <cstring>Spacer11</cstring>
|
---|
204 | </property>
|
---|
205 | <property name="orientation">
|
---|
206 | <enum>Vertical</enum>
|
---|
207 | </property>
|
---|
208 | <property name="sizeType">
|
---|
209 | <enum>Expanding</enum>
|
---|
210 | </property>
|
---|
211 | <property name="sizeHint">
|
---|
212 | <size>
|
---|
213 | <width>20</width>
|
---|
214 | <height>30</height>
|
---|
215 | </size>
|
---|
216 | </property>
|
---|
217 | </spacer>
|
---|
218 | <widget class="QLabel" row="0" column="0">
|
---|
219 | <property name="name">
|
---|
220 | <cstring>TextLabel1_3</cstring>
|
---|
221 | </property>
|
---|
222 | <property name="text">
|
---|
223 | <string>Web &Browser Application:</string>
|
---|
224 | </property>
|
---|
225 | <property name="buddy" stdset="0">
|
---|
226 | <cstring>browserApp</cstring>
|
---|
227 | </property>
|
---|
228 | </widget>
|
---|
229 | <widget class="QLayoutWidget" row="1" column="0">
|
---|
230 | <property name="name">
|
---|
231 | <cstring>Layout9</cstring>
|
---|
232 | </property>
|
---|
233 | <hbox>
|
---|
234 | <property name="name">
|
---|
235 | <cstring>unnamed</cstring>
|
---|
236 | </property>
|
---|
237 | <widget class="QLineEdit">
|
---|
238 | <property name="name">
|
---|
239 | <cstring>browserApp</cstring>
|
---|
240 | </property>
|
---|
241 | </widget>
|
---|
242 | <widget class="QPushButton">
|
---|
243 | <property name="name">
|
---|
244 | <cstring>buttonBrowse</cstring>
|
---|
245 | </property>
|
---|
246 | <property name="sizePolicy">
|
---|
247 | <sizepolicy>
|
---|
248 | <hsizetype>1</hsizetype>
|
---|
249 | <vsizetype>0</vsizetype>
|
---|
250 | <horstretch>0</horstretch>
|
---|
251 | <verstretch>0</verstretch>
|
---|
252 | </sizepolicy>
|
---|
253 | </property>
|
---|
254 | <property name="maximumSize">
|
---|
255 | <size>
|
---|
256 | <width>30</width>
|
---|
257 | <height>32767</height>
|
---|
258 | </size>
|
---|
259 | </property>
|
---|
260 | <property name="text">
|
---|
261 | <string>...</string>
|
---|
262 | </property>
|
---|
263 | </widget>
|
---|
264 | </hbox>
|
---|
265 | </widget>
|
---|
266 | <widget class="QLabel" row="2" column="0">
|
---|
267 | <property name="name">
|
---|
268 | <cstring>TextLabel1_3_3</cstring>
|
---|
269 | </property>
|
---|
270 | <property name="text">
|
---|
271 | <string>&Home page</string>
|
---|
272 | </property>
|
---|
273 | <property name="buddy" stdset="0">
|
---|
274 | <cstring>homePage</cstring>
|
---|
275 | </property>
|
---|
276 | </widget>
|
---|
277 | <widget class="QLayoutWidget" row="3" column="0">
|
---|
278 | <property name="name">
|
---|
279 | <cstring>layout8</cstring>
|
---|
280 | </property>
|
---|
281 | <hbox>
|
---|
282 | <property name="name">
|
---|
283 | <cstring>unnamed</cstring>
|
---|
284 | </property>
|
---|
285 | <widget class="QLineEdit">
|
---|
286 | <property name="name">
|
---|
287 | <cstring>homePage</cstring>
|
---|
288 | </property>
|
---|
289 | </widget>
|
---|
290 | <widget class="QPushButton">
|
---|
291 | <property name="name">
|
---|
292 | <cstring>buttonHome</cstring>
|
---|
293 | </property>
|
---|
294 | <property name="sizePolicy">
|
---|
295 | <sizepolicy>
|
---|
296 | <hsizetype>1</hsizetype>
|
---|
297 | <vsizetype>0</vsizetype>
|
---|
298 | <horstretch>0</horstretch>
|
---|
299 | <verstretch>0</verstretch>
|
---|
300 | </sizepolicy>
|
---|
301 | </property>
|
---|
302 | <property name="maximumSize">
|
---|
303 | <size>
|
---|
304 | <width>30</width>
|
---|
305 | <height>32767</height>
|
---|
306 | </size>
|
---|
307 | </property>
|
---|
308 | <property name="text">
|
---|
309 | <string>...</string>
|
---|
310 | </property>
|
---|
311 | </widget>
|
---|
312 | </hbox>
|
---|
313 | </widget>
|
---|
314 | </grid>
|
---|
315 | </widget>
|
---|
316 | <widget class="QWidget">
|
---|
317 | <property name="name">
|
---|
318 | <cstring>pdfTab</cstring>
|
---|
319 | </property>
|
---|
320 | <attribute name="title">
|
---|
321 | <string>&PDF</string>
|
---|
322 | </attribute>
|
---|
323 | <grid>
|
---|
324 | <property name="name">
|
---|
325 | <cstring>unnamed</cstring>
|
---|
326 | </property>
|
---|
327 | <widget class="QLabel" row="0" column="0">
|
---|
328 | <property name="name">
|
---|
329 | <cstring>TextLabel1_3_2</cstring>
|
---|
330 | </property>
|
---|
331 | <property name="text">
|
---|
332 | <string>PDF &Application</string>
|
---|
333 | </property>
|
---|
334 | <property name="buddy" stdset="0">
|
---|
335 | <cstring>pdfApp</cstring>
|
---|
336 | </property>
|
---|
337 | </widget>
|
---|
338 | <spacer row="2" column="0">
|
---|
339 | <property name="name">
|
---|
340 | <cstring>spacer10</cstring>
|
---|
341 | </property>
|
---|
342 | <property name="orientation">
|
---|
343 | <enum>Vertical</enum>
|
---|
344 | </property>
|
---|
345 | <property name="sizeType">
|
---|
346 | <enum>Expanding</enum>
|
---|
347 | </property>
|
---|
348 | <property name="sizeHint">
|
---|
349 | <size>
|
---|
350 | <width>20</width>
|
---|
351 | <height>81</height>
|
---|
352 | </size>
|
---|
353 | </property>
|
---|
354 | </spacer>
|
---|
355 | <widget class="QLayoutWidget" row="1" column="0">
|
---|
356 | <property name="name">
|
---|
357 | <cstring>layout9</cstring>
|
---|
358 | </property>
|
---|
359 | <hbox>
|
---|
360 | <property name="name">
|
---|
361 | <cstring>unnamed</cstring>
|
---|
362 | </property>
|
---|
363 | <widget class="QLineEdit">
|
---|
364 | <property name="name">
|
---|
365 | <cstring>pdfApp</cstring>
|
---|
366 | </property>
|
---|
367 | </widget>
|
---|
368 | <widget class="QPushButton">
|
---|
369 | <property name="name">
|
---|
370 | <cstring>buttonPDF</cstring>
|
---|
371 | </property>
|
---|
372 | <property name="sizePolicy">
|
---|
373 | <sizepolicy>
|
---|
374 | <hsizetype>1</hsizetype>
|
---|
375 | <vsizetype>0</vsizetype>
|
---|
376 | <horstretch>0</horstretch>
|
---|
377 | <verstretch>0</verstretch>
|
---|
378 | </sizepolicy>
|
---|
379 | </property>
|
---|
380 | <property name="maximumSize">
|
---|
381 | <size>
|
---|
382 | <width>30</width>
|
---|
383 | <height>32767</height>
|
---|
384 | </size>
|
---|
385 | </property>
|
---|
386 | <property name="text">
|
---|
387 | <string>...</string>
|
---|
388 | </property>
|
---|
389 | </widget>
|
---|
390 | </hbox>
|
---|
391 | </widget>
|
---|
392 | </grid>
|
---|
393 | </widget>
|
---|
394 | </widget>
|
---|
395 | <widget class="QLayoutWidget">
|
---|
396 | <property name="name">
|
---|
397 | <cstring>Layout1</cstring>
|
---|
398 | </property>
|
---|
399 | <hbox>
|
---|
400 | <property name="name">
|
---|
401 | <cstring>unnamed</cstring>
|
---|
402 | </property>
|
---|
403 | <spacer>
|
---|
404 | <property name="name">
|
---|
405 | <cstring>Horizontal Spacing2</cstring>
|
---|
406 | </property>
|
---|
407 | <property name="orientation">
|
---|
408 | <enum>Horizontal</enum>
|
---|
409 | </property>
|
---|
410 | <property name="sizeType">
|
---|
411 | <enum>Expanding</enum>
|
---|
412 | </property>
|
---|
413 | <property name="sizeHint">
|
---|
414 | <size>
|
---|
415 | <width>0</width>
|
---|
416 | <height>20</height>
|
---|
417 | </size>
|
---|
418 | </property>
|
---|
419 | </spacer>
|
---|
420 | <widget class="QPushButton">
|
---|
421 | <property name="name">
|
---|
422 | <cstring>buttonOk</cstring>
|
---|
423 | </property>
|
---|
424 | <property name="text">
|
---|
425 | <string>&OK</string>
|
---|
426 | </property>
|
---|
427 | <property name="autoDefault">
|
---|
428 | <bool>true</bool>
|
---|
429 | </property>
|
---|
430 | <property name="default">
|
---|
431 | <bool>true</bool>
|
---|
432 | </property>
|
---|
433 | </widget>
|
---|
434 | <widget class="QPushButton">
|
---|
435 | <property name="name">
|
---|
436 | <cstring>buttonCancel</cstring>
|
---|
437 | </property>
|
---|
438 | <property name="text">
|
---|
439 | <string>&Cancel</string>
|
---|
440 | </property>
|
---|
441 | <property name="autoDefault">
|
---|
442 | <bool>true</bool>
|
---|
443 | </property>
|
---|
444 | </widget>
|
---|
445 | </hbox>
|
---|
446 | </widget>
|
---|
447 | </vbox>
|
---|
448 | </widget>
|
---|
449 | <connections>
|
---|
450 | <connection>
|
---|
451 | <sender>buttonOk</sender>
|
---|
452 | <signal>clicked()</signal>
|
---|
453 | <receiver>SettingsDialogBase</receiver>
|
---|
454 | <slot>accept()</slot>
|
---|
455 | </connection>
|
---|
456 | <connection>
|
---|
457 | <sender>buttonCancel</sender>
|
---|
458 | <signal>clicked()</signal>
|
---|
459 | <receiver>SettingsDialogBase</receiver>
|
---|
460 | <slot>reject()</slot>
|
---|
461 | </connection>
|
---|
462 | <connection>
|
---|
463 | <sender>colorButton</sender>
|
---|
464 | <signal>clicked()</signal>
|
---|
465 | <receiver>SettingsDialogBase</receiver>
|
---|
466 | <slot>selectColor()</slot>
|
---|
467 | </connection>
|
---|
468 | <connection>
|
---|
469 | <sender>buttonBrowse</sender>
|
---|
470 | <signal>clicked()</signal>
|
---|
471 | <receiver>SettingsDialogBase</receiver>
|
---|
472 | <slot>browseWebApp()</slot>
|
---|
473 | </connection>
|
---|
474 | <connection>
|
---|
475 | <sender>buttonHome</sender>
|
---|
476 | <signal>clicked()</signal>
|
---|
477 | <receiver>SettingsDialogBase</receiver>
|
---|
478 | <slot>browseHomepage()</slot>
|
---|
479 | </connection>
|
---|
480 | <connection>
|
---|
481 | <sender>buttonPDF</sender>
|
---|
482 | <signal>clicked()</signal>
|
---|
483 | <receiver>SettingsDialogBase</receiver>
|
---|
484 | <slot>browsePDFApplication()</slot>
|
---|
485 | </connection>
|
---|
486 | </connections>
|
---|
487 | <tabstops>
|
---|
488 | <tabstop>settingsTab</tabstop>
|
---|
489 | <tabstop>fontCombo</tabstop>
|
---|
490 | <tabstop>fixedfontCombo</tabstop>
|
---|
491 | <tabstop>colorButton</tabstop>
|
---|
492 | <tabstop>linkUnderlineCB</tabstop>
|
---|
493 | <tabstop>browserApp</tabstop>
|
---|
494 | <tabstop>buttonBrowse</tabstop>
|
---|
495 | <tabstop>homePage</tabstop>
|
---|
496 | <tabstop>buttonHome</tabstop>
|
---|
497 | <tabstop>pdfApp</tabstop>
|
---|
498 | <tabstop>buttonPDF</tabstop>
|
---|
499 | <tabstop>buttonOk</tabstop>
|
---|
500 | <tabstop>buttonCancel</tabstop>
|
---|
501 | </tabstops>
|
---|
502 | <slots>
|
---|
503 | <slot>selectColor()</slot>
|
---|
504 | <slot>browseWebApp()</slot>
|
---|
505 | <slot>browsePDFApplication()</slot>
|
---|
506 | <slot>browseHomepage()</slot>
|
---|
507 | </slots>
|
---|
508 | <layoutdefaults spacing="6" margin="11"/>
|
---|
509 | </UI>
|
---|