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