add more spacing
[personal-kdebase.git] / workspace / kcontrol / keyboard / kcmmiscwidget.ui
blob2697e737d4fd8c272fe4b846bffb3a4601b35ed9
1 <ui version="4.0" >
2  <class>KeyboardConfigWidget</class>
3  <widget class="QWidget" name="KeyboardConfigWidget" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>599</width>
9     <height>381</height>
10    </rect>
11   </property>
12   <layout class="QVBoxLayout" >
13    <property name="leftMargin" >
14     <number>0</number>
15    </property>
16    <property name="topMargin" >
17     <number>0</number>
18    </property>
19    <property name="rightMargin" >
20     <number>0</number>
21    </property>
22    <property name="bottomMargin" >
23     <number>0</number>
24    </property>
25    <item>
26     <widget class="QGroupBox" name="groupBox1" >
27      <property name="title" >
28       <string>Keyboard Repeat</string>
29      </property>
30      <layout class="QGridLayout" >
31       <item row="0" column="0" colspan="2" >
32        <widget class="QCheckBox" name="repeatBox" >
33         <property name="whatsThis" >
34          <string>If you check this option, pressing and holding down a key emits the same character over and over again. For example, pressing and holding down the Tab key will have the same effect as that of pressing that key several times in succession: Tab characters continue to be emitted until you release the key.</string>
35         </property>
36         <property name="text" >
37          <string>&amp;Enable keyboard repeat</string>
38         </property>
39         <property name="checked" >
40          <bool>true</bool>
41         </property>
42        </widget>
43       </item>
44       <item row="1" column="0" >
45        <widget class="QLabel" name="lblDelay" >
46         <property name="sizePolicy" >
47          <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
48           <horstretch>0</horstretch>
49           <verstretch>0</verstretch>
50          </sizepolicy>
51         </property>
52         <property name="text" >
53          <string>&amp;Delay:</string>
54         </property>
55         <property name="buddy" >
56          <cstring>delay</cstring>
57         </property>
58        </widget>
59       </item>
60       <item row="1" column="1" >
61        <widget class="QSlider" name="delaySlider" >
62         <property name="whatsThis" >
63          <string>If supported, this option allows you to set the delay after which a pressed key will start generating keycodes. The 'Repeat rate' option controls the frequency of these keycodes.</string>
64         </property>
65         <property name="minimum" >
66          <number>0</number>
67         </property>
68         <property name="maximum" >
69          <number>10000</number>
70         </property>
71         <property name="singleStep" >
72          <number>1000</number>
73         </property>
74         <property name="pageStep" >
75          <number>1000</number>
76         </property>
77         <property name="value" >
78          <number>5000</number>
79         </property>
80         <property name="orientation" >
81          <enum>Qt::Horizontal</enum>
82         </property>
83         <property name="tickInterval" >
84          <number>1000</number>
85         </property>
86        </widget>
87       </item>
88       <item row="1" column="2" >
89        <widget class="KIntNumInput" native="1" name="delay" >
90         <property name="whatsThis" >
91          <string>If supported, this option allows you to set the delay after which a pressed key will start generating keycodes. The 'Repeat rate' option controls the frequency of these keycodes.</string>
92         </property>
93        </widget>
94       </item>
95       <item row="2" column="0" >
96        <widget class="QLabel" name="lblRate" >
97         <property name="sizePolicy" >
98          <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
99           <horstretch>0</horstretch>
100           <verstretch>0</verstretch>
101          </sizepolicy>
102         </property>
103         <property name="text" >
104          <string>&amp;Rate:</string>
105         </property>
106         <property name="buddy" >
107          <cstring>rate</cstring>
108         </property>
109        </widget>
110       </item>
111       <item row="2" column="1" >
112        <widget class="QSlider" name="rateSlider" >
113         <property name="whatsThis" >
114          <string>If supported, this option allows you to set the rate at which keycodes are generated while a key is pressed.</string>
115         </property>
116         <property name="minimum" >
117          <number>0</number>
118         </property>
119         <property name="maximum" >
120          <number>10000</number>
121         </property>
122         <property name="singleStep" >
123          <number>1000</number>
124         </property>
125         <property name="pageStep" >
126          <number>1000</number>
127         </property>
128         <property name="value" >
129          <number>5000</number>
130         </property>
131         <property name="orientation" >
132          <enum>Qt::Horizontal</enum>
133         </property>
134         <property name="tickInterval" >
135          <number>1000</number>
136         </property>
137        </widget>
138       </item>
139       <item row="2" column="2" >
140        <widget class="KDoubleNumInput" native="1" name="rate" >
141         <property name="whatsThis" >
142          <string>If supported, this option allows you to set the rate at which keycodes are generated while a key is pressed.</string>
143         </property>
144        </widget>
145       </item>
146      </layout>
147     </widget>
148    </item>
149    <item>
150     <widget class="KButtonGroup" native="1" name="numlockGroup" >
151      <property name="whatsThis" >
152       <string>If supported, this option allows you to setup the state of NumLock after KDE startup.&lt;p>You can configure NumLock to be turned on or off, or configure KDE not to set NumLock state.</string>
153      </property>
154      <property name="title" stdset="0" >
155       <string>NumLock on KDE Startup</string>
156      </property>
157      <layout class="QGridLayout" >
158       <item row="0" column="0" >
159        <widget class="QRadioButton" name="RadioButton1" >
160         <property name="text" >
161          <string>T&amp;urn on</string>
162         </property>
163        </widget>
164       </item>
165       <item row="1" column="0" >
166        <widget class="QRadioButton" name="RadioButton1_2" >
167         <property name="text" >
168          <string>Turn o&amp;ff</string>
169         </property>
170        </widget>
171       </item>
172       <item row="2" column="0" >
173        <widget class="QRadioButton" name="RadioButton1_3" >
174         <property name="text" >
175          <string>Leave unchan&amp;ged</string>
176         </property>
177        </widget>
178       </item>
179      </layout>
180     </widget>
181    </item>
182    <item>
183     <widget class="QLabel" name="TextLabel1" >
184      <property name="whatsThis" >
185       <string>If supported, this option allows you to hear audible clicks from your computer's speakers when you press the keys on your keyboard. This might be useful if your keyboard does not have mechanical keys, or if the sound that the keys make is very soft.&lt;p>You can change the loudness of the key click feedback by dragging the slider button or by clicking the up/down arrows on the spin box. Setting the volume to 0% turns off the key click.</string>
186      </property>
187      <property name="text" >
188       <string>Key click &amp;volume:</string>
189      </property>
190      <property name="buddy" >
191       <cstring>click</cstring>
192      </property>
193     </widget>
194    </item>
195    <item>
196     <widget class="KIntNumInput" native="1" name="click" >
197      <property name="whatsThis" >
198       <string>If supported, this option allows you to hear audible clicks from your computer's speakers when you press the keys on your keyboard. This might be useful if your keyboard does not have mechanical keys, or if the sound that the keys make is very soft.&lt;p>You can change the loudness of the key click feedback by dragging the slider button or by clicking the up/down arrows on the spin box. Setting the volume to 0% turns off the key click.</string>
199      </property>
200     </widget>
201    </item>
202    <item>
203     <spacer>
204      <property name="orientation" >
205       <enum>Qt::Vertical</enum>
206      </property>
207      <property name="sizeHint" >
208       <size>
209        <width>20</width>
210        <height>40</height>
211       </size>
212      </property>
213     </spacer>
214    </item>
215   </layout>
216  </widget>
217  <layoutdefault spacing="6" margin="11" />
218  <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
219  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
220  <customwidgets>
221   <customwidget>
222    <class>KDoubleNumInput</class>
223    <extends>QWidget</extends>
224    <header>knuminput.h</header>
225    <container>1</container>
226   </customwidget>
227   <customwidget>
228    <class>KIntNumInput</class>
229    <extends>QWidget</extends>
230    <header>knuminput.h</header>
231    <container>1</container>
232   </customwidget>
233   <customwidget>
234    <class>KButtonGroup</class>
235    <extends>QWidget</extends>
236    <header>kbuttongroup.h</header>
237   </customwidget>
238  </customwidgets>
239  <tabstops>
240   <tabstop>repeatBox</tabstop>
241   <tabstop>click</tabstop>
242   <tabstop>RadioButton1</tabstop>
243   <tabstop>RadioButton1_2</tabstop>
244   <tabstop>RadioButton1_3</tabstop>
245  </tabstops>
246  <resources/>
247  <connections>
248   <connection>
249    <sender>repeatBox</sender>
250    <signal>toggled(bool)</signal>
251    <receiver>delaySlider</receiver>
252    <slot>setEnabled(bool)</slot>
253    <hints>
254     <hint type="sourcelabel" >
255      <x>20</x>
256      <y>20</y>
257     </hint>
258     <hint type="destinationlabel" >
259      <x>20</x>
260      <y>20</y>
261     </hint>
262    </hints>
263   </connection>
264   <connection>
265    <sender>repeatBox</sender>
266    <signal>toggled(bool)</signal>
267    <receiver>delay</receiver>
268    <slot>setEnabled(bool)</slot>
269    <hints>
270     <hint type="sourcelabel" >
271      <x>20</x>
272      <y>20</y>
273     </hint>
274     <hint type="destinationlabel" >
275      <x>20</x>
276      <y>20</y>
277     </hint>
278    </hints>
279   </connection>
280   <connection>
281    <sender>repeatBox</sender>
282    <signal>toggled(bool)</signal>
283    <receiver>rateSlider</receiver>
284    <slot>setEnabled(bool)</slot>
285    <hints>
286     <hint type="sourcelabel" >
287      <x>20</x>
288      <y>20</y>
289     </hint>
290     <hint type="destinationlabel" >
291      <x>20</x>
292      <y>20</y>
293     </hint>
294    </hints>
295   </connection>
296   <connection>
297    <sender>repeatBox</sender>
298    <signal>toggled(bool)</signal>
299    <receiver>rate</receiver>
300    <slot>setEnabled(bool)</slot>
301    <hints>
302     <hint type="sourcelabel" >
303      <x>20</x>
304      <y>20</y>
305     </hint>
306     <hint type="destinationlabel" >
307      <x>20</x>
308      <y>20</y>
309     </hint>
310    </hints>
311   </connection>
312   <connection>
313    <sender>repeatBox</sender>
314    <signal>toggled(bool)</signal>
315    <receiver>lblDelay</receiver>
316    <slot>setEnabled(bool)</slot>
317    <hints>
318     <hint type="sourcelabel" >
319      <x>20</x>
320      <y>20</y>
321     </hint>
322     <hint type="destinationlabel" >
323      <x>20</x>
324      <y>20</y>
325     </hint>
326    </hints>
327   </connection>
328   <connection>
329    <sender>repeatBox</sender>
330    <signal>toggled(bool)</signal>
331    <receiver>lblRate</receiver>
332    <slot>setEnabled(bool)</slot>
333    <hints>
334     <hint type="sourcelabel" >
335      <x>20</x>
336      <y>20</y>
337     </hint>
338     <hint type="destinationlabel" >
339      <x>20</x>
340      <y>20</y>
341     </hint>
342    </hints>
343   </connection>
344  </connections>
345 </ui>