cosmetix in ui
[jrugr.git] / src / ui / configwin.ui
blob5efb2540b5c5d298f07d83a8e1d9d23d9f60a40c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ConfigForm</class>
4 <widget class="QWidget" name="ConfigForm">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>711</width>
10 <height>454</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Jrugr 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="pgLayout">
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="rbUseXkb">
68 <property name="toolTip">
69 <string>Jrugr 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="rbIndicator">
78 <property name="toolTip">
79 <string>Jrugr will start indicator but will use existing layout configuration</string>
80 </property>
81 <property name="text">
82 <string>Indicator &amp;only</string>
83 </property>
84 <property name="checked">
85 <bool>true</bool>
86 </property>
87 </widget>
88 </item>
89 <item>
90 <widget class="QRadioButton" name="rbNoXkb">
91 <property name="enabled">
92 <bool>false</bool>
93 </property>
94 <property name="toolTip">
95 <string>Jrugr will not configure or show keyboard layouts</string>
96 </property>
97 <property name="text">
98 <string>&amp;Disable keyboard layouts</string>
99 </property>
100 <property name="checked">
101 <bool>false</bool>
102 </property>
103 </widget>
104 </item>
105 </layout>
106 </widget>
107 </item>
108 <item>
109 <widget class="QGroupBox" name="grpIndicatorOptions">
110 <property name="title">
111 <string>Indicator Options</string>
112 </property>
113 <layout class="QHBoxLayout" name="_2">
114 <property name="topMargin">
115 <number>0</number>
116 </property>
117 <property name="bottomMargin">
118 <number>0</number>
119 </property>
120 <item>
121 <widget class="QCheckBox" name="chkShowFlag">
122 <property name="whatsThis">
123 <string>Shows country flag on background of layout name in tray icon</string>
124 </property>
125 <property name="text">
126 <string>Show country &amp;flag</string>
127 </property>
128 <property name="checked">
129 <bool>true</bool>
130 </property>
131 </widget>
132 </item>
133 <item>
134 <widget class="QCheckBox" name="chkShowSingle">
135 <property name="enabled">
136 <bool>false</bool>
137 </property>
138 <property name="text">
139 <string>Show indicator for &amp;single layout</string>
140 </property>
141 <property name="checked">
142 <bool>true</bool>
143 </property>
144 </widget>
145 </item>
146 <item>
147 <widget class="QCheckBox" name="chkMPHack">
148 <property name="text">
149 <string>&amp;MPlayer hack</string>
150 </property>
151 </widget>
152 </item>
153 </layout>
154 </widget>
155 </item>
156 <item>
157 <widget class="QGroupBox" name="grpLayouts">
158 <property name="whatsThis">
159 <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>
160 </property>
161 <property name="title">
162 <string/>
163 </property>
164 <layout class="QGridLayout" name="gridLayout">
165 <item row="0" column="0">
166 <widget class="QLabel" name="label_4">
167 <property name="sizePolicy">
168 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
169 <horstretch>1</horstretch>
170 <verstretch>0</verstretch>
171 </sizepolicy>
172 </property>
173 <property name="text">
174 <string>Keyboard &amp;model:</string>
175 </property>
176 <property name="buddy">
177 <cstring>comboModel</cstring>
178 </property>
179 </widget>
180 </item>
181 <item row="0" column="1">
182 <widget class="QComboBox" name="comboModel">
183 <property name="sizePolicy">
184 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
185 <horstretch>2</horstretch>
186 <verstretch>0</verstretch>
187 </sizepolicy>
188 </property>
189 <property name="whatsThis">
190 <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.
191 </string>
192 </property>
193 </widget>
194 </item>
195 <item row="1" column="0" colspan="2">
196 <widget class="QSplitter" name="splitter">
197 <property name="orientation">
198 <enum>Qt::Horizontal</enum>
199 </property>
200 <widget class="QWidget" name="layoutWidget0">
201 <layout class="QVBoxLayout" name="verticalLayout_5">
202 <item>
203 <layout class="QHBoxLayout" name="_4">
204 <item>
205 <widget class="QLabel" name="textLabel1_4">
206 <property name="sizePolicy">
207 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
208 <horstretch>1</horstretch>
209 <verstretch>0</verstretch>
210 </sizepolicy>
211 </property>
212 <property name="text">
213 <string>Available layouts:</string>
214 </property>
215 <property name="alignment">
216 <set>Qt::AlignCenter</set>
217 </property>
218 <property name="buddy">
219 <cstring>srcTableView</cstring>
220 </property>
221 </widget>
222 </item>
223 <item>
224 <widget class="QToolButton" name="btnRemove">
225 <property name="text">
226 <string>...</string>
227 </property>
228 </widget>
229 </item>
230 </layout>
231 </item>
232 <item>
233 <widget class="QTreeView" name="srcTableView">
234 <property name="sizePolicy">
235 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
236 <horstretch>1</horstretch>
237 <verstretch>0</verstretch>
238 </sizepolicy>
239 </property>
240 <property name="alternatingRowColors">
241 <bool>true</bool>
242 </property>
243 <property name="selectionMode">
244 <enum>QAbstractItemView::SingleSelection</enum>
245 </property>
246 <property name="selectionBehavior">
247 <enum>QAbstractItemView::SelectRows</enum>
248 </property>
249 </widget>
250 </item>
251 </layout>
252 </widget>
253 <widget class="QWidget" name="layoutWidget1">
254 <layout class="QVBoxLayout" name="verticalLayout_7">
255 <item>
256 <layout class="QHBoxLayout" name="_5">
257 <property name="spacing">
258 <number>0</number>
259 </property>
260 <item>
261 <widget class="QToolButton" name="btnAdd">
262 <property name="text">
263 <string>...</string>
264 </property>
265 </widget>
266 </item>
267 <item>
268 <widget class="QLabel" name="textLabel1_4_2">
269 <property name="sizePolicy">
270 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
271 <horstretch>3</horstretch>
272 <verstretch>0</verstretch>
273 </sizepolicy>
274 </property>
275 <property name="text">
276 <string>Active layouts:</string>
277 </property>
278 <property name="alignment">
279 <set>Qt::AlignCenter</set>
280 </property>
281 <property name="buddy">
282 <cstring>dstTableView</cstring>
283 </property>
284 </widget>
285 </item>
286 </layout>
287 </item>
288 <item>
289 <layout class="QHBoxLayout" name="_6">
290 <property name="spacing">
291 <number>0</number>
292 </property>
293 <item>
294 <widget class="QTreeView" name="dstTableView">
295 <property name="sizePolicy">
296 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
297 <horstretch>0</horstretch>
298 <verstretch>0</verstretch>
299 </sizepolicy>
300 </property>
301 <property name="alternatingRowColors">
302 <bool>true</bool>
303 </property>
304 <property name="selectionMode">
305 <enum>QAbstractItemView::SingleSelection</enum>
306 </property>
307 <property name="selectionBehavior">
308 <enum>QAbstractItemView::SelectRows</enum>
309 </property>
310 <property name="wordWrap">
311 <bool>false</bool>
312 </property>
313 </widget>
314 </item>
315 <item>
316 <layout class="QVBoxLayout" name="_7">
317 <item>
318 <widget class="QToolButton" name="btnUp">
319 <property name="text">
320 <string>...</string>
321 </property>
322 </widget>
323 </item>
324 <item>
325 <spacer>
326 <property name="orientation">
327 <enum>Qt::Vertical</enum>
328 </property>
329 <property name="sizeHint" stdset="0">
330 <size>
331 <width>20</width>
332 <height>40</height>
333 </size>
334 </property>
335 </spacer>
336 </item>
337 <item>
338 <widget class="QToolButton" name="btnDown">
339 <property name="text">
340 <string>...</string>
341 </property>
342 </widget>
343 </item>
344 </layout>
345 </item>
346 </layout>
347 </item>
348 </layout>
349 </widget>
350 </widget>
351 </item>
352 <item row="2" column="0" colspan="2">
353 <layout class="QHBoxLayout" name="_8">
354 <item>
355 <widget class="QLabel" name="textLabel1">
356 <property name="text">
357 <string>Layout variant:</string>
358 </property>
359 <property name="buddy">
360 <cstring>comboVariant</cstring>
361 </property>
362 </widget>
363 </item>
364 <item>
365 <widget class="QComboBox" name="comboVariant">
366 <property name="sizePolicy">
367 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
368 <horstretch>0</horstretch>
369 <verstretch>0</verstretch>
370 </sizepolicy>
371 </property>
372 <property name="whatsThis">
373 <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).
374 </string>
375 </property>
376 </widget>
377 </item>
378 <item>
379 <widget class="QLabel" name="textLabel1_6">
380 <property name="text">
381 <string>Label:</string>
382 </property>
383 <property name="buddy">
384 <cstring>editDisplayName</cstring>
385 </property>
386 </widget>
387 </item>
388 <item>
389 <widget class="QLineEdit" name="editDisplayName">
390 <property name="maxLength">
391 <number>3</number>
392 </property>
393 </widget>
394 </item>
395 </layout>
396 </item>
397 <item row="3" column="0">
398 <widget class="QLabel" name="textLabel1_3">
399 <property name="sizePolicy">
400 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
401 <horstretch>1</horstretch>
402 <verstretch>0</verstretch>
403 </sizepolicy>
404 </property>
405 <property name="text">
406 <string>Com&amp;mand:</string>
407 </property>
408 <property name="buddy">
409 <cstring>editCmdLine</cstring>
410 </property>
411 </widget>
412 </item>
413 <item row="3" column="1">
414 <widget class="QLineEdit" name="editCmdLine">
415 <property name="sizePolicy">
416 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
417 <horstretch>2</horstretch>
418 <verstretch>0</verstretch>
419 </sizepolicy>
420 </property>
421 <property name="whatsThis">
422 <string>This is the command which will be executed to initialize configured layouts.</string>
423 </property>
424 <property name="readOnly">
425 <bool>true</bool>
426 </property>
427 </widget>
428 </item>
429 </layout>
430 </widget>
431 </item>
432 </layout>
433 </widget>
434 <widget class="QWidget" name="pgPolicy">
435 <layout class="QVBoxLayout" name="verticalLayout_2">
436 <item>
437 <widget class="QFrame" name="optionsFrame">
438 <property name="frameShape">
439 <enum>QFrame::StyledPanel</enum>
440 </property>
441 <property name="frameShadow">
442 <enum>QFrame::Raised</enum>
443 </property>
444 <property name="lineWidth">
445 <number>0</number>
446 </property>
447 <layout class="QGridLayout" name="_9">
448 <item row="0" column="0">
449 <widget class="QGroupBox" name="groupBox_3">
450 <property name="enabled">
451 <bool>true</bool>
452 </property>
453 <property name="title">
454 <string>Switshing policy</string>
455 </property>
456 <layout class="QVBoxLayout" name="verticalLayout_4">
457 <item>
458 <widget class="QRadioButton" name="rbPolicyGlobal">
459 <property name="text">
460 <string>&amp;Global</string>
461 </property>
462 <property name="checked">
463 <bool>true</bool>
464 </property>
465 </widget>
466 </item>
467 <item>
468 <widget class="QRadioButton" name="rbPolicyDesk">
469 <property name="text">
470 <string>Desktop</string>
471 </property>
472 </widget>
473 </item>
474 <item>
475 <widget class="QRadioButton" name="rbPolicyApp">
476 <property name="text">
477 <string>Application</string>
478 </property>
479 </widget>
480 </item>
481 <item>
482 <widget class="QRadioButton" name="rbPolicyWin">
483 <property name="text">
484 <string>&amp;Window</string>
485 </property>
486 </widget>
487 </item>
488 </layout>
489 <zorder>rbPolicyGlobal</zorder>
490 <zorder>rbPolicyApp</zorder>
491 <zorder>rbPolicyDesk</zorder>
492 <zorder>rbPolicyWin</zorder>
493 </widget>
494 </item>
495 <item row="3" column="0">
496 <spacer>
497 <property name="orientation">
498 <enum>Qt::Vertical</enum>
499 </property>
500 <property name="sizeHint" stdset="0">
501 <size>
502 <width>20</width>
503 <height>40</height>
504 </size>
505 </property>
506 </spacer>
507 </item>
508 <item row="1" column="1" rowspan="2">
509 <layout class="QHBoxLayout" name="horizontalLayout_3"/>
510 </item>
511 </layout>
512 </widget>
513 </item>
514 </layout>
515 </widget>
516 <widget class="QWidget" name="pgXkb">
517 <layout class="QVBoxLayout" name="verticalLayout_3">
518 <item>
519 <widget class="QGroupBox" name="groupBox3_2">
520 <property name="whatsThis">
521 <string>Here you can set xkb extension options instead of, or in addition to, specifying them in the X11 configuration file.</string>
522 </property>
523 <property name="title">
524 <string>Xkb Options</string>
525 </property>
526 <layout class="QGridLayout" name="_12">
527 <item row="0" column="0" colspan="2">
528 <widget class="QCheckBox" name="chkResetOld">
529 <property name="text">
530 <string>&amp;Reset old options</string>
531 </property>
532 <property name="checked">
533 <bool>true</bool>
534 </property>
535 </widget>
536 </item>
537 <item row="2" column="0" colspan="2">
538 <widget class="QTreeView" name="xkbOptionsTreeView">
539 <property name="alternatingRowColors">
540 <bool>true</bool>
541 </property>
542 <property name="selectionMode">
543 <enum>QAbstractItemView::NoSelection</enum>
544 </property>
545 </widget>
546 </item>
547 <item row="3" column="0">
548 <widget class="QLabel" name="textLabel1_3_2">
549 <property name="text">
550 <string>Command:</string>
551 </property>
552 </widget>
553 </item>
554 <item row="3" column="1">
555 <widget class="QLineEdit" name="editCmdLineOpt">
556 <property name="whatsThis">
557 <string>This is the command which will be executed to initialize configured options.</string>
558 </property>
559 <property name="readOnly">
560 <bool>true</bool>
561 </property>
562 </widget>
563 </item>
564 </layout>
565 </widget>
566 </item>
567 </layout>
568 </widget>
569 </widget>
570 </item>
571 <item>
572 <widget class="QDialogButtonBox" name="buttonBox">
573 <property name="standardButtons">
574 <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set>
575 </property>
576 <property name="centerButtons">
577 <bool>false</bool>
578 </property>
579 </widget>
580 </item>
581 </layout>
582 </item>
583 </layout>
584 </widget>
585 <resources/>
586 <connections>
587 <connection>
588 <sender>listWidget</sender>
589 <signal>currentRowChanged(int)</signal>
590 <receiver>stackedWidget</receiver>
591 <slot>setCurrentIndex(int)</slot>
592 <hints>
593 <hint type="sourcelabel">
594 <x>143</x>
595 <y>34</y>
596 </hint>
597 <hint type="destinationlabel">
598 <x>617</x>
599 <y>43</y>
600 </hint>
601 </hints>
602 </connection>
603 </connections>
604 </ui>