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