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