Add Settings option to choose from bundled Icon Themes
[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="label_10">
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      <item row="1" column="0">
214       <spacer name="horizontalSpacer_4">
215        <property name="orientation">
216         <enum>Qt::Horizontal</enum>
217        </property>
218        <property name="sizeType">
219         <enum>QSizePolicy::Fixed</enum>
220        </property>
221        <property name="sizeHint" stdset="0">
222         <size>
223          <width>20</width>
224          <height>20</height>
225         </size>
226        </property>
227       </spacer>
228      </item>
229      <item row="1" column="1">
230       <widget class="QCheckBox" name="animateSystrayIcon">
231        <property name="styleSheet">
232         <string notr="true"/>
233        </property>
234        <property name="text">
235         <string>Enable animations</string>
236        </property>
237        <property name="settingsKey" stdset="0">
238         <string notr="true">/Notification/Systray/Animate</string>
239        </property>
240        <property name="defaultValue" stdset="0">
241         <bool>true</bool>
242        </property>
243       </widget>
244      </item>
245     </layout>
246    </item>
247    <item>
248     <widget class="QGroupBox" name="groupBox_3">
249      <property name="title">
250       <string>Message Redirection</string>
251      </property>
252      <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0,0,1">
253       <property name="horizontalSpacing">
254        <number>20</number>
255       </property>
256       <item row="1" column="0">
257        <widget class="QLabel" name="label_3">
258         <property name="text">
259          <string>User Notices:</string>
260         </property>
261        </widget>
262       </item>
263       <item row="1" column="1">
264        <widget class="QCheckBox" name="userNoticesInDefaultBuffer">
265         <property name="enabled">
266          <bool>true</bool>
267         </property>
268         <property name="text">
269          <string/>
270         </property>
271         <property name="checked">
272          <bool>true</bool>
273         </property>
274        </widget>
275       </item>
276       <item row="1" column="2">
277        <widget class="QCheckBox" name="userNoticesInStatusBuffer">
278         <property name="enabled">
279          <bool>true</bool>
280         </property>
281         <property name="text">
282          <string/>
283         </property>
284         <property name="checked">
285          <bool>false</bool>
286         </property>
287        </widget>
288       </item>
289       <item row="1" column="3">
290        <widget class="QCheckBox" name="userNoticesInCurrentBuffer">
291         <property name="enabled">
292          <bool>true</bool>
293         </property>
294         <property name="text">
295          <string/>
296         </property>
297        </widget>
298       </item>
299       <item row="2" column="0">
300        <widget class="QLabel" name="label_4">
301         <property name="text">
302          <string>Server Notices:</string>
303         </property>
304        </widget>
305       </item>
306       <item row="2" column="1">
307        <widget class="QCheckBox" name="serverNoticesInDefaultBuffer">
308         <property name="text">
309          <string/>
310         </property>
311        </widget>
312       </item>
313       <item row="0" column="1">
314        <widget class="QLabel" name="label_5">
315         <property name="text">
316          <string>Default Target</string>
317         </property>
318        </widget>
319       </item>
320       <item row="0" column="2">
321        <widget class="QLabel" name="label_6">
322         <property name="text">
323          <string>Status Window</string>
324         </property>
325        </widget>
326       </item>
327       <item row="0" column="3">
328        <widget class="QLabel" name="label_7">
329         <property name="text">
330          <string>Current Chat</string>
331         </property>
332        </widget>
333       </item>
334       <item row="3" column="0">
335        <widget class="QLabel" name="label_8">
336         <property name="text">
337          <string>Errors:</string>
338         </property>
339        </widget>
340       </item>
341       <item row="2" column="2">
342        <widget class="QCheckBox" name="serverNoticesInStatusBuffer">
343         <property name="text">
344          <string/>
345         </property>
346         <property name="checked">
347          <bool>true</bool>
348         </property>
349        </widget>
350       </item>
351       <item row="2" column="3">
352        <widget class="QCheckBox" name="serverNoticesInCurrentBuffer">
353         <property name="text">
354          <string/>
355         </property>
356        </widget>
357       </item>
358       <item row="3" column="1">
359        <widget class="QCheckBox" name="errorMsgsInDefaultBuffer">
360         <property name="text">
361          <string/>
362         </property>
363         <property name="checked">
364          <bool>true</bool>
365         </property>
366        </widget>
367       </item>
368       <item row="3" column="2">
369        <widget class="QCheckBox" name="errorMsgsInStatusBuffer">
370         <property name="text">
371          <string/>
372         </property>
373        </widget>
374       </item>
375       <item row="3" column="3">
376        <widget class="QCheckBox" name="errorMsgsInCurrentBuffer">
377         <property name="text">
378          <string/>
379         </property>
380        </widget>
381       </item>
382       <item row="0" column="4">
383        <spacer name="horizontalSpacer_5">
384         <property name="orientation">
385          <enum>Qt::Horizontal</enum>
386         </property>
387         <property name="sizeHint" stdset="0">
388          <size>
389           <width>1</width>
390           <height>1</height>
391          </size>
392         </property>
393        </spacer>
394       </item>
395      </layout>
396     </widget>
397    </item>
398    <item>
399     <spacer name="verticalSpacer">
400      <property name="orientation">
401       <enum>Qt::Vertical</enum>
402      </property>
403      <property name="sizeHint" stdset="0">
404       <size>
405        <width>20</width>
406        <height>40</height>
407       </size>
408      </property>
409     </spacer>
410    </item>
411   </layout>
412  </widget>
413  <tabstops>
414   <tabstop>styleComboBox</tabstop>
415   <tabstop>languageComboBox</tabstop>
416   <tabstop>useCustomStyleSheet</tabstop>
417   <tabstop>customStyleSheetPath</tabstop>
418   <tabstop>chooseStyleSheet</tabstop>
419   <tabstop>useSystemTrayIcon</tabstop>
420   <tabstop>minimizeOnClose</tabstop>
421   <tabstop>userNoticesInDefaultBuffer</tabstop>
422   <tabstop>userNoticesInStatusBuffer</tabstop>
423   <tabstop>userNoticesInCurrentBuffer</tabstop>
424   <tabstop>serverNoticesInDefaultBuffer</tabstop>
425   <tabstop>serverNoticesInStatusBuffer</tabstop>
426   <tabstop>serverNoticesInCurrentBuffer</tabstop>
427   <tabstop>errorMsgsInDefaultBuffer</tabstop>
428   <tabstop>errorMsgsInStatusBuffer</tabstop>
429   <tabstop>errorMsgsInCurrentBuffer</tabstop>
430  </tabstops>
431  <resources/>
432  <connections>
433   <connection>
434    <sender>useCustomStyleSheet</sender>
435    <signal>toggled(bool)</signal>
436    <receiver>customStyleSheetPath</receiver>
437    <slot>setEnabled(bool)</slot>
438    <hints>
439     <hint type="sourcelabel">
440      <x>63</x>
441      <y>86</y>
442     </hint>
443     <hint type="destinationlabel">
444      <x>86</x>
445      <y>114</y>
446     </hint>
447    </hints>
448   </connection>
449   <connection>
450    <sender>useCustomStyleSheet</sender>
451    <signal>toggled(bool)</signal>
452    <receiver>label</receiver>
453    <slot>setEnabled(bool)</slot>
454    <hints>
455     <hint type="sourcelabel">
456      <x>45</x>
457      <y>80</y>
458     </hint>
459     <hint type="destinationlabel">
460      <x>38</x>
461      <y>113</y>
462     </hint>
463    </hints>
464   </connection>
465   <connection>
466    <sender>useCustomStyleSheet</sender>
467    <signal>toggled(bool)</signal>
468    <receiver>chooseStyleSheet</receiver>
469    <slot>setEnabled(bool)</slot>
470    <hints>
471     <hint type="sourcelabel">
472      <x>84</x>
473      <y>80</y>
474     </hint>
475     <hint type="destinationlabel">
476      <x>525</x>
477      <y>117</y>
478     </hint>
479    </hints>
480   </connection>
481   <connection>
482    <sender>useSystemTrayIcon</sender>
483    <signal>toggled(bool)</signal>
484    <receiver>minimizeOnClose</receiver>
485    <slot>setEnabled(bool)</slot>
486    <hints>
487     <hint type="sourcelabel">
488      <x>91</x>
489      <y>143</y>
490     </hint>
491     <hint type="destinationlabel">
492      <x>92</x>
493      <y>174</y>
494     </hint>
495    </hints>
496   </connection>
497   <connection>
498    <sender>useSystemTrayIcon</sender>
499    <signal>toggled(bool)</signal>
500    <receiver>animateSystrayIcon</receiver>
501    <slot>setEnabled(bool)</slot>
502    <hints>
503     <hint type="sourcelabel">
504      <x>125</x>
505      <y>144</y>
506     </hint>
507     <hint type="destinationlabel">
508      <x>122</x>
509      <y>203</y>
510     </hint>
511    </hints>
512   </connection>
513  </connections>
514 </ui>