Say hello to the first settings page in our shiny new, almost working SettingsDlg...
[quassel.git] / src / qtui / settingspages / fontssettingspage.ui
1 <ui version="4.0" >
2  <class>FontsSettingsPage</class>
3  <widget class="QWidget" name="FontsSettingsPage" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>524</width>
9     <height>400</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Form</string>
14   </property>
15   <layout class="QVBoxLayout" >
16    <item>
17     <widget class="QGroupBox" name="groupBox" >
18      <property name="enabled" >
19       <bool>false</bool>
20      </property>
21      <property name="title" >
22       <string>Custom Application Fonts</string>
23      </property>
24      <property name="checkable" >
25       <bool>true</bool>
26      </property>
27      <property name="checked" >
28       <bool>false</bool>
29      </property>
30      <layout class="QVBoxLayout" >
31       <item>
32        <layout class="QGridLayout" >
33         <item row="0" column="0" >
34          <widget class="QLabel" name="label" >
35           <property name="text" >
36            <string>General:</string>
37           </property>
38          </widget>
39         </item>
40         <item row="0" column="1" >
41          <widget class="QLabel" name="demoGeneral" >
42           <property name="sizePolicy" >
43            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
44             <horstretch>0</horstretch>
45             <verstretch>0</verstretch>
46            </sizepolicy>
47           </property>
48           <property name="frameShape" >
49            <enum>QFrame::StyledPanel</enum>
50           </property>
51           <property name="frameShadow" >
52            <enum>QFrame::Sunken</enum>
53           </property>
54           <property name="text" >
55            <string>Font</string>
56           </property>
57           <property name="alignment" >
58            <set>Qt::AlignCenter</set>
59           </property>
60          </widget>
61         </item>
62         <item row="0" column="2" >
63          <widget class="QPushButton" name="chooseGeneral" >
64           <property name="sizePolicy" >
65            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
66             <horstretch>0</horstretch>
67             <verstretch>0</verstretch>
68            </sizepolicy>
69           </property>
70           <property name="text" >
71            <string>Choose...</string>
72           </property>
73          </widget>
74         </item>
75         <item row="1" column="0" >
76          <widget class="QCheckBox" name="checkTopic" >
77           <property name="text" >
78            <string>Topic:</string>
79           </property>
80          </widget>
81         </item>
82         <item row="1" column="1" >
83          <widget class="QLabel" name="demoTopic" >
84           <property name="sizePolicy" >
85            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
86             <horstretch>0</horstretch>
87             <verstretch>0</verstretch>
88            </sizepolicy>
89           </property>
90           <property name="frameShape" >
91            <enum>QFrame::StyledPanel</enum>
92           </property>
93           <property name="frameShadow" >
94            <enum>QFrame::Sunken</enum>
95           </property>
96           <property name="text" >
97            <string>Font</string>
98           </property>
99           <property name="alignment" >
100            <set>Qt::AlignCenter</set>
101           </property>
102          </widget>
103         </item>
104         <item row="1" column="2" >
105          <widget class="QPushButton" name="chooseTopic" >
106           <property name="sizePolicy" >
107            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
108             <horstretch>0</horstretch>
109             <verstretch>0</verstretch>
110            </sizepolicy>
111           </property>
112           <property name="text" >
113            <string>Choose...</string>
114           </property>
115          </widget>
116         </item>
117         <item row="2" column="0" >
118          <widget class="QCheckBox" name="checkBufferView" >
119           <property name="text" >
120            <string>Buffer Views:</string>
121           </property>
122           <property name="checked" >
123            <bool>true</bool>
124           </property>
125          </widget>
126         </item>
127         <item row="2" column="1" >
128          <widget class="QLabel" name="demoBufferView" >
129           <property name="sizePolicy" >
130            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
131             <horstretch>0</horstretch>
132             <verstretch>0</verstretch>
133            </sizepolicy>
134           </property>
135           <property name="frameShape" >
136            <enum>QFrame::StyledPanel</enum>
137           </property>
138           <property name="frameShadow" >
139            <enum>QFrame::Sunken</enum>
140           </property>
141           <property name="text" >
142            <string>Font</string>
143           </property>
144           <property name="alignment" >
145            <set>Qt::AlignCenter</set>
146           </property>
147          </widget>
148         </item>
149         <item row="2" column="2" >
150          <widget class="QPushButton" name="chooseBufferView" >
151           <property name="sizePolicy" >
152            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
153             <horstretch>0</horstretch>
154             <verstretch>0</verstretch>
155            </sizepolicy>
156           </property>
157           <property name="text" >
158            <string>Choose...</string>
159           </property>
160          </widget>
161         </item>
162         <item row="3" column="0" >
163          <widget class="QCheckBox" name="checkNickList" >
164           <property name="text" >
165            <string>Nick List:</string>
166           </property>
167           <property name="checked" >
168            <bool>true</bool>
169           </property>
170          </widget>
171         </item>
172         <item row="3" column="1" >
173          <widget class="QLabel" name="demoNickList" >
174           <property name="sizePolicy" >
175            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
176             <horstretch>0</horstretch>
177             <verstretch>0</verstretch>
178            </sizepolicy>
179           </property>
180           <property name="frameShape" >
181            <enum>QFrame::StyledPanel</enum>
182           </property>
183           <property name="frameShadow" >
184            <enum>QFrame::Sunken</enum>
185           </property>
186           <property name="text" >
187            <string>Font</string>
188           </property>
189           <property name="alignment" >
190            <set>Qt::AlignCenter</set>
191           </property>
192          </widget>
193         </item>
194         <item row="3" column="2" >
195          <widget class="QPushButton" name="chooseNickList" >
196           <property name="sizePolicy" >
197            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
198             <horstretch>0</horstretch>
199             <verstretch>0</verstretch>
200            </sizepolicy>
201           </property>
202           <property name="text" >
203            <string>Choose...</string>
204           </property>
205          </widget>
206         </item>
207        </layout>
208       </item>
209      </layout>
210     </widget>
211    </item>
212    <item>
213     <widget class="QGroupBox" name="groupBox_2" >
214      <property name="title" >
215       <string>Chat Widget</string>
216      </property>
217      <layout class="QVBoxLayout" >
218       <item>
219        <layout class="QGridLayout" >
220         <item row="0" column="0" >
221          <widget class="QLabel" name="label_2" >
222           <property name="text" >
223            <string>General:</string>
224           </property>
225          </widget>
226         </item>
227         <item row="0" column="1" >
228          <widget class="QLabel" name="demoChatMessages" >
229           <property name="sizePolicy" >
230            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
231             <horstretch>0</horstretch>
232             <verstretch>0</verstretch>
233            </sizepolicy>
234           </property>
235           <property name="frameShape" >
236            <enum>QFrame::StyledPanel</enum>
237           </property>
238           <property name="frameShadow" >
239            <enum>QFrame::Sunken</enum>
240           </property>
241           <property name="text" >
242            <string>Font</string>
243           </property>
244           <property name="alignment" >
245            <set>Qt::AlignCenter</set>
246           </property>
247          </widget>
248         </item>
249         <item row="0" column="2" >
250          <widget class="QPushButton" name="chooseChatMessages" >
251           <property name="sizePolicy" >
252            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
253             <horstretch>0</horstretch>
254             <verstretch>0</verstretch>
255            </sizepolicy>
256           </property>
257           <property name="text" >
258            <string>Choose...</string>
259           </property>
260          </widget>
261         </item>
262         <item row="1" column="1" >
263          <widget class="QLabel" name="demoNicks" >
264           <property name="sizePolicy" >
265            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
266             <horstretch>0</horstretch>
267             <verstretch>0</verstretch>
268            </sizepolicy>
269           </property>
270           <property name="frameShape" >
271            <enum>QFrame::StyledPanel</enum>
272           </property>
273           <property name="frameShadow" >
274            <enum>QFrame::Sunken</enum>
275           </property>
276           <property name="text" >
277            <string>Font</string>
278           </property>
279           <property name="alignment" >
280            <set>Qt::AlignCenter</set>
281           </property>
282          </widget>
283         </item>
284         <item row="1" column="2" >
285          <widget class="QPushButton" name="chooseNicks" >
286           <property name="sizePolicy" >
287            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
288             <horstretch>0</horstretch>
289             <verstretch>0</verstretch>
290            </sizepolicy>
291           </property>
292           <property name="text" >
293            <string>Choose...</string>
294           </property>
295          </widget>
296         </item>
297         <item row="2" column="1" >
298          <widget class="QLabel" name="demoTimestamp" >
299           <property name="sizePolicy" >
300            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
301             <horstretch>0</horstretch>
302             <verstretch>0</verstretch>
303            </sizepolicy>
304           </property>
305           <property name="frameShape" >
306            <enum>QFrame::StyledPanel</enum>
307           </property>
308           <property name="frameShadow" >
309            <enum>QFrame::Sunken</enum>
310           </property>
311           <property name="text" >
312            <string>Font</string>
313           </property>
314           <property name="alignment" >
315            <set>Qt::AlignCenter</set>
316           </property>
317          </widget>
318         </item>
319         <item row="2" column="2" >
320          <widget class="QPushButton" name="chooseTimestamp" >
321           <property name="sizePolicy" >
322            <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
323             <horstretch>0</horstretch>
324             <verstretch>0</verstretch>
325            </sizepolicy>
326           </property>
327           <property name="text" >
328            <string>Choose...</string>
329           </property>
330          </widget>
331         </item>
332         <item row="1" column="0" >
333          <widget class="QCheckBox" name="checkNicks" >
334           <property name="text" >
335            <string>Nicks:</string>
336           </property>
337           <property name="checked" >
338            <bool>true</bool>
339           </property>
340          </widget>
341         </item>
342         <item row="2" column="0" >
343          <widget class="QCheckBox" name="checkTimestamp" >
344           <property name="text" >
345            <string>Timestamp:</string>
346           </property>
347           <property name="checked" >
348            <bool>true</bool>
349           </property>
350          </widget>
351         </item>
352        </layout>
353       </item>
354      </layout>
355     </widget>
356    </item>
357    <item>
358     <widget class="QLabel" name="label_3" >
359      <property name="font" >
360       <font>
361        <italic>true</italic>
362       </font>
363      </property>
364      <property name="text" >
365       <string>Some of these settings require a restart of the Quassel Client in order to take effect. We intend to fix this.</string>
366      </property>
367      <property name="wordWrap" >
368       <bool>true</bool>
369      </property>
370     </widget>
371    </item>
372    <item>
373     <spacer>
374      <property name="orientation" >
375       <enum>Qt::Vertical</enum>
376      </property>
377      <property name="sizeHint" >
378       <size>
379        <width>20</width>
380        <height>41</height>
381       </size>
382      </property>
383     </spacer>
384    </item>
385   </layout>
386  </widget>
387  <resources/>
388  <connections>
389   <connection>
390    <sender>checkTimestamp</sender>
391    <signal>toggled(bool)</signal>
392    <receiver>demoTimestamp</receiver>
393    <slot>setEnabled(bool)</slot>
394    <hints>
395     <hint type="sourcelabel" >
396      <x>46</x>
397      <y>292</y>
398     </hint>
399     <hint type="destinationlabel" >
400      <x>183</x>
401      <y>290</y>
402     </hint>
403    </hints>
404   </connection>
405   <connection>
406    <sender>checkTimestamp</sender>
407    <signal>toggled(bool)</signal>
408    <receiver>chooseTimestamp</receiver>
409    <slot>setEnabled(bool)</slot>
410    <hints>
411     <hint type="sourcelabel" >
412      <x>96</x>
413      <y>288</y>
414     </hint>
415     <hint type="destinationlabel" >
416      <x>452</x>
417      <y>293</y>
418     </hint>
419    </hints>
420   </connection>
421   <connection>
422    <sender>checkBufferView</sender>
423    <signal>toggled(bool)</signal>
424    <receiver>demoBufferView</receiver>
425    <slot>setEnabled(bool)</slot>
426    <hints>
427     <hint type="sourcelabel" >
428      <x>32</x>
429      <y>116</y>
430     </hint>
431     <hint type="destinationlabel" >
432      <x>215</x>
433      <y>117</y>
434     </hint>
435    </hints>
436   </connection>
437   <connection>
438    <sender>checkBufferView</sender>
439    <signal>toggled(bool)</signal>
440    <receiver>chooseBufferView</receiver>
441    <slot>setEnabled(bool)</slot>
442    <hints>
443     <hint type="sourcelabel" >
444      <x>86</x>
445      <y>113</y>
446     </hint>
447     <hint type="destinationlabel" >
448      <x>451</x>
449      <y>118</y>
450     </hint>
451    </hints>
452   </connection>
453   <connection>
454    <sender>checkNickList</sender>
455    <signal>toggled(bool)</signal>
456    <receiver>demoNickList</receiver>
457    <slot>setEnabled(bool)</slot>
458    <hints>
459     <hint type="sourcelabel" >
460      <x>69</x>
461      <y>147</y>
462     </hint>
463     <hint type="destinationlabel" >
464      <x>199</x>
465      <y>151</y>
466     </hint>
467    </hints>
468   </connection>
469   <connection>
470    <sender>checkNickList</sender>
471    <signal>toggled(bool)</signal>
472    <receiver>chooseNickList</receiver>
473    <slot>setEnabled(bool)</slot>
474    <hints>
475     <hint type="sourcelabel" >
476      <x>78</x>
477      <y>145</y>
478     </hint>
479     <hint type="destinationlabel" >
480      <x>455</x>
481      <y>151</y>
482     </hint>
483    </hints>
484   </connection>
485   <connection>
486    <sender>checkTopic</sender>
487    <signal>toggled(bool)</signal>
488    <receiver>demoTopic</receiver>
489    <slot>setEnabled(bool)</slot>
490    <hints>
491     <hint type="sourcelabel" >
492      <x>34</x>
493      <y>81</y>
494     </hint>
495     <hint type="destinationlabel" >
496      <x>190</x>
497      <y>87</y>
498     </hint>
499    </hints>
500   </connection>
501   <connection>
502    <sender>checkTopic</sender>
503    <signal>toggled(bool)</signal>
504    <receiver>chooseTopic</receiver>
505    <slot>setEnabled(bool)</slot>
506    <hints>
507     <hint type="sourcelabel" >
508      <x>101</x>
509      <y>81</y>
510     </hint>
511     <hint type="destinationlabel" >
512      <x>451</x>
513      <y>82</y>
514     </hint>
515    </hints>
516   </connection>
517   <connection>
518    <sender>checkNicks</sender>
519    <signal>toggled(bool)</signal>
520    <receiver>demoNicks</receiver>
521    <slot>setEnabled(bool)</slot>
522    <hints>
523     <hint type="sourcelabel" >
524      <x>40</x>
525      <y>255</y>
526     </hint>
527     <hint type="destinationlabel" >
528      <x>211</x>
529      <y>257</y>
530     </hint>
531    </hints>
532   </connection>
533   <connection>
534    <sender>checkNicks</sender>
535    <signal>toggled(bool)</signal>
536    <receiver>chooseNicks</receiver>
537    <slot>setEnabled(bool)</slot>
538    <hints>
539     <hint type="sourcelabel" >
540      <x>89</x>
541      <y>257</y>
542     </hint>
543     <hint type="destinationlabel" >
544      <x>447</x>
545      <y>258</y>
546     </hint>
547    </hints>
548   </connection>
549  </connections>
550 </ui>