Fix selection and loading of translations; allow to run untranslated
[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="QHBoxLayout" name="horizontalLayout">
165      <item>
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>
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     </layout>
195    </item>
196    <item>
197     <widget class="QGroupBox" name="groupBox_3">
198      <property name="title">
199       <string>Message Redirection</string>
200      </property>
201      <layout class="QGridLayout" name="gridLayout_2">
202       <item row="1" column="0">
203        <widget class="QLabel" name="label_3">
204         <property name="text">
205          <string>User Notices:</string>
206         </property>
207        </widget>
208       </item>
209       <item row="1" column="1">
210        <widget class="QCheckBox" name="userNoticesInDefaultBuffer">
211         <property name="enabled">
212          <bool>true</bool>
213         </property>
214         <property name="text">
215          <string/>
216         </property>
217         <property name="checked">
218          <bool>true</bool>
219         </property>
220        </widget>
221       </item>
222       <item row="1" column="2">
223        <widget class="QCheckBox" name="userNoticesInStatusBuffer">
224         <property name="enabled">
225          <bool>true</bool>
226         </property>
227         <property name="text">
228          <string/>
229         </property>
230         <property name="checked">
231          <bool>false</bool>
232         </property>
233        </widget>
234       </item>
235       <item row="1" column="3">
236        <widget class="QCheckBox" name="userNoticesInCurrentBuffer">
237         <property name="enabled">
238          <bool>true</bool>
239         </property>
240         <property name="text">
241          <string/>
242         </property>
243        </widget>
244       </item>
245       <item row="2" column="0">
246        <widget class="QLabel" name="label_4">
247         <property name="text">
248          <string>Server Notices:</string>
249         </property>
250        </widget>
251       </item>
252       <item row="2" column="1">
253        <widget class="QCheckBox" name="serverNoticesInDefaultBuffer">
254         <property name="text">
255          <string/>
256         </property>
257        </widget>
258       </item>
259       <item row="0" column="1">
260        <widget class="QLabel" name="label_5">
261         <property name="text">
262          <string>Default Target</string>
263         </property>
264        </widget>
265       </item>
266       <item row="0" column="2">
267        <widget class="QLabel" name="label_6">
268         <property name="text">
269          <string>Status Window</string>
270         </property>
271        </widget>
272       </item>
273       <item row="0" column="3">
274        <widget class="QLabel" name="label_7">
275         <property name="text">
276          <string>Current Chat</string>
277         </property>
278        </widget>
279       </item>
280       <item row="3" column="0">
281        <widget class="QLabel" name="label_8">
282         <property name="text">
283          <string>Errors:</string>
284         </property>
285        </widget>
286       </item>
287       <item row="2" column="2">
288        <widget class="QCheckBox" name="serverNoticesInStatusBuffer">
289         <property name="text">
290          <string/>
291         </property>
292         <property name="checked">
293          <bool>true</bool>
294         </property>
295        </widget>
296       </item>
297       <item row="2" column="3">
298        <widget class="QCheckBox" name="serverNoticesInCurrentBuffer">
299         <property name="text">
300          <string/>
301         </property>
302        </widget>
303       </item>
304       <item row="3" column="1">
305        <widget class="QCheckBox" name="errorMsgsInDefaultBuffer">
306         <property name="text">
307          <string/>
308         </property>
309         <property name="checked">
310          <bool>true</bool>
311         </property>
312        </widget>
313       </item>
314       <item row="3" column="2">
315        <widget class="QCheckBox" name="errorMsgsInStatusBuffer">
316         <property name="text">
317          <string/>
318         </property>
319        </widget>
320       </item>
321       <item row="3" column="3">
322        <widget class="QCheckBox" name="errorMsgsInCurrentBuffer">
323         <property name="text">
324          <string/>
325         </property>
326        </widget>
327       </item>
328      </layout>
329     </widget>
330    </item>
331    <item>
332     <spacer name="verticalSpacer">
333      <property name="orientation">
334       <enum>Qt::Vertical</enum>
335      </property>
336      <property name="sizeHint" stdset="0">
337       <size>
338        <width>20</width>
339        <height>40</height>
340       </size>
341      </property>
342     </spacer>
343    </item>
344   </layout>
345  </widget>
346  <tabstops>
347   <tabstop>styleComboBox</tabstop>
348   <tabstop>languageComboBox</tabstop>
349   <tabstop>useCustomStyleSheet</tabstop>
350   <tabstop>customStyleSheetPath</tabstop>
351   <tabstop>chooseStyleSheet</tabstop>
352   <tabstop>useSystemTrayIcon</tabstop>
353   <tabstop>minimizeOnClose</tabstop>
354   <tabstop>userNoticesInDefaultBuffer</tabstop>
355   <tabstop>userNoticesInStatusBuffer</tabstop>
356   <tabstop>userNoticesInCurrentBuffer</tabstop>
357   <tabstop>serverNoticesInDefaultBuffer</tabstop>
358   <tabstop>serverNoticesInStatusBuffer</tabstop>
359   <tabstop>serverNoticesInCurrentBuffer</tabstop>
360   <tabstop>errorMsgsInDefaultBuffer</tabstop>
361   <tabstop>errorMsgsInStatusBuffer</tabstop>
362   <tabstop>errorMsgsInCurrentBuffer</tabstop>
363  </tabstops>
364  <resources/>
365  <connections>
366   <connection>
367    <sender>useCustomStyleSheet</sender>
368    <signal>toggled(bool)</signal>
369    <receiver>customStyleSheetPath</receiver>
370    <slot>setEnabled(bool)</slot>
371    <hints>
372     <hint type="sourcelabel">
373      <x>63</x>
374      <y>86</y>
375     </hint>
376     <hint type="destinationlabel">
377      <x>86</x>
378      <y>114</y>
379     </hint>
380    </hints>
381   </connection>
382   <connection>
383    <sender>useCustomStyleSheet</sender>
384    <signal>toggled(bool)</signal>
385    <receiver>label</receiver>
386    <slot>setEnabled(bool)</slot>
387    <hints>
388     <hint type="sourcelabel">
389      <x>45</x>
390      <y>80</y>
391     </hint>
392     <hint type="destinationlabel">
393      <x>38</x>
394      <y>113</y>
395     </hint>
396    </hints>
397   </connection>
398   <connection>
399    <sender>useCustomStyleSheet</sender>
400    <signal>toggled(bool)</signal>
401    <receiver>chooseStyleSheet</receiver>
402    <slot>setEnabled(bool)</slot>
403    <hints>
404     <hint type="sourcelabel">
405      <x>84</x>
406      <y>80</y>
407     </hint>
408     <hint type="destinationlabel">
409      <x>525</x>
410      <y>117</y>
411     </hint>
412    </hints>
413   </connection>
414   <connection>
415    <sender>useSystemTrayIcon</sender>
416    <signal>toggled(bool)</signal>
417    <receiver>minimizeOnClose</receiver>
418    <slot>setEnabled(bool)</slot>
419    <hints>
420     <hint type="sourcelabel">
421      <x>91</x>
422      <y>143</y>
423     </hint>
424     <hint type="destinationlabel">
425      <x>92</x>
426      <y>174</y>
427     </hint>
428    </hints>
429   </connection>
430  </connections>
431 </ui>