1<ui version="4.0" >
2 <class>CSSCustomDialog</class>
3 <widget class="QWidget" name="CSSCustomDialog" >
4  <property name="geometry" >
5   <rect>
6    <x>0</x>
7    <y>0</y>
8    <width>633</width>
9    <height>526</height>
10   </rect>
11  </property>
12  <property name="whatsThis" >
13   <string>&lt;b>Stylesheets&lt;/b>&lt;p>See http://www.w3.org/Style/CSS for further information on cascading style sheets.&lt;/p></string>
14  </property>
15  <layout class="QVBoxLayout" >
16   <item>
17    <layout class="QGridLayout" name="gridLayout" >
18     <item row="3" column="0" >
19      <widget class="QGroupBox" name="GroupBox7" >
20       <property name="whatsThis" >
21        <string>&lt;b>Font family&lt;/b>&lt;p>A font family is a group of fonts that resemble one another, with family members that are e.g. bold, italic, or any number of the above.&lt;/p></string>
22       </property>
23       <property name="title" >
24        <string>Font Family</string>
25       </property>
26       <layout class="QGridLayout" >
27        <item row="0" column="0" >
28         <widget class="QLabel" name="txtBaseFontFamily" >
29          <property name="text" >
30           <string>Base family:</string>
31          </property>
32         </widget>
33        </item>
34        <item row="0" column="1" >
35         <widget class="QFontComboBox" name="fontFamily" >
36          <property name="whatsThis" >
37           <string>&lt;p>This is the currently selected font family&lt;/p></string>
38          </property>
39         </widget>
40        </item>
41        <item row="1" column="0" colspan="2" >
42         <widget class="QCheckBox" name="sameFamily" >
43          <property name="whatsThis" >
44           <string>&lt;b>Use same family for all text&lt;/b>&lt;p>Select this option to override custom fonts everywhere in favor of the base font.&lt;/p></string>
45          </property>
46          <property name="text" >
47           <string>Use same family for all text</string>
48          </property>
49         </widget>
50        </item>
51       </layout>
52      </widget>
53     </item>
54     <item row="3" column="1" >
55      <widget class="QGroupBox" name="GroupBox3" >
56       <property name="title" >
57        <string>Font Size</string>
58       </property>
59       <layout class="QGridLayout" >
60        <item row="0" column="0" >
61         <widget class="QLabel" name="txtFontsize" >
62          <property name="text" >
63           <string>Base font si&amp;ze:</string>
64          </property>
65          <property name="wordWrap" >
66           <bool>false</bool>
67          </property>
68          <property name="buddy" >
69           <cstring>basefontsize</cstring>
70          </property>
71         </widget>
72        </item>
73        <item row="0" column="1" >
74         <widget class="QComboBox" name="basefontsize" >
75          <property name="editable" >
76           <bool>true</bool>
77          </property>
78          <item>
79           <property name="text" >
80            <string>7</string>
81           </property>
82          </item>
83          <item>
84           <property name="text" >
85            <string>8</string>
86           </property>
87          </item>
88          <item>
89           <property name="text" >
90            <string>9</string>
91           </property>
92          </item>
93          <item>
94           <property name="text" >
95            <string>10</string>
96           </property>
97          </item>
98          <item>
99           <property name="text" >
100            <string>11</string>
101           </property>
102          </item>
103          <item>
104           <property name="text" >
105            <string>12</string>
106           </property>
107          </item>
108          <item>
109           <property name="text" >
110            <string>14</string>
111           </property>
112          </item>
113          <item>
114           <property name="text" >
115            <string>16</string>
116           </property>
117          </item>
118          <item>
119           <property name="text" >
120            <string>20</string>
121           </property>
122          </item>
123          <item>
124           <property name="text" >
125            <string>24</string>
126           </property>
127          </item>
128          <item>
129           <property name="text" >
130            <string>32</string>
131           </property>
132          </item>
133          <item>
134           <property name="text" >
135            <string>48</string>
136           </property>
137          </item>
138          <item>
139           <property name="text" >
140            <string>64</string>
141           </property>
142          </item>
143         </widget>
144        </item>
145        <item row="1" column="0" colspan="2" >
146         <widget class="QCheckBox" name="dontScale" >
147          <property name="whatsThis" >
148           <string>&lt;b>Use same size for all elements&lt;/b>&lt;p>Select this option to override custom font sizes in favor of the base font size. All fonts will be displayed in the same size.&lt;/p></string>
149          </property>
150          <property name="text" >
151           <string>&amp;Use same size for all elements</string>
152          </property>
153         </widget>
154        </item>
155       </layout>
156      </widget>
157     </item>
158     <item row="4" column="1" >
159      <widget class="QGroupBox" name="ButtonGroup2" >
160       <property name="title" >
161        <string>Colors</string>
162       </property>
163       <layout class="QGridLayout" >
164        <item row="3" column="0" >
165         <spacer>
166          <property name="orientation" >
167           <enum>Qt::Horizontal</enum>
168          </property>
169          <property name="sizeType" >
170           <enum>QSizePolicy::Fixed</enum>
171          </property>
172          <property name="sizeHint" stdset="0" >
173           <size>
174            <width>20</width>
175            <height>20</height>
176           </size>
177          </property>
178         </spacer>
179        </item>
180        <item row="0" column="0" colspan="5" >
181         <widget class="QRadioButton" name="blackOnWhite" >
182          <property name="whatsThis" >
183           <string>&lt;b>Black on White&lt;/b>&lt;p>This is what you normally see.&lt;/p></string>
184          </property>
185          <property name="text" >
186           <string>&amp;Black on white</string>
187          </property>
188          <property name="checked" >
189           <bool>true</bool>
190          </property>
191         </widget>
192        </item>
193        <item row="1" column="0" colspan="5" >
194         <widget class="QRadioButton" name="whiteOnBlack" >
195          <property name="whatsThis" >
196           <string>&lt;b>White on Black&lt;/b>&lt;p>This is your classic inverse color scheme.&lt;/p></string>
197          </property>
198          <property name="text" >
199           <string>&amp;White on black</string>
200          </property>
201         </widget>
202        </item>
203        <item row="2" column="0" colspan="5" >
204         <widget class="QRadioButton" name="customColor" >
205          <property name="whatsThis" >
206           <string>&lt;b>Custom&lt;/b>&lt;p>Select this option to define a custom color for the default font.&lt;/p></string>
207          </property>
208          <property name="text" >
209           <string>Cus&amp;tom</string>
210          </property>
211         </widget>
212        </item>
213        <item row="3" column="1" >
214         <widget class="QLabel" name="txtBackground" >
215          <property name="enabled" >
216           <bool>false</bool>
217          </property>
218          <property name="whatsThis" >
219           <string>&lt;b>Background&lt;/b>&lt;p>This background color is the one displayed behind the text by default. A background image will override this.&lt;/p></string>
220          </property>
221          <property name="text" >
222           <string>Bac&amp;kground:</string>
223          </property>
224          <property name="wordWrap" >
225           <bool>false</bool>
226          </property>
227          <property name="buddy" >
228           <cstring>backgroundColorButton</cstring>
229          </property>
230         </widget>
231        </item>
232        <item row="3" column="2" >
233         <widget class="KColorButton" name="backgroundColorButton" >
234          <property name="enabled" >
235           <bool>false</bool>
236          </property>
237          <property name="whatsThis" >
238           <string>&lt;b>Background&lt;/b>&lt;p>Behind this door lays the ability to choose a custom default background.&lt;/p></string>
239          </property>
240          <property name="text" >
241           <string/>
242          </property>
243         </widget>
244        </item>
245        <item row="4" column="0" colspan="5" >
246         <widget class="QCheckBox" name="sameColor" >
247          <property name="whatsThis" >
248           <string>&lt;b>Use same color for all text&lt;/b>&lt;p>Select this option to apply your chosen color to the default font as well as any custom fonts as specified in a stylesheet.&lt;/p></string>
249          </property>
250          <property name="text" >
251           <string>Use same color for all text</string>
252          </property>
253         </widget>
254        </item>
255        <item row="3" column="3" >
256         <widget class="QLabel" name="txtForeground" >
257          <property name="enabled" >
258           <bool>false</bool>
259          </property>
260          <property name="whatsThis" >
261           <string>&lt;b>Foreground color&lt;/b>&lt;p>The foreground color is the color that the text is drawn in.&lt;/p></string>
262          </property>
263          <property name="text" >
264           <string>&amp;Foreground:</string>
265          </property>
266          <property name="wordWrap" >
267           <bool>false</bool>
268          </property>
269          <property name="buddy" >
270           <cstring>foregroundColorButton</cstring>
271          </property>
272         </widget>
273        </item>
274        <item row="3" column="4" >
275         <widget class="KColorButton" name="foregroundColorButton" >
276          <property name="enabled" >
277           <bool>false</bool>
278          </property>
279          <property name="whatsThis" >
280           <string>&lt;b>Foreground color&lt;/b>&lt;p>The foreground color is the color that the text is drawn in.&lt;/p></string>
281          </property>
282          <property name="text" >
283           <string/>
284          </property>
285         </widget>
286        </item>
287       </layout>
288      </widget>
289     </item>
290     <item row="4" column="0" >
291      <widget class="QGroupBox" name="GroupBox3_2" >
292       <property name="whatsThis" >
293        <string>&lt;b>Images&lt;/b></string>
294       </property>
295       <property name="title" >
296        <string>Images</string>
297       </property>
298       <layout class="QGridLayout" >
299        <item row="0" column="0" >
300         <widget class="QCheckBox" name="hideImages" >
301          <property name="whatsThis" >
302           <string>&lt;b>Suppress images&lt;/b>&lt;p>Selecting this will prevent Konqueror from loading images.&lt;/p></string>
303          </property>
304          <property name="text" >
305           <string>&amp;Suppress images</string>
306          </property>
307         </widget>
308        </item>
309        <item row="1" column="0" >
310         <widget class="QCheckBox" name="hideBackground" >
311          <property name="whatsThis" >
312           <string>&lt;b>Suppress background images&lt;/b>&lt;p>Selecting this option will prevent Konqueror from loading background images.&lt;/p></string>
313          </property>
314          <property name="text" >
315           <string>Suppress background images</string>
316          </property>
317          <property name="checked" >
318           <bool>true</bool>
319          </property>
320         </widget>
321        </item>
322        <item row="2" column="0" >
323         <spacer name="verticalSpacer" >
324          <property name="orientation" >
325           <enum>Qt::Vertical</enum>
326          </property>
327          <property name="sizeHint" stdset="0" >
328           <size>
329            <width>20</width>
330            <height>40</height>
331           </size>
332          </property>
333         </spacer>
334        </item>
335       </layout>
336      </widget>
337     </item>
338     <item row="5" column="0" colspan="2" >
339      <widget class="QGroupBox" name="previewBox" >
340       <property name="minimumSize" >
341        <size>
342         <width>0</width>
343         <height>200</height>
344        </size>
345       </property>
346       <property name="title" >
347        <string>Preview</string>
348       </property>
349      </widget>
350     </item>
351    </layout>
352   </item>
353   <item>
354    <layout class="QHBoxLayout" />
355   </item>
356   <item>
357    <layout class="QHBoxLayout" />
358   </item>
359  </layout>
360 </widget>
361 <customwidgets>
362  <customwidget>
363   <class>KColorButton</class>
364   <extends>QPushButton</extends>
365   <header>kcolorbutton.h</header>
366  </customwidget>
367 </customwidgets>
368 <tabstops>
369  <tabstop>sameFamily</tabstop>
370  <tabstop>basefontsize</tabstop>
371  <tabstop>dontScale</tabstop>
372  <tabstop>blackOnWhite</tabstop>
373  <tabstop>backgroundColorButton</tabstop>
374  <tabstop>sameColor</tabstop>
375  <tabstop>hideImages</tabstop>
376  <tabstop>hideBackground</tabstop>
377 </tabstops>
378 <includes>
379  <include location="global" >kcolorbutton.h</include>
380 </includes>
381 <resources/>
382 <connections>
383  <connection>
384   <sender>customColor</sender>
385   <signal>toggled(bool)</signal>
386   <receiver>backgroundColorButton</receiver>
387   <slot>setEnabled(bool)</slot>
388   <hints>
389    <hint type="sourcelabel" >
390     <x>339</x>
391     <y>202</y>
392    </hint>
393    <hint type="destinationlabel" >
394     <x>420</x>
395     <y>227</y>
396    </hint>
397   </hints>
398  </connection>
399  <connection>
400   <sender>customColor</sender>
401   <signal>toggled(bool)</signal>
402   <receiver>foregroundColorButton</receiver>
403   <slot>setEnabled(bool)</slot>
404   <hints>
405    <hint type="sourcelabel" >
406     <x>318</x>
407     <y>205</y>
408    </hint>
409    <hint type="destinationlabel" >
410     <x>416</x>
411     <y>257</y>
412    </hint>
413   </hints>
414  </connection>
415  <connection>
416   <sender>customColor</sender>
417   <signal>toggled(bool)</signal>
418   <receiver>txtBackground</receiver>
419   <slot>setEnabled(bool)</slot>
420   <hints>
421    <hint type="sourcelabel" >
422     <x>377</x>
423     <y>203</y>
424    </hint>
425    <hint type="destinationlabel" >
426     <x>355</x>
427     <y>237</y>
428    </hint>
429   </hints>
430  </connection>
431  <connection>
432   <sender>customColor</sender>
433   <signal>toggled(bool)</signal>
434   <receiver>txtForeground</receiver>
435   <slot>setEnabled(bool)</slot>
436   <hints>
437    <hint type="sourcelabel" >
438     <x>390</x>
439     <y>200</y>
440    </hint>
441    <hint type="destinationlabel" >
442     <x>368</x>
443     <y>256</y>
444    </hint>
445   </hints>
446  </connection>
447 </connections>
448</ui>
449