Fix visibility issues with StatusNotifier
[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">
234       <item row="1" column="0">
235        <widget class="QLabel" name="label_3">
236         <property name="text">
237          <string>User Notices:</string>
238         </property>
239        </widget>
240       </item>
241       <item row="1" column="1">
242        <widget class="QCheckBox" name="userNoticesInDefaultBuffer">
243         <property name="enabled">
244          <bool>true</bool>
245         </property>
246         <property name="text">
247          <string/>
248         </property>
249         <property name="checked">
250          <bool>true</bool>
251         </property>
252        </widget>
253       </item>
254       <item row="1" column="2">
255        <widget class="QCheckBox" name="userNoticesInStatusBuffer">
256         <property name="enabled">
257          <bool>true</bool>
258         </property>
259         <property name="text">
260          <string/>
261         </property>
262         <property name="checked">
263          <bool>false</bool>
264         </property>
265        </widget>
266       </item>
267       <item row="1" column="3">
268        <widget class="QCheckBox" name="userNoticesInCurrentBuffer">
269         <property name="enabled">
270          <bool>true</bool>
271         </property>
272         <property name="text">
273          <string/>
274         </property>
275        </widget>
276       </item>
277       <item row="2" column="0">
278        <widget class="QLabel" name="label_4">
279         <property name="text">
280          <string>Server Notices:</string>
281         </property>
282        </widget>
283       </item>
284       <item row="2" column="1">
285        <widget class="QCheckBox" name="serverNoticesInDefaultBuffer">
286         <property name="text">
287          <string/>
288         </property>
289        </widget>
290       </item>
291       <item row="0" column="1">
292        <widget class="QLabel" name="label_5">
293         <property name="text">
294          <string>Default Target</string>
295         </property>
296        </widget>
297       </item>
298       <item row="0" column="2">
299        <widget class="QLabel" name="label_6">
300         <property name="text">
301          <string>Status Window</string>
302         </property>
303        </widget>
304       </item>
305       <item row="0" column="3">
306        <widget class="QLabel" name="label_7">
307         <property name="text">
308          <string>Current Chat</string>
309         </property>
310        </widget>
311       </item>
312       <item row="3" column="0">
313        <widget class="QLabel" name="label_8">
314         <property name="text">
315          <string>Errors:</string>
316         </property>
317        </widget>
318       </item>
319       <item row="2" column="2">
320        <widget class="QCheckBox" name="serverNoticesInStatusBuffer">
321         <property name="text">
322          <string/>
323         </property>
324         <property name="checked">
325          <bool>true</bool>
326         </property>
327        </widget>
328       </item>
329       <item row="2" column="3">
330        <widget class="QCheckBox" name="serverNoticesInCurrentBuffer">
331         <property name="text">
332          <string/>
333         </property>
334        </widget>
335       </item>
336       <item row="3" column="1">
337        <widget class="QCheckBox" name="errorMsgsInDefaultBuffer">
338         <property name="text">
339          <string/>
340         </property>
341         <property name="checked">
342          <bool>true</bool>
343         </property>
344        </widget>
345       </item>
346       <item row="3" column="2">
347        <widget class="QCheckBox" name="errorMsgsInStatusBuffer">
348         <property name="text">
349          <string/>
350         </property>
351        </widget>
352       </item>
353       <item row="3" column="3">
354        <widget class="QCheckBox" name="errorMsgsInCurrentBuffer">
355         <property name="text">
356          <string/>
357         </property>
358        </widget>
359       </item>
360      </layout>
361     </widget>
362    </item>
363    <item>
364     <spacer name="verticalSpacer">
365      <property name="orientation">
366       <enum>Qt::Vertical</enum>
367      </property>
368      <property name="sizeHint" stdset="0">
369       <size>
370        <width>20</width>
371        <height>40</height>
372       </size>
373      </property>
374     </spacer>
375    </item>
376   </layout>
377  </widget>
378  <tabstops>
379   <tabstop>styleComboBox</tabstop>
380   <tabstop>languageComboBox</tabstop>
381   <tabstop>useCustomStyleSheet</tabstop>
382   <tabstop>customStyleSheetPath</tabstop>
383   <tabstop>chooseStyleSheet</tabstop>
384   <tabstop>useSystemTrayIcon</tabstop>
385   <tabstop>minimizeOnClose</tabstop>
386   <tabstop>userNoticesInDefaultBuffer</tabstop>
387   <tabstop>userNoticesInStatusBuffer</tabstop>
388   <tabstop>userNoticesInCurrentBuffer</tabstop>
389   <tabstop>serverNoticesInDefaultBuffer</tabstop>
390   <tabstop>serverNoticesInStatusBuffer</tabstop>
391   <tabstop>serverNoticesInCurrentBuffer</tabstop>
392   <tabstop>errorMsgsInDefaultBuffer</tabstop>
393   <tabstop>errorMsgsInStatusBuffer</tabstop>
394   <tabstop>errorMsgsInCurrentBuffer</tabstop>
395  </tabstops>
396  <resources/>
397  <connections>
398   <connection>
399    <sender>useCustomStyleSheet</sender>
400    <signal>toggled(bool)</signal>
401    <receiver>customStyleSheetPath</receiver>
402    <slot>setEnabled(bool)</slot>
403    <hints>
404     <hint type="sourcelabel">
405      <x>63</x>
406      <y>86</y>
407     </hint>
408     <hint type="destinationlabel">
409      <x>86</x>
410      <y>114</y>
411     </hint>
412    </hints>
413   </connection>
414   <connection>
415    <sender>useCustomStyleSheet</sender>
416    <signal>toggled(bool)</signal>
417    <receiver>label</receiver>
418    <slot>setEnabled(bool)</slot>
419    <hints>
420     <hint type="sourcelabel">
421      <x>45</x>
422      <y>80</y>
423     </hint>
424     <hint type="destinationlabel">
425      <x>38</x>
426      <y>113</y>
427     </hint>
428    </hints>
429   </connection>
430   <connection>
431    <sender>useCustomStyleSheet</sender>
432    <signal>toggled(bool)</signal>
433    <receiver>chooseStyleSheet</receiver>
434    <slot>setEnabled(bool)</slot>
435    <hints>
436     <hint type="sourcelabel">
437      <x>84</x>
438      <y>80</y>
439     </hint>
440     <hint type="destinationlabel">
441      <x>525</x>
442      <y>117</y>
443     </hint>
444    </hints>
445   </connection>
446   <connection>
447    <sender>useSystemTrayIcon</sender>
448    <signal>toggled(bool)</signal>
449    <receiver>minimizeOnClose</receiver>
450    <slot>setEnabled(bool)</slot>
451    <hints>
452     <hint type="sourcelabel">
453      <x>91</x>
454      <y>143</y>
455     </hint>
456     <hint type="destinationlabel">
457      <x>92</x>
458      <y>174</y>
459     </hint>
460    </hints>
461   </connection>
462   <connection>
463    <sender>useSystemTrayIcon</sender>
464    <signal>toggled(bool)</signal>
465    <receiver>animateSystrayIcon</receiver>
466    <slot>setEnabled(bool)</slot>
467    <hints>
468     <hint type="sourcelabel">
469      <x>125</x>
470      <y>144</y>
471     </hint>
472     <hint type="destinationlabel">
473      <x>122</x>
474      <y>203</y>
475     </hint>
476    </hints>
477   </connection>
478  </connections>
479 </ui>