Add spacers to Chat & Nick Lists settings page
[quassel.git] / src / qtui / settingspages / itemviewsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ItemViewSettingsPage</class>
4  <widget class="QWidget" name="ItemViewSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>374</width>
10     <height>508</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_2">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout_2">
19      <item>
20       <widget class="QCheckBox" name="useCustomItemViewFont">
21        <property name="text">
22         <string>Custom font:</string>
23        </property>
24        <property name="settingsKey" stdset="0">
25         <string notr="true">/UiStyle/Fonts/UseCustomItemViewFont</string>
26        </property>
27        <property name="defaultValue" stdset="0">
28         <bool>false</bool>
29        </property>
30       </widget>
31      </item>
32      <item>
33       <widget class="FontSelector" name="widget" native="true">
34        <property name="enabled">
35         <bool>false</bool>
36        </property>
37        <property name="settingsKey" stdset="0">
38         <string notr="true">/UiStyle/Fonts/ItemView</string>
39        </property>
40        <property name="defaultValue" stdset="0">
41         <font/>
42        </property>
43       </widget>
44      </item>
45     </layout>
46    </item>
47    <item>
48     <widget class="QCheckBox" name="showItemViewIcons">
49      <property name="text">
50       <string>Show icons</string>
51      </property>
52      <property name="checked">
53       <bool>true</bool>
54      </property>
55      <property name="settingsKey" stdset="0">
56       <string notr="true">/UiStyle/ShowItemViewIcons</string>
57      </property>
58      <property name="defaultValue" stdset="0">
59       <bool>true</bool>
60      </property>
61     </widget>
62    </item>
63    <item>
64     <widget class="QGroupBox" name="groupBox">
65      <property name="title">
66       <string>Chat List</string>
67      </property>
68      <layout class="QVBoxLayout" name="verticalLayout">
69       <item>
70        <widget class="QCheckBox" name="displayTopicInTooltip">
71         <property name="text">
72          <string>Display topic in tooltip</string>
73         </property>
74         <property name="settingsKey" stdset="0">
75          <string notr="true">DisplayTopicInTooltip</string>
76         </property>
77         <property name="defaultValue" stdset="0">
78          <bool>false</bool>
79         </property>
80        </widget>
81       </item>
82       <item>
83        <widget class="QCheckBox" name="mouseWheelChangesBuffers">
84         <property name="text">
85          <string>Mouse wheel changes selected chat</string>
86         </property>
87         <property name="checked">
88          <bool>false</bool>
89         </property>
90         <property name="settingsKey" stdset="0">
91          <string notr="true">MouseWheelChangesBuffer</string>
92         </property>
93         <property name="defaultValue" stdset="0">
94          <bool>false</bool>
95         </property>
96        </widget>
97       </item>
98       <item>
99        <widget class="QGroupBox" name="useBufferViewColors">
100         <property name="title">
101          <string>Use Custom Colors</string>
102         </property>
103         <property name="checkable">
104          <bool>true</bool>
105         </property>
106         <property name="settingsKey" stdset="0">
107          <string notr="true">/UiStyle/Colors/UseBufferViewColors</string>
108         </property>
109         <property name="defaultValue" stdset="0">
110          <bool>false</bool>
111         </property>
112         <layout class="QHBoxLayout" name="horizontalLayout">
113          <item>
114           <layout class="QGridLayout" name="gridLayout">
115            <property name="spacing">
116             <number>12</number>
117            </property>
118            <item row="0" column="0">
119             <widget class="QLabel" name="label">
120              <property name="text">
121               <string>Standard:</string>
122              </property>
123             </widget>
124            </item>
125            <item row="0" column="1">
126             <widget class="ColorButton" name="defaultBufferColor">
127              <property name="text">
128               <string>...</string>
129              </property>
130              <property name="settingsKey" stdset="0">
131               <string notr="true">/UiStyle/Colors/DefaultBuffer</string>
132              </property>
133              <property name="defaultValue" stdset="0">
134               <color>
135                <red>0</red>
136                <green>0</green>
137                <blue>0</blue>
138               </color>
139              </property>
140             </widget>
141            </item>
142            <item row="1" column="0">
143             <widget class="QLabel" name="label_2">
144              <property name="text">
145               <string>Inactive:</string>
146              </property>
147             </widget>
148            </item>
149            <item row="1" column="1">
150             <widget class="ColorButton" name="inactiveBufferColor">
151              <property name="text">
152               <string>...</string>
153              </property>
154              <property name="settingsKey" stdset="0">
155               <string notr="true">/UiStyle/Colors/InactiveBuffer</string>
156              </property>
157              <property name="defaultValue" stdset="0">
158               <color>
159                <red>160</red>
160                <green>160</green>
161                <blue>164</blue>
162               </color>
163              </property>
164             </widget>
165            </item>
166            <item row="2" column="0">
167             <widget class="QLabel" name="label_3">
168              <property name="text">
169               <string>Unread messages:</string>
170              </property>
171             </widget>
172            </item>
173            <item row="2" column="1">
174             <widget class="ColorButton" name="unreadBufferColor">
175              <property name="text">
176               <string>...</string>
177              </property>
178              <property name="settingsKey" stdset="0">
179               <string notr="true">/UiStyle/Colors/UnreadBuffer</string>
180              </property>
181              <property name="defaultValue" stdset="0">
182               <color>
183                <red>0</red>
184                <green>0</green>
185                <blue>245</blue>
186               </color>
187              </property>
188             </widget>
189            </item>
190            <item row="3" column="0">
191             <widget class="QLabel" name="label_4">
192              <property name="text">
193               <string>Highlight:</string>
194              </property>
195             </widget>
196            </item>
197            <item row="3" column="1">
198             <widget class="ColorButton" name="highlightedBufferColor">
199              <property name="text">
200               <string>...</string>
201              </property>
202              <property name="settingsKey" stdset="0">
203               <string notr="true">/UiStyle/Colors/HighlightedBuffer</string>
204              </property>
205              <property name="defaultValue" stdset="0">
206               <color>
207                <red>255</red>
208                <green>128</green>
209                <blue>0</blue>
210               </color>
211              </property>
212             </widget>
213            </item>
214            <item row="4" column="0">
215             <widget class="QLabel" name="label_5">
216              <property name="text">
217               <string>Other activity:</string>
218              </property>
219             </widget>
220            </item>
221            <item row="4" column="1">
222             <widget class="ColorButton" name="activeBufferColor">
223              <property name="text">
224               <string>...</string>
225              </property>
226              <property name="settingsKey" stdset="0">
227               <string notr="true">/UiStyle/Colors/ActiveBuffer</string>
228              </property>
229              <property name="defaultValue" stdset="0">
230               <color>
231                <red>0</red>
232                <green>128</green>
233                <blue>0</blue>
234               </color>
235              </property>
236             </widget>
237            </item>
238            <item row="5" column="0">
239             <spacer name="verticalSpacer_2">
240              <property name="orientation">
241               <enum>Qt::Vertical</enum>
242              </property>
243              <property name="sizeHint" stdset="0">
244               <size>
245                <width>1</width>
246                <height>1</height>
247               </size>
248              </property>
249             </spacer>
250            </item>
251           </layout>
252          </item>
253          <item>
254           <spacer name="horizontalSpacer_2">
255            <property name="orientation">
256             <enum>Qt::Horizontal</enum>
257            </property>
258            <property name="sizeType">
259             <enum>QSizePolicy::Preferred</enum>
260            </property>
261            <property name="sizeHint" stdset="0">
262             <size>
263              <width>40</width>
264              <height>20</height>
265             </size>
266            </property>
267           </spacer>
268          </item>
269          <item>
270           <widget class="QTreeWidget" name="bufferViewPreview">
271            <property name="sizePolicy">
272             <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
273              <horstretch>0</horstretch>
274              <verstretch>0</verstretch>
275             </sizepolicy>
276            </property>
277            <property name="editTriggers">
278             <set>QAbstractItemView::NoEditTriggers</set>
279            </property>
280            <property name="showDropIndicator" stdset="0">
281             <bool>false</bool>
282            </property>
283            <property name="itemsExpandable">
284             <bool>false</bool>
285            </property>
286            <attribute name="headerVisible">
287             <bool>false</bool>
288            </attribute>
289            <column>
290             <property name="text">
291              <string notr="true">1</string>
292             </property>
293            </column>
294           </widget>
295          </item>
296          <item>
297           <spacer name="horizontalSpacer_4">
298            <property name="orientation">
299             <enum>Qt::Horizontal</enum>
300            </property>
301            <property name="sizeHint" stdset="0">
302             <size>
303              <width>40</width>
304              <height>20</height>
305             </size>
306            </property>
307           </spacer>
308          </item>
309         </layout>
310        </widget>
311       </item>
312      </layout>
313     </widget>
314    </item>
315    <item>
316     <widget class="QGroupBox" name="useNickViewColors">
317      <property name="title">
318       <string>Custom Nick List Colors</string>
319      </property>
320      <property name="checkable">
321       <bool>true</bool>
322      </property>
323      <property name="settingsKey" stdset="0">
324       <string notr="true">/UiStyle/Colors/UseNickViewColors</string>
325      </property>
326      <property name="defaultValue" stdset="0">
327       <bool>false</bool>
328      </property>
329      <layout class="QHBoxLayout" name="horizontalLayout_3">
330       <item>
331        <widget class="QLabel" name="label_6">
332         <property name="text">
333          <string>Online:</string>
334         </property>
335        </widget>
336       </item>
337       <item>
338        <widget class="ColorButton" name="onlineNickColor">
339         <property name="text">
340          <string>...</string>
341         </property>
342         <property name="settingsKey" stdset="0">
343          <string notr="true">/UiStyle/Colors/OnlineNick</string>
344         </property>
345         <property name="defaultValue" stdset="0">
346          <color>
347           <red>0</red>
348           <green>0</green>
349           <blue>0</blue>
350          </color>
351         </property>
352        </widget>
353       </item>
354       <item>
355        <spacer name="horizontalSpacer">
356         <property name="orientation">
357          <enum>Qt::Horizontal</enum>
358         </property>
359         <property name="sizeType">
360          <enum>QSizePolicy::Preferred</enum>
361         </property>
362         <property name="sizeHint" stdset="0">
363          <size>
364           <width>88</width>
365           <height>20</height>
366          </size>
367         </property>
368        </spacer>
369       </item>
370       <item>
371        <widget class="QLabel" name="label_7">
372         <property name="text">
373          <string>Away:</string>
374         </property>
375        </widget>
376       </item>
377       <item>
378        <widget class="ColorButton" name="awayNickColor">
379         <property name="text">
380          <string>...</string>
381         </property>
382         <property name="settingsKey" stdset="0">
383          <string notr="true">/UiStyle/Colors/AwayNick</string>
384         </property>
385         <property name="defaultValue" stdset="0">
386          <color>
387           <red>160</red>
388           <green>160</green>
389           <blue>164</blue>
390          </color>
391         </property>
392        </widget>
393       </item>
394       <item>
395        <spacer name="horizontalSpacer_3">
396         <property name="orientation">
397          <enum>Qt::Horizontal</enum>
398         </property>
399         <property name="sizeHint" stdset="0">
400          <size>
401           <width>87</width>
402           <height>20</height>
403          </size>
404         </property>
405        </spacer>
406       </item>
407      </layout>
408     </widget>
409    </item>
410    <item>
411     <spacer name="verticalSpacer">
412      <property name="orientation">
413       <enum>Qt::Vertical</enum>
414      </property>
415      <property name="sizeHint" stdset="0">
416       <size>
417        <width>20</width>
418        <height>40</height>
419       </size>
420      </property>
421     </spacer>
422    </item>
423   </layout>
424  </widget>
425  <customwidgets>
426   <customwidget>
427    <class>ColorButton</class>
428    <extends>QToolButton</extends>
429    <header>colorbutton.h</header>
430   </customwidget>
431   <customwidget>
432    <class>FontSelector</class>
433    <extends>QWidget</extends>
434    <header>fontselector.h</header>
435    <container>1</container>
436   </customwidget>
437  </customwidgets>
438  <tabstops>
439   <tabstop>useCustomItemViewFont</tabstop>
440   <tabstop>showItemViewIcons</tabstop>
441   <tabstop>displayTopicInTooltip</tabstop>
442   <tabstop>mouseWheelChangesBuffers</tabstop>
443   <tabstop>useBufferViewColors</tabstop>
444   <tabstop>defaultBufferColor</tabstop>
445   <tabstop>inactiveBufferColor</tabstop>
446   <tabstop>unreadBufferColor</tabstop>
447   <tabstop>highlightedBufferColor</tabstop>
448   <tabstop>activeBufferColor</tabstop>
449   <tabstop>bufferViewPreview</tabstop>
450   <tabstop>useNickViewColors</tabstop>
451   <tabstop>onlineNickColor</tabstop>
452   <tabstop>awayNickColor</tabstop>
453  </tabstops>
454  <resources/>
455  <connections>
456   <connection>
457    <sender>useCustomItemViewFont</sender>
458    <signal>toggled(bool)</signal>
459    <receiver>widget</receiver>
460    <slot>setEnabled(bool)</slot>
461    <hints>
462     <hint type="sourcelabel">
463      <x>114</x>
464      <y>16</y>
465     </hint>
466     <hint type="destinationlabel">
467      <x>235</x>
468      <y>17</y>
469     </hint>
470    </hints>
471   </connection>
472  </connections>
473 </ui>