1f74204702e970a72393a50ad9e098a6036b06d7
[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>/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>/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>/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>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>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>/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            <item row="0" column="0">
116             <widget class="QLabel" name="label">
117              <property name="text">
118               <string>Standard:</string>
119              </property>
120             </widget>
121            </item>
122            <item row="0" column="1">
123             <widget class="ColorButton" name="defaultBufferColor">
124              <property name="text">
125               <string>...</string>
126              </property>
127              <property name="settingsKey" stdset="0">
128               <string>/UiStyle/Colors/DefaultBuffer</string>
129              </property>
130              <property name="defaultValue" stdset="0">
131               <color>
132                <red>0</red>
133                <green>0</green>
134                <blue>0</blue>
135               </color>
136              </property>
137             </widget>
138            </item>
139            <item row="1" column="0">
140             <widget class="QLabel" name="label_2">
141              <property name="text">
142               <string>Inactive:</string>
143              </property>
144             </widget>
145            </item>
146            <item row="1" column="1">
147             <widget class="ColorButton" name="inactiveBufferColor">
148              <property name="text">
149               <string>...</string>
150              </property>
151              <property name="settingsKey" stdset="0">
152               <string>/UiStyle/Colors/InactiveBuffer</string>
153              </property>
154              <property name="defaultValue" stdset="0">
155               <color>
156                <red>160</red>
157                <green>160</green>
158                <blue>164</blue>
159               </color>
160              </property>
161             </widget>
162            </item>
163            <item row="2" column="0">
164             <widget class="QLabel" name="label_3">
165              <property name="text">
166               <string>Unread messages:</string>
167              </property>
168             </widget>
169            </item>
170            <item row="2" column="1">
171             <widget class="ColorButton" name="unreadBufferColor">
172              <property name="text">
173               <string>...</string>
174              </property>
175              <property name="settingsKey" stdset="0">
176               <string>/UiStyle/Colors/UnreadBuffer</string>
177              </property>
178              <property name="defaultValue" stdset="0">
179               <color>
180                <red>0</red>
181                <green>0</green>
182                <blue>128</blue>
183               </color>
184              </property>
185             </widget>
186            </item>
187            <item row="3" column="0">
188             <widget class="QLabel" name="label_4">
189              <property name="text">
190               <string>Highlight:</string>
191              </property>
192             </widget>
193            </item>
194            <item row="3" column="1">
195             <widget class="ColorButton" name="highlightedBufferColor">
196              <property name="text">
197               <string>...</string>
198              </property>
199              <property name="settingsKey" stdset="0">
200               <string>/UiStyle/Colors/HighlightedBuffer</string>
201              </property>
202              <property name="defaultValue" stdset="0">
203               <color>
204                <red>255</red>
205                <green>128</green>
206                <blue>0</blue>
207               </color>
208              </property>
209             </widget>
210            </item>
211            <item row="4" column="0">
212             <widget class="QLabel" name="label_5">
213              <property name="text">
214               <string>Other activity:</string>
215              </property>
216             </widget>
217            </item>
218            <item row="4" column="1">
219             <widget class="ColorButton" name="activeBufferColor">
220              <property name="text">
221               <string>...</string>
222              </property>
223              <property name="settingsKey" stdset="0">
224               <string>/UiStyle/Colors/ActiveBuffer</string>
225              </property>
226              <property name="defaultValue" stdset="0">
227               <color>
228                <red>0</red>
229                <green>128</green>
230                <blue>0</blue>
231               </color>
232              </property>
233             </widget>
234            </item>
235           </layout>
236          </item>
237          <item>
238           <spacer name="horizontalSpacer_2">
239            <property name="orientation">
240             <enum>Qt::Horizontal</enum>
241            </property>
242            <property name="sizeHint" stdset="0">
243             <size>
244              <width>40</width>
245              <height>20</height>
246             </size>
247            </property>
248           </spacer>
249          </item>
250          <item>
251           <widget class="QTreeWidget" name="bufferViewPreview">
252            <property name="sizePolicy">
253             <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
254              <horstretch>0</horstretch>
255              <verstretch>0</verstretch>
256             </sizepolicy>
257            </property>
258            <property name="editTriggers">
259             <set>QAbstractItemView::NoEditTriggers</set>
260            </property>
261            <property name="showDropIndicator" stdset="0">
262             <bool>false</bool>
263            </property>
264            <property name="itemsExpandable">
265             <bool>false</bool>
266            </property>
267            <attribute name="headerVisible">
268             <bool>false</bool>
269            </attribute>
270            <column>
271             <property name="text">
272              <string>1</string>
273             </property>
274            </column>
275           </widget>
276          </item>
277         </layout>
278        </widget>
279       </item>
280      </layout>
281     </widget>
282    </item>
283    <item>
284     <widget class="QGroupBox" name="useNickViewColors">
285      <property name="title">
286       <string>Custom Nick List Colors</string>
287      </property>
288      <property name="checkable">
289       <bool>true</bool>
290      </property>
291      <property name="settingsKey" stdset="0">
292       <string>/UiStyle/Colors/UseNickViewColors</string>
293      </property>
294      <property name="defaultValue" stdset="0">
295       <bool>false</bool>
296      </property>
297      <layout class="QHBoxLayout" name="horizontalLayout_3">
298       <item>
299        <widget class="QLabel" name="label_6">
300         <property name="text">
301          <string>Online:</string>
302         </property>
303        </widget>
304       </item>
305       <item>
306        <widget class="ColorButton" name="onlineNickColor">
307         <property name="text">
308          <string>...</string>
309         </property>
310         <property name="settingsKey" stdset="0">
311          <string>/UiStyle/Colors/OnlineNick</string>
312         </property>
313         <property name="defaultValue" stdset="0">
314          <color>
315           <red>0</red>
316           <green>0</green>
317           <blue>0</blue>
318          </color>
319         </property>
320        </widget>
321       </item>
322       <item>
323        <spacer name="horizontalSpacer">
324         <property name="orientation">
325          <enum>Qt::Horizontal</enum>
326         </property>
327         <property name="sizeHint" stdset="0">
328          <size>
329           <width>88</width>
330           <height>20</height>
331          </size>
332         </property>
333        </spacer>
334       </item>
335       <item>
336        <widget class="QLabel" name="label_7">
337         <property name="text">
338          <string>Away:</string>
339         </property>
340        </widget>
341       </item>
342       <item>
343        <widget class="ColorButton" name="awayNickColor">
344         <property name="text">
345          <string>...</string>
346         </property>
347         <property name="settingsKey" stdset="0">
348          <string>/UiStyle/Colors/AwayNick</string>
349         </property>
350         <property name="defaultValue" stdset="0">
351          <color>
352           <red>160</red>
353           <green>160</green>
354           <blue>164</blue>
355          </color>
356         </property>
357        </widget>
358       </item>
359       <item>
360        <spacer name="horizontalSpacer_3">
361         <property name="orientation">
362          <enum>Qt::Horizontal</enum>
363         </property>
364         <property name="sizeHint" stdset="0">
365          <size>
366           <width>87</width>
367           <height>20</height>
368          </size>
369         </property>
370        </spacer>
371       </item>
372      </layout>
373     </widget>
374    </item>
375    <item>
376     <spacer name="verticalSpacer">
377      <property name="orientation">
378       <enum>Qt::Vertical</enum>
379      </property>
380      <property name="sizeHint" stdset="0">
381       <size>
382        <width>20</width>
383        <height>40</height>
384       </size>
385      </property>
386     </spacer>
387    </item>
388   </layout>
389  </widget>
390  <customwidgets>
391   <customwidget>
392    <class>FontSelector</class>
393    <extends>QWidget</extends>
394    <header>fontselector.h</header>
395    <container>1</container>
396   </customwidget>
397   <customwidget>
398    <class>ColorButton</class>
399    <extends>QToolButton</extends>
400    <header>colorbutton.h</header>
401   </customwidget>
402  </customwidgets>
403  <tabstops>
404   <tabstop>useCustomItemViewFont</tabstop>
405   <tabstop>showItemViewIcons</tabstop>
406   <tabstop>displayTopicInTooltip</tabstop>
407   <tabstop>mouseWheelChangesBuffers</tabstop>
408   <tabstop>useBufferViewColors</tabstop>
409   <tabstop>defaultBufferColor</tabstop>
410   <tabstop>inactiveBufferColor</tabstop>
411   <tabstop>unreadBufferColor</tabstop>
412   <tabstop>highlightedBufferColor</tabstop>
413   <tabstop>activeBufferColor</tabstop>
414   <tabstop>useNickViewColors</tabstop>
415   <tabstop>onlineNickColor</tabstop>
416   <tabstop>awayNickColor</tabstop>
417   <tabstop>bufferViewPreview</tabstop>
418  </tabstops>
419  <resources/>
420  <connections>
421   <connection>
422    <sender>useCustomItemViewFont</sender>
423    <signal>toggled(bool)</signal>
424    <receiver>widget</receiver>
425    <slot>setEnabled(bool)</slot>
426    <hints>
427     <hint type="sourcelabel">
428      <x>114</x>
429      <y>16</y>
430     </hint>
431     <hint type="destinationlabel">
432      <x>235</x>
433      <y>17</y>
434     </hint>
435    </hints>
436   </connection>
437  </connections>
438 </ui>