Make Breeze the default icon theme
[quassel.git] / src / qtui / settingspages / inputwidgetsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>InputWidgetSettingsPage</class>
4  <widget class="QWidget" name="InputWidgetSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>507</width>
10     <height>514</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">
19      <item>
20       <widget class="QCheckBox" name="customFont">
21        <property name="text">
22         <string>Custom font:</string>
23        </property>
24        <property name="settingsKey" stdset="0">
25         <string notr="true">/UiStyle/Fonts/UseCustomInputWidgetFont</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="inputLineFont" native="true">
34        <property name="enabled">
35         <bool>false</bool>
36        </property>
37        <property name="settingsKey" stdset="0">
38         <string notr="true">/UiStyle/Fonts/InputWidget</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="enableSpellCheck">
49      <property name="text">
50       <string>Enable spell check</string>
51      </property>
52      <property name="settingsKey" stdset="0">
53       <string notr="true">EnableSpellCheck</string>
54      </property>
55      <property name="defaultValue" stdset="0">
56       <bool>false</bool>
57      </property>
58     </widget>
59    </item>
60    <item>
61     <widget class="QCheckBox" name="enablePerBufferHistory">
62      <property name="text">
63       <string>Enable per chat history</string>
64      </property>
65      <property name="checked">
66       <bool>false</bool>
67      </property>
68      <property name="settingsKey" stdset="0">
69       <string notr="true">EnablePerChatHistory</string>
70      </property>
71      <property name="defaultValue" stdset="0">
72       <bool>false</bool>
73      </property>
74     </widget>
75    </item>
76    <item>
77     <widget class="QCheckBox" name="showNickSelector">
78      <property name="text">
79       <string>Show nick selector</string>
80      </property>
81      <property name="checked">
82       <bool>true</bool>
83      </property>
84      <property name="settingsKey" stdset="0">
85       <string notr="true">ShowNickSelector</string>
86      </property>
87      <property name="defaultValue" stdset="0">
88       <bool>true</bool>
89      </property>
90     </widget>
91    </item>
92    <item>
93     <widget class="QCheckBox" name="showStyleButtons">
94      <property name="text">
95       <string>Show style buttons</string>
96      </property>
97      <property name="checked">
98       <bool>true</bool>
99      </property>
100      <property name="settingsKey" stdset="0">
101       <string notr="true">ShowStyleButtons</string>
102      </property>
103      <property name="defaultValue" stdset="0">
104       <bool>true</bool>
105      </property>
106     </widget>
107    </item>
108    <item>
109     <widget class="QCheckBox" name="enableEmacsMode">
110      <property name="toolTip">
111       <string>Enables (limited) Emacs key bindings in the input field.</string>
112      </property>
113      <property name="text">
114       <string>Emacs key bindings</string>
115      </property>
116      <property name="settingsKey" stdset="0">
117       <string notr="true">EnableEmacsMode</string>
118      </property>
119      <property name="defaultValue" stdset="0">
120       <bool>false</bool>
121      </property>
122     </widget>
123    </item>
124    <item>
125     <widget class="QCheckBox" name="enableLineWrapMode">
126      <property name="toolTip">
127       <string>Enables line wrapping for input.</string>
128      </property>
129      <property name="text">
130       <string>Line wrapping</string>
131      </property>
132      <property name="settingsKey" stdset="0">
133       <string notr="true">EnableLineWrap</string>
134      </property>
135      <property name="defaultValue" stdset="0">
136       <bool>false</bool>
137      </property>
138     </widget>
139    </item>
140    <item>
141     <widget class="QGroupBox" name="groupBox">
142      <property name="title">
143       <string>Multi-Line Editing</string>
144      </property>
145      <property name="checkable">
146       <bool>true</bool>
147      </property>
148      <property name="settingsKey" stdset="0">
149       <string notr="true">EnableMultiLine</string>
150      </property>
151      <property name="defaultValue" stdset="0">
152       <bool>true</bool>
153      </property>
154      <layout class="QVBoxLayout" name="verticalLayout">
155       <item>
156        <layout class="QHBoxLayout" name="horizontalLayout_2">
157         <item>
158          <widget class="QLabel" name="label">
159           <property name="text">
160            <string>Show at most</string>
161           </property>
162          </widget>
163         </item>
164         <item>
165          <widget class="QSpinBox" name="maxNumLines">
166           <property name="minimum">
167            <number>1</number>
168           </property>
169           <property name="maximum">
170            <number>19</number>
171           </property>
172           <property name="value">
173            <number>5</number>
174           </property>
175           <property name="settingsKey" stdset="0">
176            <string notr="true">MaxNumLines</string>
177           </property>
178           <property name="defaultValue" stdset="0">
179            <number>5</number>
180           </property>
181          </widget>
182         </item>
183         <item>
184          <widget class="QLabel" name="label_2">
185           <property name="text">
186            <string>lines</string>
187           </property>
188          </widget>
189         </item>
190         <item>
191          <spacer name="horizontalSpacer_2">
192           <property name="orientation">
193            <enum>Qt::Horizontal</enum>
194           </property>
195           <property name="sizeHint" stdset="0">
196            <size>
197             <width>40</width>
198             <height>20</height>
199            </size>
200           </property>
201          </spacer>
202         </item>
203        </layout>
204       </item>
205       <item>
206        <widget class="QCheckBox" name="enableScrollBars">
207         <property name="text">
208          <string>Enable scrollbars</string>
209         </property>
210         <property name="checked">
211          <bool>true</bool>
212         </property>
213         <property name="settingsKey" stdset="0">
214          <string notr="true">EnableScrollBars</string>
215         </property>
216         <property name="defaultValue" stdset="0">
217          <bool>true</bool>
218         </property>
219        </widget>
220       </item>
221      </layout>
222     </widget>
223    </item>
224    <item>
225     <widget class="QGroupBox" name="groupBox_2">
226      <property name="title">
227       <string>Tab Completion</string>
228      </property>
229      <layout class="QVBoxLayout" name="verticalLayout_3">
230       <item>
231        <layout class="QHBoxLayout" name="horizontalLayout_3">
232         <item>
233          <widget class="QLabel" name="completionSuffixDesc">
234           <property name="text">
235            <string>Completion suffix:</string>
236           </property>
237          </widget>
238         </item>
239         <item>
240          <widget class="QLineEdit" name="completionSuffix">
241           <property name="sizePolicy">
242            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
243             <horstretch>0</horstretch>
244             <verstretch>0</verstretch>
245            </sizepolicy>
246           </property>
247           <property name="settingsKey" stdset="0">
248            <string notr="true">/TabCompletion/CompletionSuffix</string>
249           </property>
250           <property name="defaultValue" stdset="0">
251            <string>: </string>
252           </property>
253          </widget>
254         </item>
255         <item>
256          <spacer name="horizontalSpacer">
257           <property name="orientation">
258            <enum>Qt::Horizontal</enum>
259           </property>
260           <property name="sizeType">
261            <enum>QSizePolicy::MinimumExpanding</enum>
262           </property>
263           <property name="sizeHint" stdset="0">
264            <size>
265             <width>157</width>
266             <height>27</height>
267            </size>
268           </property>
269          </spacer>
270         </item>
271        </layout>
272       </item>
273       <item>
274        <layout class="QHBoxLayout" name="horizontalLayout_4">
275         <item>
276          <widget class="QCheckBox" name="addSpaceMidSentence">
277           <property name="text">
278            <string>Add space after nick when completing mid-sentence</string>
279           </property>
280           <property name="checked">
281            <bool>false</bool>
282           </property>
283           <property name="settingsKey" stdset="0">
284             <string notr="true">/TabCompletion/AddSpaceMidSentence</string>
285           </property>
286           <property name="defaultValue" stdset="0">
287             <bool>false</bool>
288           </property>
289          </widget>
290         </item>
291         <item>
292          <spacer name="horizontalSpacer_3">
293           <property name="orientation">
294            <enum>Qt::Horizontal</enum>
295           </property>
296           <property name="sizeHint" stdset="0">
297            <size>
298             <width>40</width>
299             <height>20</height>
300            </size>
301           </property>
302          </spacer>
303         </item>
304        </layout>
305       </item>
306      </layout>
307     </widget>
308    </item>
309    <item>
310     <spacer name="verticalSpacer">
311      <property name="orientation">
312       <enum>Qt::Vertical</enum>
313      </property>
314      <property name="sizeHint" stdset="0">
315       <size>
316        <width>20</width>
317        <height>233</height>
318       </size>
319      </property>
320     </spacer>
321    </item>
322   </layout>
323  </widget>
324  <customwidgets>
325   <customwidget>
326    <class>FontSelector</class>
327    <extends>QWidget</extends>
328    <header>fontselector.h</header>
329    <container>1</container>
330   </customwidget>
331  </customwidgets>
332  <tabstops>
333   <tabstop>customFont</tabstop>
334   <tabstop>enableSpellCheck</tabstop>
335   <tabstop>showNickSelector</tabstop>
336   <tabstop>groupBox</tabstop>
337   <tabstop>maxNumLines</tabstop>
338   <tabstop>enableScrollBars</tabstop>
339   <tabstop>completionSuffix</tabstop>
340  </tabstops>
341  <resources/>
342  <connections>
343   <connection>
344    <sender>customFont</sender>
345    <signal>toggled(bool)</signal>
346    <receiver>inputLineFont</receiver>
347    <slot>setEnabled(bool)</slot>
348    <hints>
349     <hint type="sourcelabel">
350      <x>165</x>
351      <y>18</y>
352     </hint>
353     <hint type="destinationlabel">
354      <x>305</x>
355      <y>17</y>
356     </hint>
357    </hints>
358   </connection>
359  </connections>
360 </ui>