Make multiline input configurable
[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>/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>/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>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="showNickSelector">
62      <property name="text">
63       <string>Show nick selector</string>
64      </property>
65      <property name="checked">
66       <bool>true</bool>
67      </property>
68      <property name="settingsKey" stdset="0">
69       <string>ShowNickSelector</string>
70      </property>
71      <property name="defaultValue" stdset="0">
72       <bool>true</bool>
73      </property>
74     </widget>
75    </item>
76    <item>
77     <widget class="QGroupBox" name="groupBox">
78      <property name="title">
79       <string>Multi-Line Editing</string>
80      </property>
81      <property name="checkable">
82       <bool>true</bool>
83      </property>
84      <property name="settingsKey" stdset="0">
85       <string>EnableMultiLine</string>
86      </property>
87      <property name="defaultValue" stdset="0">
88       <bool>true</bool>
89      </property>
90      <layout class="QVBoxLayout" name="verticalLayout">
91       <item>
92        <layout class="QHBoxLayout" name="horizontalLayout_2">
93         <item>
94          <widget class="QLabel" name="label">
95           <property name="text">
96            <string>Show at most</string>
97           </property>
98          </widget>
99         </item>
100         <item>
101          <widget class="QSpinBox" name="maxNumLines">
102           <property name="minimum">
103            <number>1</number>
104           </property>
105           <property name="maximum">
106            <number>19</number>
107           </property>
108           <property name="value">
109            <number>5</number>
110           </property>
111           <property name="settingsKey" stdset="0">
112            <string>MaxNumLines</string>
113           </property>
114           <property name="defaultValue" stdset="0">
115            <number>5</number>
116           </property>
117          </widget>
118         </item>
119         <item>
120          <widget class="QLabel" name="label_2">
121           <property name="text">
122            <string>lines</string>
123           </property>
124          </widget>
125         </item>
126         <item>
127          <spacer name="horizontalSpacer_2">
128           <property name="orientation">
129            <enum>Qt::Horizontal</enum>
130           </property>
131           <property name="sizeHint" stdset="0">
132            <size>
133             <width>40</width>
134             <height>20</height>
135            </size>
136           </property>
137          </spacer>
138         </item>
139        </layout>
140       </item>
141       <item>
142        <widget class="QCheckBox" name="enableScrollBars">
143         <property name="text">
144          <string>Enable scrollbars</string>
145         </property>
146         <property name="checked">
147          <bool>true</bool>
148         </property>
149         <property name="settingsKey" stdset="0">
150          <string>EnableScrollBars</string>
151         </property>
152         <property name="defaultValue" stdset="0">
153          <bool>true</bool>
154         </property>
155        </widget>
156       </item>
157      </layout>
158     </widget>
159    </item>
160    <item>
161     <widget class="QGroupBox" name="groupBox_2">
162      <property name="title">
163       <string>Tab Completion</string>
164      </property>
165      <layout class="QVBoxLayout" name="verticalLayout_3">
166       <item>
167        <layout class="QHBoxLayout" name="horizontalLayout_3">
168         <item>
169          <widget class="QLabel" name="completionSuffixDesc">
170           <property name="text">
171            <string>Completion suffix:</string>
172           </property>
173          </widget>
174         </item>
175         <item>
176          <widget class="QLineEdit" name="completionSuffix">
177           <property name="sizePolicy">
178            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
179             <horstretch>0</horstretch>
180             <verstretch>0</verstretch>
181            </sizepolicy>
182           </property>
183           <property name="settingsKey" stdset="0">
184            <string>/TabCompletion/CompletionSuffix</string>
185           </property>
186           <property name="defaultValue" stdset="0">
187            <string>: </string>
188           </property>
189          </widget>
190         </item>
191         <item>
192          <spacer name="horizontalSpacer">
193           <property name="orientation">
194            <enum>Qt::Horizontal</enum>
195           </property>
196           <property name="sizeType">
197            <enum>QSizePolicy::MinimumExpanding</enum>
198           </property>
199           <property name="sizeHint" stdset="0">
200            <size>
201             <width>157</width>
202             <height>27</height>
203            </size>
204           </property>
205          </spacer>
206         </item>
207        </layout>
208       </item>
209      </layout>
210     </widget>
211    </item>
212    <item>
213     <spacer name="verticalSpacer">
214      <property name="orientation">
215       <enum>Qt::Vertical</enum>
216      </property>
217      <property name="sizeHint" stdset="0">
218       <size>
219        <width>20</width>
220        <height>233</height>
221       </size>
222      </property>
223     </spacer>
224    </item>
225   </layout>
226  </widget>
227  <customwidgets>
228   <customwidget>
229    <class>FontSelector</class>
230    <extends>QWidget</extends>
231    <header>fontselector.h</header>
232    <container>1</container>
233   </customwidget>
234  </customwidgets>
235  <tabstops>
236   <tabstop>customFont</tabstop>
237   <tabstop>enableSpellCheck</tabstop>
238   <tabstop>showNickSelector</tabstop>
239   <tabstop>maxNumLines</tabstop>
240   <tabstop>enableScrollBars</tabstop>
241   <tabstop>completionSuffix</tabstop>
242  </tabstops>
243  <resources/>
244  <connections>
245   <connection>
246    <sender>customFont</sender>
247    <signal>toggled(bool)</signal>
248    <receiver>inputLineFont</receiver>
249    <slot>setEnabled(bool)</slot>
250    <hints>
251     <hint type="sourcelabel">
252      <x>165</x>
253      <y>18</y>
254     </hint>
255     <hint type="destinationlabel">
256      <x>305</x>
257      <y>17</y>
258     </hint>
259    </hints>
260   </connection>
261  </connections>
262 </ui>