Add horizontal spacer to Appearance settings page
[quassel.git] / src / qtui / settingspages / appearancesettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>AppearanceSettingsPage</class>
4  <widget class="QWidget" name="AppearanceSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>549</width>
10     <height>470</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QGridLayout" name="gridLayout">
19      <item row="0" column="0">
20       <widget class="QLabel" name="label_2">
21        <property name="text">
22         <string>Client style:</string>
23        </property>
24       </widget>
25      </item>
26      <item row="0" column="1">
27       <widget class="QComboBox" name="styleComboBox">
28        <property name="toolTip">
29         <string>Set application style</string>
30        </property>
31       </widget>
32      </item>
33      <item row="1" column="0">
34       <widget class="QLabel" name="label_9">
35        <property name="text">
36         <string>Language:</string>
37        </property>
38       </widget>
39      </item>
40      <item row="1" column="1">
41       <widget class="QComboBox" name="languageComboBox">
42        <property name="toolTip">
43         <string>Set the application language. Requires restart!</string>
44        </property>
45        <item>
46         <property name="text">
47          <string>&lt;Untranslated&gt;</string>
48         </property>
49        </item>
50        <item>
51         <property name="text">
52          <string>&lt;System Default&gt;</string>
53         </property>
54        </item>
55       </widget>
56      </item>
57      <item row="1" column="2">
58       <spacer name="horizontalSpacer_3">
59        <property name="orientation">
60         <enum>Qt::Horizontal</enum>
61        </property>
62        <property name="sizeHint" stdset="0">
63         <size>
64          <width>40</width>
65          <height>20</height>
66         </size>
67        </property>
68       </spacer>
69      </item>
70     </layout>
71    </item>
72    <item>
73     <widget class="QCheckBox" name="useCustomStyleSheet">
74      <property name="text">
75       <string>Use custom stylesheet</string>
76      </property>
77      <property name="settingsKey" stdset="0">
78       <string notr="true">/UiStyle/UseCustomStyleSheet</string>
79      </property>
80      <property name="defaultValue" stdset="0">
81       <bool>false</bool>
82      </property>
83     </widget>
84    </item>
85    <item>
86     <layout class="QHBoxLayout" name="horizontalLayout_2">
87      <item>
88       <spacer name="horizontalSpacer">
89        <property name="orientation">
90         <enum>Qt::Horizontal</enum>
91        </property>
92        <property name="sizeType">
93         <enum>QSizePolicy::Fixed</enum>
94        </property>
95        <property name="sizeHint" stdset="0">
96         <size>
97          <width>20</width>
98          <height>20</height>
99         </size>
100        </property>
101       </spacer>
102      </item>
103      <item>
104       <widget class="QLabel" name="label">
105        <property name="enabled">
106         <bool>false</bool>
107        </property>
108        <property name="text">
109         <string>Path:</string>
110        </property>
111       </widget>
112      </item>
113      <item>
114       <widget class="QLineEdit" name="customStyleSheetPath">
115        <property name="enabled">
116         <bool>false</bool>
117        </property>
118        <property name="sizePolicy">
119         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
120          <horstretch>0</horstretch>
121          <verstretch>0</verstretch>
122         </sizepolicy>
123        </property>
124        <property name="readOnly">
125         <bool>false</bool>
126        </property>
127        <property name="settingsKey" stdset="0">
128         <string notr="true">/UiStyle/CustomStyleSheetPath</string>
129        </property>
130        <property name="defaultValue" stdset="0">
131         <string/>
132        </property>
133       </widget>
134      </item>
135      <item>
136       <widget class="QToolButton" name="chooseStyleSheet">
137        <property name="enabled">
138         <bool>false</bool>
139        </property>
140        <property name="text">
141         <string>...</string>
142        </property>
143       </widget>
144      </item>
145     </layout>
146    </item>
147    <item>
148     <widget class="QCheckBox" name="useSystemTrayIcon">
149      <property name="text">
150       <string>Show system tray icon</string>
151      </property>
152      <property name="checked">
153       <bool>true</bool>
154      </property>
155      <property name="settingsKey" stdset="0">
156       <string notr="true">UseSystemTrayIcon</string>
157      </property>
158      <property name="defaultValue" stdset="0">
159       <bool>true</bool>
160      </property>
161     </widget>
162    </item>
163    <item>
164     <layout class="QGridLayout" name="gridLayout_3">
165      <item row="0" column="0">
166       <spacer name="horizontalSpacer_2">
167        <property name="orientation">
168         <enum>Qt::Horizontal</enum>
169        </property>
170        <property name="sizeType">
171         <enum>QSizePolicy::Fixed</enum>
172        </property>
173        <property name="sizeHint" stdset="0">
174         <size>
175          <width>20</width>
176          <height>20</height>
177         </size>
178        </property>
179       </spacer>
180      </item>
181      <item row="0" column="1">
182       <widget class="QCheckBox" name="minimizeOnClose">
183        <property name="text">
184         <string>Hide to tray on close button</string>
185        </property>
186        <property name="settingsKey" stdset="0">
187         <string notr="true">MinimizeOnClose</string>
188        </property>
189        <property name="defaultValue" stdset="0">
190         <bool>false</bool>
191        </property>
192       </widget>
193      </item>
194      <item row="1" column="0">
195       <spacer name="horizontalSpacer_4">
196        <property name="orientation">
197         <enum>Qt::Horizontal</enum>
198        </property>
199        <property name="sizeType">
200         <enum>QSizePolicy::Fixed</enum>
201        </property>
202        <property name="sizeHint" stdset="0">
203         <size>
204          <width>20</width>
205          <height>20</height>
206         </size>
207        </property>
208       </spacer>
209      </item>
210      <item row="1" column="1">
211       <widget class="QCheckBox" name="animateSystrayIcon">
212        <property name="styleSheet">
213         <string notr="true"/>
214        </property>
215        <property name="text">
216         <string>Enable animations</string>
217        </property>
218        <property name="settingsKey" stdset="0">
219         <string notr="true">/Notification/Systray/Animate</string>
220        </property>
221        <property name="defaultValue" stdset="0">
222         <bool>true</bool>
223        </property>
224       </widget>
225      </item>
226     </layout>
227    </item>
228    <item>
229     <widget class="QGroupBox" name="groupBox_3">
230      <property name="title">
231       <string>Message Redirection</string>
232      </property>
233      <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0,0,1">
234       <property name="horizontalSpacing">
235        <number>20</number>
236       </property>
237       <item row="1" column="0">
238        <widget class="QLabel" name="label_3">
239         <property name="text">
240          <string>User Notices:</string>
241         </property>
242        </widget>
243       </item>
244       <item row="1" column="1">
245        <widget class="QCheckBox" name="userNoticesInDefaultBuffer">
246         <property name="enabled">
247          <bool>true</bool>
248         </property>
249         <property name="text">
250          <string/>
251         </property>
252         <property name="checked">
253          <bool>true</bool>
254         </property>
255        </widget>
256       </item>
257       <item row="1" column="2">
258        <widget class="QCheckBox" name="userNoticesInStatusBuffer">
259         <property name="enabled">
260          <bool>true</bool>
261         </property>
262         <property name="text">
263          <string/>
264         </property>
265         <property name="checked">
266          <bool>false</bool>
267         </property>
268        </widget>
269       </item>
270       <item row="1" column="3">
271        <widget class="QCheckBox" name="userNoticesInCurrentBuffer">
272         <property name="enabled">
273          <bool>true</bool>
274         </property>
275         <property name="text">
276          <string/>
277         </property>
278        </widget>
279       </item>
280       <item row="2" column="0">
281        <widget class="QLabel" name="label_4">
282         <property name="text">
283          <string>Server Notices:</string>
284         </property>
285        </widget>
286       </item>
287       <item row="2" column="1">
288        <widget class="QCheckBox" name="serverNoticesInDefaultBuffer">
289         <property name="text">
290          <string/>
291         </property>
292        </widget>
293       </item>
294       <item row="0" column="1">
295        <widget class="QLabel" name="label_5">
296         <property name="text">
297          <string>Default Target</string>
298         </property>
299        </widget>
300       </item>
301       <item row="0" column="2">
302        <widget class="QLabel" name="label_6">
303         <property name="text">
304          <string>Status Window</string>
305         </property>
306        </widget>
307       </item>
308       <item row="0" column="3">
309        <widget class="QLabel" name="label_7">
310         <property name="text">
311          <string>Current Chat</string>
312         </property>
313        </widget>
314       </item>
315       <item row="3" column="0">
316        <widget class="QLabel" name="label_8">
317         <property name="text">
318          <string>Errors:</string>
319         </property>
320        </widget>
321       </item>
322       <item row="2" column="2">
323        <widget class="QCheckBox" name="serverNoticesInStatusBuffer">
324         <property name="text">
325          <string/>
326         </property>
327         <property name="checked">
328          <bool>true</bool>
329         </property>
330        </widget>
331       </item>
332       <item row="2" column="3">
333        <widget class="QCheckBox" name="serverNoticesInCurrentBuffer">
334         <property name="text">
335          <string/>
336         </property>
337        </widget>
338       </item>
339       <item row="3" column="1">
340        <widget class="QCheckBox" name="errorMsgsInDefaultBuffer">
341         <property name="text">
342          <string/>
343         </property>
344         <property name="checked">
345          <bool>true</bool>
346         </property>
347        </widget>
348       </item>
349       <item row="3" column="2">
350        <widget class="QCheckBox" name="errorMsgsInStatusBuffer">
351         <property name="text">
352          <string/>
353         </property>
354        </widget>
355       </item>
356       <item row="3" column="3">
357        <widget class="QCheckBox" name="errorMsgsInCurrentBuffer">
358         <property name="text">
359          <string/>
360         </property>
361        </widget>
362       </item>
363       <item row="0" column="4">
364        <spacer name="horizontalSpacer_5">
365         <property name="orientation">
366          <enum>Qt::Horizontal</enum>
367         </property>
368         <property name="sizeHint" stdset="0">
369          <size>
370           <width>1</width>
371           <height>1</height>
372          </size>
373         </property>
374        </spacer>
375       </item>
376      </layout>
377     </widget>
378    </item>
379    <item>
380     <spacer name="verticalSpacer">
381      <property name="orientation">
382       <enum>Qt::Vertical</enum>
383      </property>
384      <property name="sizeHint" stdset="0">
385       <size>
386        <width>20</width>
387        <height>40</height>
388       </size>
389      </property>
390     </spacer>
391    </item>
392   </layout>
393  </widget>
394  <tabstops>
395   <tabstop>styleComboBox</tabstop>
396   <tabstop>languageComboBox</tabstop>
397   <tabstop>useCustomStyleSheet</tabstop>
398   <tabstop>customStyleSheetPath</tabstop>
399   <tabstop>chooseStyleSheet</tabstop>
400   <tabstop>useSystemTrayIcon</tabstop>
401   <tabstop>minimizeOnClose</tabstop>
402   <tabstop>userNoticesInDefaultBuffer</tabstop>
403   <tabstop>userNoticesInStatusBuffer</tabstop>
404   <tabstop>userNoticesInCurrentBuffer</tabstop>
405   <tabstop>serverNoticesInDefaultBuffer</tabstop>
406   <tabstop>serverNoticesInStatusBuffer</tabstop>
407   <tabstop>serverNoticesInCurrentBuffer</tabstop>
408   <tabstop>errorMsgsInDefaultBuffer</tabstop>
409   <tabstop>errorMsgsInStatusBuffer</tabstop>
410   <tabstop>errorMsgsInCurrentBuffer</tabstop>
411  </tabstops>
412  <resources/>
413  <connections>
414   <connection>
415    <sender>useCustomStyleSheet</sender>
416    <signal>toggled(bool)</signal>
417    <receiver>customStyleSheetPath</receiver>
418    <slot>setEnabled(bool)</slot>
419    <hints>
420     <hint type="sourcelabel">
421      <x>63</x>
422      <y>86</y>
423     </hint>
424     <hint type="destinationlabel">
425      <x>86</x>
426      <y>114</y>
427     </hint>
428    </hints>
429   </connection>
430   <connection>
431    <sender>useCustomStyleSheet</sender>
432    <signal>toggled(bool)</signal>
433    <receiver>label</receiver>
434    <slot>setEnabled(bool)</slot>
435    <hints>
436     <hint type="sourcelabel">
437      <x>45</x>
438      <y>80</y>
439     </hint>
440     <hint type="destinationlabel">
441      <x>38</x>
442      <y>113</y>
443     </hint>
444    </hints>
445   </connection>
446   <connection>
447    <sender>useCustomStyleSheet</sender>
448    <signal>toggled(bool)</signal>
449    <receiver>chooseStyleSheet</receiver>
450    <slot>setEnabled(bool)</slot>
451    <hints>
452     <hint type="sourcelabel">
453      <x>84</x>
454      <y>80</y>
455     </hint>
456     <hint type="destinationlabel">
457      <x>525</x>
458      <y>117</y>
459     </hint>
460    </hints>
461   </connection>
462   <connection>
463    <sender>useSystemTrayIcon</sender>
464    <signal>toggled(bool)</signal>
465    <receiver>minimizeOnClose</receiver>
466    <slot>setEnabled(bool)</slot>
467    <hints>
468     <hint type="sourcelabel">
469      <x>91</x>
470      <y>143</y>
471     </hint>
472     <hint type="destinationlabel">
473      <x>92</x>
474      <y>174</y>
475     </hint>
476    </hints>
477   </connection>
478   <connection>
479    <sender>useSystemTrayIcon</sender>
480    <signal>toggled(bool)</signal>
481    <receiver>animateSystrayIcon</receiver>
482    <slot>setEnabled(bool)</slot>
483    <hints>
484     <hint type="sourcelabel">
485      <x>125</x>
486      <y>144</y>
487     </hint>
488     <hint type="destinationlabel">
489      <x>122</x>
490      <y>203</y>
491     </hint>
492    </hints>
493   </connection>
494  </connections>
495 </ui>