cosmetix
[jrugr.git] / src / ui / kswconfig.ui
blob5c9833c3f3e99ff19dfcb7632f86eb16c8dfd379
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Form</class>
4 <widget class="QWidget" name="Form">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>690</width>
10 <height>454</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Antico XKB</string>
15 </property>
16 <layout class="QHBoxLayout" name="horizontalLayout">
17 <item>
18 <widget class="QListWidget" name="listWidget">
19 <property name="minimumSize">
20 <size>
21 <width>140</width>
22 <height>0</height>
23 </size>
24 </property>
25 <property name="alternatingRowColors">
26 <bool>true</bool>
27 </property>
28 <property name="currentRow">
29 <number>0</number>
30 </property>
31 <item>
32 <property name="text">
33 <string>Layout</string>
34 </property>
35 </item>
36 <item>
37 <property name="text">
38 <string>Switching options</string>
39 </property>
40 </item>
41 <item>
42 <property name="text">
43 <string>XKB options</string>
44 </property>
45 </item>
46 </widget>
47 </item>
48 <item>
49 <layout class="QVBoxLayout" name="verticalLayout_6">
50 <item>
51 <widget class="QStackedWidget" name="stackedWidget">
52 <property name="currentIndex">
53 <number>0</number>
54 </property>
55 <widget class="QWidget" name="page">
56 <layout class="QVBoxLayout" name="verticalLayout">
57 <item>
58 <widget class="QGroupBox" name="groupBox_2">
59 <property name="title">
60 <string/>
61 </property>
62 <property name="checkable">
63 <bool>false</bool>
64 </property>
65 <layout class="QHBoxLayout" name="horizontalLayout_2">
66 <item>
67 <widget class="QRadioButton" name="radioButton">
68 <property name="toolTip">
69 <string>Antico will configure layouts and start layout indicator</string>
70 </property>
71 <property name="text">
72 <string>&amp;Enable keyboard layouts</string>
73 </property>
74 </widget>
75 </item>
76 <item>
77 <widget class="QRadioButton" name="radioButton_2">
78 <property name="toolTip">
79 <string>Antico will start indicator but will use existing layout configuration</string>
80 </property>
81 <property name="text">
82 <string>Indicator only</string>
83 </property>
84 </widget>
85 </item>
86 <item>
87 <widget class="QRadioButton" name="radioButton_3">
88 <property name="toolTip">
89 <string>Antico will not configure or show keyboard layouts</string>
90 </property>
91 <property name="text">
92 <string>Disable keyboard layouts</string>
93 </property>
94 <property name="checked">
95 <bool>true</bool>
96 </property>
97 </widget>
98 </item>
99 </layout>
100 </widget>
101 </item>
102 <item>
103 <widget class="QGroupBox" name="grpIndicatorOptions">
104 <property name="title">
105 <string>Indicator Options</string>
106 </property>
107 <layout class="QHBoxLayout" name="_2">
108 <property name="topMargin">
109 <number>0</number>
110 </property>
111 <property name="bottomMargin">
112 <number>0</number>
113 </property>
114 <item>
115 <widget class="QCheckBox" name="chkShowFlag">
116 <property name="whatsThis">
117 <string>Shows country flag on background of layout name in tray icon</string>
118 </property>
119 <property name="text">
120 <string>Show country flag</string>
121 </property>
122 <property name="checked">
123 <bool>true</bool>
124 </property>
125 </widget>
126 </item>
127 <item>
128 <widget class="QCheckBox" name="chkShowSingle">
129 <property name="text">
130 <string>Show indicator for single layout</string>
131 </property>
132 </widget>
133 </item>
134 </layout>
135 </widget>
136 </item>
137 <item>
138 <widget class="QGroupBox" name="grpLayouts">
139 <property name="whatsThis">
140 <string>&lt;h1&gt;Keyboard Layout&lt;/h1&gt; 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 &quot;which key does what&quot; and may be different for different countries.</string>
141 </property>
142 <property name="title">
143 <string/>
144 </property>
145 <layout class="QGridLayout" name="gridLayout">
146 <item row="0" column="0">
147 <widget class="QLabel" name="label_4">
148 <property name="sizePolicy">
149 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
150 <horstretch>1</horstretch>
151 <verstretch>0</verstretch>
152 </sizepolicy>
153 </property>
154 <property name="text">
155 <string>Keyboard &amp;model:</string>
156 </property>
157 <property name="buddy">
158 <cstring>comboModel</cstring>
159 </property>
160 </widget>
161 </item>
162 <item row="0" column="1">
163 <widget class="QComboBox" name="comboModel">
164 <property name="sizePolicy">
165 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
166 <horstretch>2</horstretch>
167 <verstretch>0</verstretch>
168 </sizepolicy>
169 </property>
170 <property name="whatsThis">
171 <string>Here you can choose a keyboard model. This setting is independent of your keyboard layout and refers to the &quot;hardware&quot; 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 &quot;104-key&quot; models, which is probably what you want if you do not know what kind of keyboard you have.
172 </string>
173 </property>
174 </widget>
175 </item>
176 <item row="1" column="0" colspan="2">
177 <widget class="QSplitter" name="splitter">
178 <property name="orientation">
179 <enum>Qt::Horizontal</enum>
180 </property>
181 <widget class="QWidget" name="">
182 <layout class="QVBoxLayout" name="verticalLayout_5">
183 <item>
184 <layout class="QHBoxLayout" name="_4">
185 <item>
186 <widget class="QLabel" name="textLabel1_4">
187 <property name="sizePolicy">
188 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
189 <horstretch>1</horstretch>
190 <verstretch>0</verstretch>
191 </sizepolicy>
192 </property>
193 <property name="text">
194 <string>Available layouts:</string>
195 </property>
196 <property name="alignment">
197 <set>Qt::AlignCenter</set>
198 </property>
199 <property name="buddy">
200 <cstring>srcTableView</cstring>
201 </property>
202 </widget>
203 </item>
204 <item>
205 <widget class="QToolButton" name="btnRemove">
206 <property name="text">
207 <string>...</string>
208 </property>
209 </widget>
210 </item>
211 </layout>
212 </item>
213 <item>
214 <widget class="QTreeView" name="srcTableView">
215 <property name="sizePolicy">
216 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
217 <horstretch>1</horstretch>
218 <verstretch>0</verstretch>
219 </sizepolicy>
220 </property>
221 <property name="alternatingRowColors">
222 <bool>true</bool>
223 </property>
224 <property name="selectionMode">
225 <enum>QAbstractItemView::SingleSelection</enum>
226 </property>
227 <property name="selectionBehavior">
228 <enum>QAbstractItemView::SelectRows</enum>
229 </property>
230 </widget>
231 </item>
232 </layout>
233 </widget>
234 <widget class="QWidget" name="">
235 <layout class="QVBoxLayout" name="verticalLayout_7">
236 <item>
237 <layout class="QHBoxLayout" name="_5">
238 <property name="spacing">
239 <number>0</number>
240 </property>
241 <item>
242 <widget class="QToolButton" name="btnAdd">
243 <property name="text">
244 <string>...</string>
245 </property>
246 </widget>
247 </item>
248 <item>
249 <widget class="QLabel" name="textLabel1_4_2">
250 <property name="sizePolicy">
251 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
252 <horstretch>3</horstretch>
253 <verstretch>0</verstretch>
254 </sizepolicy>
255 </property>
256 <property name="text">
257 <string>Active layouts:</string>
258 </property>
259 <property name="alignment">
260 <set>Qt::AlignCenter</set>
261 </property>
262 <property name="buddy">
263 <cstring>dstTableView</cstring>
264 </property>
265 </widget>
266 </item>
267 </layout>
268 </item>
269 <item>
270 <layout class="QHBoxLayout" name="_6">
271 <property name="spacing">
272 <number>0</number>
273 </property>
274 <item>
275 <widget class="QTreeView" name="dstTableView">
276 <property name="sizePolicy">
277 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
278 <horstretch>0</horstretch>
279 <verstretch>0</verstretch>
280 </sizepolicy>
281 </property>
282 <property name="alternatingRowColors">
283 <bool>true</bool>
284 </property>
285 <property name="selectionMode">
286 <enum>QAbstractItemView::SingleSelection</enum>
287 </property>
288 <property name="selectionBehavior">
289 <enum>QAbstractItemView::SelectRows</enum>
290 </property>
291 <property name="wordWrap">
292 <bool>false</bool>
293 </property>
294 </widget>
295 </item>
296 <item>
297 <layout class="QVBoxLayout" name="_7">
298 <item>
299 <widget class="QToolButton" name="btnUp">
300 <property name="text">
301 <string>...</string>
302 </property>
303 </widget>
304 </item>
305 <item>
306 <spacer>
307 <property name="orientation">
308 <enum>Qt::Vertical</enum>
309 </property>
310 <property name="sizeHint" stdset="0">
311 <size>
312 <width>20</width>
313 <height>40</height>
314 </size>
315 </property>
316 </spacer>
317 </item>
318 <item>
319 <widget class="QToolButton" name="btnDown">
320 <property name="text">
321 <string>...</string>
322 </property>
323 </widget>
324 </item>
325 </layout>
326 </item>
327 </layout>
328 </item>
329 </layout>
330 </widget>
331 </widget>
332 </item>
333 <item row="2" column="0" colspan="2">
334 <layout class="QHBoxLayout" name="_8">
335 <item>
336 <widget class="QLabel" name="textLabel1">
337 <property name="text">
338 <string>Layout variant:</string>
339 </property>
340 <property name="buddy">
341 <cstring>comboVariant</cstring>
342 </property>
343 </widget>
344 </item>
345 <item>
346 <widget class="QComboBox" name="comboVariant">
347 <property name="sizePolicy">
348 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
349 <horstretch>0</horstretch>
350 <verstretch>0</verstretch>
351 </sizepolicy>
352 </property>
353 <property name="whatsThis">
354 <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).
355 </string>
356 </property>
357 </widget>
358 </item>
359 <item>
360 <widget class="QLabel" name="textLabel1_6">
361 <property name="text">
362 <string>Label:</string>
363 </property>
364 <property name="buddy">
365 <cstring>editDisplayName</cstring>
366 </property>
367 </widget>
368 </item>
369 <item>
370 <widget class="QLineEdit" name="editDisplayName">
371 <property name="maxLength">
372 <number>3</number>
373 </property>
374 </widget>
375 </item>
376 </layout>
377 </item>
378 <item row="3" column="0">
379 <widget class="QLabel" name="textLabel1_3">
380 <property name="sizePolicy">
381 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
382 <horstretch>1</horstretch>
383 <verstretch>0</verstretch>
384 </sizepolicy>
385 </property>
386 <property name="text">
387 <string>Command:</string>
388 </property>
389 <property name="buddy">
390 <cstring>editCmdLine</cstring>
391 </property>
392 </widget>
393 </item>
394 <item row="3" column="1">
395 <widget class="QLineEdit" name="editCmdLine">
396 <property name="sizePolicy">
397 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
398 <horstretch>2</horstretch>
399 <verstretch>0</verstretch>
400 </sizepolicy>
401 </property>
402 <property name="whatsThis">
403 <string>This is the command which will be executed to initialize configured layouts.</string>
404 </property>
405 <property name="readOnly">
406 <bool>true</bool>
407 </property>
408 </widget>
409 </item>
410 </layout>
411 </widget>
412 </item>
413 </layout>
414 </widget>
415 <widget class="QWidget" name="page_2">
416 <layout class="QVBoxLayout" name="verticalLayout_2">
417 <item>
418 <widget class="QFrame" name="optionsFrame">
419 <property name="frameShape">
420 <enum>QFrame::StyledPanel</enum>
421 </property>
422 <property name="frameShadow">
423 <enum>QFrame::Raised</enum>
424 </property>
425 <property name="lineWidth">
426 <number>0</number>
427 </property>
428 <layout class="QGridLayout" name="_9">
429 <item row="0" column="1">
430 <widget class="QGroupBox" name="groupBox">
431 <property name="title">
432 <string>Shortcuts for switching layout</string>
433 </property>
434 <layout class="QGridLayout" name="_11">
435 <item row="0" column="0">
436 <widget class="QLabel" name="label">
437 <property name="text">
438 <string>Main shortcuts:</string>
439 </property>
440 <property name="buddy">
441 <cstring>btnXkbShortcut</cstring>
442 </property>
443 </widget>
444 </item>
445 <item row="0" column="1">
446 <widget class="QPushButton" name="btnXkbShortcut">
447 <property name="whatsThis">
448 <string>This is a shortcut for switching layouts which is handled by X.org. It allows modifier-only shortcuts.</string>
449 </property>
450 <property name="text">
451 <string>None</string>
452 </property>
453 </widget>
454 </item>
455 <item row="0" column="2">
456 <widget class="QToolButton" name="xkbClearButton">
457 <property name="text">
458 <string>...</string>
459 </property>
460 </widget>
461 </item>
462 <item row="1" column="0">
463 <widget class="QLabel" name="label_3">
464 <property name="text">
465 <string>3d level shortcuts:</string>
466 </property>
467 <property name="buddy">
468 <cstring>btnXkbShortcut3d</cstring>
469 </property>
470 </widget>
471 </item>
472 <item row="1" column="1">
473 <widget class="QPushButton" name="btnXkbShortcut3d">
474 <property name="whatsThis">
475 <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>
476 </property>
477 <property name="text">
478 <string>None</string>
479 </property>
480 </widget>
481 </item>
482 <item row="1" column="2">
483 <widget class="QToolButton" name="xkb3dClearButton">
484 <property name="text">
485 <string>...</string>
486 </property>
487 </widget>
488 </item>
489 <item row="2" column="0">
490 <widget class="QLabel" name="label_2">
491 <property name="text">
492 <string>Alternative shortcut:</string>
493 </property>
494 </widget>
495 </item>
496 <item row="2" column="1">
497 <widget class="QPushButton" name="btnXkbShortcutAlt">
498 <property name="text">
499 <string>None</string>
500 </property>
501 </widget>
502 </item>
503 <item row="2" column="2">
504 <widget class="QToolButton" name="xkbAltClearButton">
505 <property name="text">
506 <string>...</string>
507 </property>
508 </widget>
509 </item>
510 </layout>
511 </widget>
512 </item>
513 <item row="0" column="0">
514 <widget class="QGroupBox" name="groupBox_3">
515 <property name="enabled">
516 <bool>true</bool>
517 </property>
518 <property name="title">
519 <string>Switshing policy</string>
520 </property>
521 <layout class="QVBoxLayout" name="verticalLayout_4">
522 <item>
523 <widget class="QRadioButton" name="rdBtnSwitchGlobal">
524 <property name="text">
525 <string>&amp;Global</string>
526 </property>
527 <property name="checked">
528 <bool>true</bool>
529 </property>
530 </widget>
531 </item>
532 <item>
533 <widget class="QRadioButton" name="rdBtnSwitchPerDesktop">
534 <property name="text">
535 <string>Desktop</string>
536 </property>
537 </widget>
538 </item>
539 <item>
540 <widget class="QRadioButton" name="rdBtnSwitchPerApp">
541 <property name="text">
542 <string>Application</string>
543 </property>
544 </widget>
545 </item>
546 <item>
547 <widget class="QRadioButton" name="rdBtnSwitchPerWin">
548 <property name="text">
549 <string>&amp;Window</string>
550 </property>
551 </widget>
552 </item>
553 </layout>
554 <zorder>rdBtnSwitchGlobal</zorder>
555 <zorder>rdBtnSwitchPerApp</zorder>
556 <zorder>rdBtnSwitchPerDesktop</zorder>
557 <zorder>rdBtnSwitchPerWin</zorder>
558 </widget>
559 </item>
560 <item row="3" column="0">
561 <spacer>
562 <property name="orientation">
563 <enum>Qt::Vertical</enum>
564 </property>
565 <property name="sizeHint" stdset="0">
566 <size>
567 <width>20</width>
568 <height>40</height>
569 </size>
570 </property>
571 </spacer>
572 </item>
573 <item row="1" column="1" rowspan="2">
574 <layout class="QHBoxLayout" name="horizontalLayout_3"/>
575 </item>
576 </layout>
577 </widget>
578 </item>
579 </layout>
580 </widget>
581 <widget class="QWidget" name="page_3">
582 <layout class="QVBoxLayout" name="verticalLayout_3">
583 <item>
584 <widget class="QGroupBox" name="groupBox3_2">
585 <property name="whatsThis">
586 <string>Here you can set xkb extension options instead of, or in addition to, specifying them in the X11 configuration file.</string>
587 </property>
588 <property name="title">
589 <string>Xkb Options</string>
590 </property>
591 <layout class="QGridLayout" name="_12">
592 <item row="0" column="0" colspan="2">
593 <widget class="QCheckBox" name="checkResetOld">
594 <property name="text">
595 <string>&amp;Reset old options</string>
596 </property>
597 <property name="checked">
598 <bool>true</bool>
599 </property>
600 </widget>
601 </item>
602 <item row="2" column="0" colspan="2">
603 <widget class="QTreeView" name="xkbOptionsTreeView">
604 <property name="alternatingRowColors">
605 <bool>true</bool>
606 </property>
607 <property name="selectionMode">
608 <enum>QAbstractItemView::NoSelection</enum>
609 </property>
610 </widget>
611 </item>
612 <item row="3" column="0">
613 <widget class="QLabel" name="textLabel1_3_2">
614 <property name="text">
615 <string>Command:</string>
616 </property>
617 </widget>
618 </item>
619 <item row="3" column="1">
620 <widget class="QLineEdit" name="editCmdLineOpt">
621 <property name="whatsThis">
622 <string>This is the command which will be executed to initialize configured options.</string>
623 </property>
624 <property name="readOnly">
625 <bool>true</bool>
626 </property>
627 </widget>
628 </item>
629 </layout>
630 </widget>
631 </item>
632 </layout>
633 </widget>
634 </widget>
635 </item>
636 <item>
637 <widget class="QDialogButtonBox" name="buttonBox">
638 <property name="standardButtons">
639 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
640 </property>
641 <property name="centerButtons">
642 <bool>false</bool>
643 </property>
644 </widget>
645 </item>
646 </layout>
647 </item>
648 </layout>
649 </widget>
650 <resources/>
651 <connections>
652 <connection>
653 <sender>listWidget</sender>
654 <signal>currentRowChanged(int)</signal>
655 <receiver>stackedWidget</receiver>
656 <slot>setCurrentIndex(int)</slot>
657 <hints>
658 <hint type="sourcelabel">
659 <x>143</x>
660 <y>34</y>
661 </hint>
662 <hint type="destinationlabel">
663 <x>617</x>
664 <y>43</y>
665 </hint>
666 </hints>
667 </connection>
668 </connections>
669 </ui>