Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kcontrol / kxkb / kcmlayoutwidget.ui
blobd521394d901a8e2e1283f70e294a7885732888b2
1 <ui version="4.0" >
2  <class>LayoutConfigWidget</class>
3  <widget class="QWidget" name="LayoutConfigWidget" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>622</width>
9     <height>576</height>
10    </rect>
11   </property>
12   <layout class="QGridLayout" >
13    <item row="0" column="0" >
14     <widget class="QTabWidget" name="tabWidget" >
15      <property name="currentIndex" >
16       <number>0</number>
17      </property>
18      <widget class="QWidget" name="tabLayout" >
19       <attribute name="title" >
20        <string>Layout</string>
21       </attribute>
22       <layout class="QVBoxLayout" >
23        <item>
24         <widget class="KButtonGroup" name="grpEnableKxkb" >
25          <layout class="QHBoxLayout" >
26           <property name="topMargin" >
27            <number>0</number>
28           </property>
29           <property name="bottomMargin" >
30            <number>0</number>
31           </property>
32           <item>
33            <widget class="QRadioButton" name="radioButton" >
34             <property name="toolTip" >
35              <string>KDE will configure layouts and start layout indicator</string>
36             </property>
37             <property name="text" >
38              <string>&amp;Enable keyboard layouts</string>
39             </property>
40            </widget>
41           </item>
42           <item>
43            <widget class="QRadioButton" name="radioButton_2" >
44             <property name="toolTip" >
45              <string>KDE will start indicator but will use existing layout configuration</string>
46             </property>
47             <property name="text" >
48              <string>Indicator only</string>
49             </property>
50            </widget>
51           </item>
52           <item>
53            <widget class="QRadioButton" name="radioButton_3" >
54             <property name="toolTip" >
55              <string>KDE will not configure or show keyboard layouts</string>
56             </property>
57             <property name="text" >
58              <string>Disable keyboard layouts</string>
59             </property>
60             <property name="checked" >
61              <bool>true</bool>
62             </property>
63            </widget>
64           </item>
65          </layout>
66         </widget>
67        </item>
68        <item>
69         <widget class="QGroupBox" name="grpIndicatorOptions" >
70          <property name="title" >
71           <string>Indicator Options</string>
72          </property>
73          <layout class="QHBoxLayout" >
74           <property name="topMargin" >
75            <number>0</number>
76           </property>
77           <property name="bottomMargin" >
78            <number>0</number>
79           </property>
80           <item>
81            <widget class="QCheckBox" name="chkShowFlag" >
82             <property name="whatsThis" >
83              <string>Shows country flag on background of layout name in tray icon</string>
84             </property>
85             <property name="text" >
86              <string>Show country flag</string>
87             </property>
88             <property name="checked" >
89              <bool>true</bool>
90             </property>
91            </widget>
92           </item>
93           <item>
94            <widget class="QCheckBox" name="chkShowSingle" >
95             <property name="text" >
96              <string>Show indicator for single layout</string>
97             </property>
98            </widget>
99           </item>
100          </layout>
101         </widget>
102        </item>
103        <item>
104         <widget class="QGroupBox" name="grpLayouts" >
105          <property name="whatsThis" >
106           <string>&lt;h1>Keyboard Layout&lt;/h1> Here you can choose your keyboard layout and model. The 'model' refers to the type of keyboard that is connected to your computer, while the keyboard layout defines "which key does what" and may be different for different countries.</string>
107          </property>
108          <property name="title" >
109           <string/>
110          </property>
111          <layout class="QGridLayout" >
112           <property name="topMargin" >
113            <number>0</number>
114           </property>
115           <property name="bottomMargin" >
116            <number>0</number>
117           </property>
118           <item row="0" column="0" >
119            <widget class="QLabel" name="label_4" >
120             <property name="sizePolicy" >
121              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
122               <horstretch>1</horstretch>
123               <verstretch>0</verstretch>
124              </sizepolicy>
125             </property>
126             <property name="text" >
127              <string>Keyboard &amp;model:</string>
128             </property>
129             <property name="buddy" >
130              <cstring>comboModel</cstring>
131             </property>
132            </widget>
133           </item>
134           <item row="0" column="1" >
135            <widget class="QComboBox" name="comboModel" >
136             <property name="sizePolicy" >
137              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
138               <horstretch>2</horstretch>
139               <verstretch>0</verstretch>
140              </sizepolicy>
141             </property>
142             <property name="whatsThis" >
143              <string>Here you can choose a keyboard model. This setting is independent of your keyboard layout and refers to the "hardware" model, i.e. the way your keyboard is manufactured. Modern keyboards that come with your computer usually have two extra keys and are referred to as "104-key" models, which is probably what you want if you do not know what kind of keyboard you have.
144 </string>
145             </property>
146            </widget>
147           </item>
148           <item row="1" column="0" >
149            <layout class="QHBoxLayout" >
150             <item>
151              <widget class="QLabel" name="textLabel1_4" >
152               <property name="sizePolicy" >
153                <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
154                 <horstretch>1</horstretch>
155                 <verstretch>0</verstretch>
156                </sizepolicy>
157               </property>
158               <property name="text" >
159                <string>Available layouts:</string>
160               </property>
161               <property name="buddy" >
162                <cstring>srcTableView</cstring>
163               </property>
164              </widget>
165             </item>
166             <item>
167              <widget class="QToolButton" name="btnRemove" >
168               <property name="text" >
169                <string>...</string>
170               </property>
171              </widget>
172             </item>
173            </layout>
174           </item>
175           <item row="1" column="1" >
176            <layout class="QHBoxLayout" >
177             <property name="spacing" >
178              <number>0</number>
179             </property>
180             <item>
181              <widget class="QToolButton" name="btnAdd" >
182               <property name="text" >
183                <string>...</string>
184               </property>
185              </widget>
186             </item>
187             <item>
188              <widget class="QLabel" name="textLabel1_4_2" >
189               <property name="sizePolicy" >
190                <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
191                 <horstretch>3</horstretch>
192                 <verstretch>0</verstretch>
193                </sizepolicy>
194               </property>
195               <property name="text" >
196                <string>Active layouts:</string>
197               </property>
198               <property name="alignment" >
199                <set>Qt::AlignCenter</set>
200               </property>
201               <property name="buddy" >
202                <cstring>dstTableView</cstring>
203               </property>
204              </widget>
205             </item>
206            </layout>
207           </item>
208           <item row="2" column="0" >
209            <widget class="QTreeView" name="srcTableView" >
210             <property name="sizePolicy" >
211              <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
212               <horstretch>1</horstretch>
213               <verstretch>0</verstretch>
214              </sizepolicy>
215             </property>
216             <property name="selectionMode" >
217              <enum>QAbstractItemView::SingleSelection</enum>
218             </property>
219             <property name="selectionBehavior" >
220              <enum>QAbstractItemView::SelectRows</enum>
221             </property>
222            </widget>
223           </item>
224           <item row="2" column="1" >
225            <layout class="QHBoxLayout" >
226             <property name="spacing" >
227              <number>0</number>
228             </property>
229             <item>
230              <widget class="QTreeView" name="dstTableView" >
231               <property name="sizePolicy" >
232                <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
233                 <horstretch>0</horstretch>
234                 <verstretch>0</verstretch>
235                </sizepolicy>
236               </property>
237               <property name="selectionMode" >
238                <enum>QAbstractItemView::SingleSelection</enum>
239               </property>
240               <property name="selectionBehavior" >
241                <enum>QAbstractItemView::SelectRows</enum>
242               </property>
243               <property name="wordWrap" >
244                <bool>false</bool>
245               </property>
246              </widget>
247             </item>
248             <item>
249              <layout class="QVBoxLayout" >
250               <item>
251                <widget class="QToolButton" name="btnUp" >
252                 <property name="text" >
253                  <string>...</string>
254                 </property>
255                </widget>
256               </item>
257               <item>
258                <spacer>
259                 <property name="orientation" >
260                  <enum>Qt::Vertical</enum>
261                 </property>
262                 <property name="sizeHint" >
263                  <size>
264                   <width>20</width>
265                   <height>40</height>
266                  </size>
267                 </property>
268                </spacer>
269               </item>
270               <item>
271                <widget class="QToolButton" name="btnDown" >
272                 <property name="text" >
273                  <string>...</string>
274                 </property>
275                </widget>
276               </item>
277              </layout>
278             </item>
279            </layout>
280           </item>
281           <item row="3" column="0" colspan="2" >
282            <layout class="QHBoxLayout" >
283             <item>
284              <widget class="QLabel" name="textLabel1" >
285               <property name="text" >
286                <string>Layout variant:</string>
287               </property>
288               <property name="buddy" >
289                <cstring>comboVariant</cstring>
290               </property>
291              </widget>
292             </item>
293             <item>
294              <widget class="QComboBox" name="comboVariant" >
295               <property name="sizePolicy" >
296                <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
297                 <horstretch>0</horstretch>
298                 <verstretch>0</verstretch>
299                </sizepolicy>
300               </property>
301               <property name="whatsThis" >
302                <string>Here you can choose a variant of selected keyboard layout. Layout variants usually represent different key maps for the same language. For example, Ukrainian layout might have four variants: basic, winkeys (as in Windows), typewriter (as in typewriters) and phonetic (each Ukrainian letter is placed on a transliterated latin one).
303 </string>
304               </property>
305              </widget>
306             </item>
307             <item>
308              <widget class="QLabel" name="textLabel1_6" >
309               <property name="text" >
310                <string>Label:</string>
311               </property>
312               <property name="buddy" >
313                <cstring>editDisplayName</cstring>
314               </property>
315              </widget>
316             </item>
317             <item>
318              <widget class="QLineEdit" name="editDisplayName" >
319               <property name="maxLength" >
320                <number>3</number>
321               </property>
322              </widget>
323             </item>
324            </layout>
325           </item>
326           <item row="4" column="0" >
327            <widget class="QLabel" name="textLabel1_3" >
328             <property name="sizePolicy" >
329              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
330               <horstretch>1</horstretch>
331               <verstretch>0</verstretch>
332              </sizepolicy>
333             </property>
334             <property name="text" >
335              <string>Command:</string>
336             </property>
337             <property name="buddy" >
338              <cstring>editCmdLine</cstring>
339             </property>
340            </widget>
341           </item>
342           <item row="4" column="1" >
343            <widget class="QLineEdit" name="editCmdLine" >
344             <property name="sizePolicy" >
345              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
346               <horstretch>2</horstretch>
347               <verstretch>0</verstretch>
348              </sizepolicy>
349             </property>
350             <property name="whatsThis" >
351              <string>This is the command which will be executed to initialize configured layouts.</string>
352             </property>
353             <property name="readOnly" >
354              <bool>true</bool>
355             </property>
356            </widget>
357           </item>
358          </layout>
359         </widget>
360        </item>
361       </layout>
362      </widget>
363      <widget class="QWidget" name="tab" >
364       <attribute name="title" >
365        <string>Switching Options</string>
366       </attribute>
367       <layout class="QGridLayout" >
368        <item row="0" column="0" >
369         <widget class="QFrame" name="optionsFrame" >
370          <property name="frameShape" >
371           <enum>QFrame::StyledPanel</enum>
372          </property>
373          <property name="frameShadow" >
374           <enum>QFrame::Raised</enum>
375          </property>
376          <property name="lineWidth" >
377           <number>0</number>
378          </property>
379          <layout class="QGridLayout" >
380           <item row="0" column="0" >
381            <widget class="KButtonGroup" name="grpSwitching" >
382             <property name="whatsThis" >
383              <string>If you select "Application" or "Window" switching policy, changing the keyboard layout will only affect the current application or window.</string>
384             </property>
385             <property name="title" >
386              <string>Switching Policy</string>
387             </property>
388             <layout class="QGridLayout" >
389              <item row="0" column="0" >
390               <widget class="QRadioButton" name="rdBtnSwitchGlobal" >
391                <property name="text" >
392                 <string>&amp;Global</string>
393                </property>
394                <property name="checked" >
395                 <bool>true</bool>
396                </property>
397               </widget>
398              </item>
399              <item row="1" column="0" >
400               <widget class="QRadioButton" name="rdBtnSwitchPerDesktop" >
401                <property name="text" >
402                 <string>Desktop</string>
403                </property>
404               </widget>
405              </item>
406              <item row="2" column="0" >
407               <widget class="QRadioButton" name="rdBtnSwitchPerApp" >
408                <property name="text" >
409                 <string>Application</string>
410                </property>
411               </widget>
412              </item>
413              <item row="3" column="0" >
414               <widget class="QRadioButton" name="rdBtnSwitchPerWin" >
415                <property name="text" >
416                 <string>&amp;Window</string>
417                </property>
418               </widget>
419              </item>
420             </layout>
421            </widget>
422           </item>
423           <item row="0" column="1" >
424            <widget class="QGroupBox" name="groupBox" >
425             <property name="title" >
426              <string>Shortcuts for Switching Layout</string>
427             </property>
428             <layout class="QGridLayout" >
429              <item row="0" column="0" >
430               <widget class="QLabel" name="label" >
431                <property name="text" >
432                 <string>Main shortcuts:</string>
433                </property>
434                <property name="buddy" >
435                 <cstring>btnXkbShortcut</cstring>
436                </property>
437               </widget>
438              </item>
439              <item row="0" column="1" >
440               <widget class="QPushButton" name="btnXkbShortcut" >
441                <property name="whatsThis" >
442                 <string>This is a shortcut for switching layouts which is handled by X.org. It allows modifier-only shortcuts.</string>
443                </property>
444                <property name="text" >
445                 <string>None</string>
446                </property>
447               </widget>
448              </item>
449              <item row="0" column="2" >
450               <widget class="QToolButton" name="xkbClearButton" >
451                <property name="text" >
452                 <string>...</string>
453                </property>
454               </widget>
455              </item>
456              <item row="1" column="0" >
457               <widget class="QLabel" name="label_3" >
458                <property name="text" >
459                 <string>3d level shortcuts:</string>
460                </property>
461                <property name="buddy" >
462                 <cstring>btnXkbShortcut3d</cstring>
463                </property>
464               </widget>
465              </item>
466              <item row="1" column="1" >
467               <widget class="QPushButton" name="btnXkbShortcut3d" >
468                <property name="whatsThis" >
469                 <string>This is a shortcut for switching to a third level of the active layout (if it has one) which is handled by X.org. It allows modifier-only shortcuts.</string>
470                </property>
471                <property name="text" >
472                 <string>None</string>
473                </property>
474               </widget>
475              </item>
476              <item row="1" column="2" >
477               <widget class="QToolButton" name="xkb3dClearButton" >
478                <property name="text" >
479                 <string>...</string>
480                </property>
481               </widget>
482              </item>
483              <item row="2" column="0" >
484               <widget class="QLabel" name="label_2" >
485                <property name="text" >
486                 <string>Alternative shortcut:</string>
487                </property>
488                <property name="buddy" >
489                 <cstring>kdeKeySequence</cstring>
490                </property>
491               </widget>
492              </item>
493              <item row="2" column="1" colspan="2" >
494               <widget class="KKeySequenceWidget" name="kdeKeySequence" >
495                <property name="whatsThis" >
496                 <string>This is a shortcut for switching layouts which is handled by KDE. It does not support modifier-only shortcuts and also may not work in some situations (e.g. if popup is active or from screensaver).</string>
497                </property>
498               </widget>
499              </item>
500             </layout>
501            </widget>
502           </item>
503           <item row="3" column="0" >
504            <spacer>
505             <property name="orientation" >
506              <enum>Qt::Vertical</enum>
507             </property>
508             <property name="sizeHint" >
509              <size>
510               <width>20</width>
511               <height>40</height>
512              </size>
513             </property>
514            </spacer>
515           </item>
516          </layout>
517         </widget>
518        </item>
519       </layout>
520      </widget>
521      <widget class="QWidget" name="tabOptions" >
522       <attribute name="title" >
523        <string>Advanced</string>
524       </attribute>
525       <layout class="QVBoxLayout" >
526        <item>
527         <widget class="QGroupBox" name="groupBox3_2" >
528          <property name="whatsThis" >
529           <string>Here you can set xkb extension options instead of, or in addition to, specifying them in the X11 configuration file.</string>
530          </property>
531          <property name="title" >
532           <string>Xkb Options</string>
533          </property>
534          <layout class="QGridLayout" >
535           <item row="0" column="0" colspan="2" >
536            <widget class="QCheckBox" name="checkResetOld" >
537             <property name="text" >
538              <string>&amp;Reset old options</string>
539             </property>
540             <property name="checked" >
541              <bool>true</bool>
542             </property>
543            </widget>
544           </item>
545           <item row="2" column="0" colspan="2" >
546            <widget class="QTreeView" name="xkbOptionsTreeView" >
547             <property name="selectionMode" >
548              <enum>QAbstractItemView::NoSelection</enum>
549             </property>
550            </widget>
551           </item>
552           <item row="3" column="0" >
553            <widget class="QLabel" name="textLabel1_3_2" >
554             <property name="text" >
555              <string>Command:</string>
556             </property>
557            </widget>
558           </item>
559           <item row="3" column="1" >
560            <widget class="QLineEdit" name="editCmdLineOpt" >
561             <property name="whatsThis" >
562              <string>This is the command which will be executed to initialize configured options.</string>
563             </property>
564             <property name="readOnly" >
565              <bool>true</bool>
566             </property>
567            </widget>
568           </item>
569          </layout>
570         </widget>
571        </item>
572       </layout>
573      </widget>
574     </widget>
575    </item>
576   </layout>
577  </widget>
578  <layoutdefault spacing="6" margin="11" />
579  <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
580  <pixmapfunction>SmallIcon</pixmapfunction>
581  <customwidgets>
582   <customwidget>
583    <class>KButtonGroup</class>
584    <extends>QGroupBox</extends>
585    <header>kbuttongroup.h</header>
586    <container>1</container>
587   </customwidget>
588   <customwidget>
589    <class>KKeySequenceWidget</class>
590    <extends>QWidget</extends>
591    <header>kkeysequencewidget.h</header>
592   </customwidget>
593  </customwidgets>
594  <resources/>
595  <connections/>
596 </ui>