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