1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>ConfigForm
</class>
4 <widget class=
"QWidget" name=
"ConfigForm">
5 <property name=
"geometry">
13 <property name=
"windowTitle">
14 <string>Jrugr XKB
</string>
16 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
18 <widget class=
"QListWidget" name=
"listWidget">
19 <property name=
"minimumSize">
25 <property name=
"alternatingRowColors">
28 <property name=
"currentRow">
32 <property name=
"text">
33 <string>Layout
</string>
37 <property name=
"text">
38 <string>Switching options
</string>
42 <property name=
"text">
43 <string>XKB options
</string>
49 <layout class=
"QVBoxLayout" name=
"verticalLayout_6">
51 <widget class=
"QStackedWidget" name=
"stackedWidget">
52 <property name=
"currentIndex">
55 <widget class=
"QWidget" name=
"pgLayout">
56 <layout class=
"QVBoxLayout" name=
"verticalLayout">
58 <widget class=
"QGroupBox" name=
"groupBox_2">
59 <property name=
"title">
62 <property name=
"checkable">
65 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
67 <widget class=
"QRadioButton" name=
"rbUseXkb">
68 <property name=
"toolTip">
69 <string>Jrugr will configure layouts and start layout indicator
</string>
71 <property name=
"text">
72 <string>&Enable keyboard layouts
</string>
77 <widget class=
"QRadioButton" name=
"rbIndicator">
78 <property name=
"toolTip">
79 <string>Jrugr will start indicator but will use existing layout configuration
</string>
81 <property name=
"text">
82 <string>Indicator
&only
</string>
84 <property name=
"checked">
90 <widget class=
"QRadioButton" name=
"rbNoXkb">
91 <property name=
"enabled">
94 <property name=
"toolTip">
95 <string>Jrugr will not configure or show keyboard layouts
</string>
97 <property name=
"text">
98 <string>&Disable keyboard layouts
</string>
100 <property name=
"checked">
109 <widget class=
"QGroupBox" name=
"grpIndicatorOptions">
110 <property name=
"title">
111 <string>Indicator Options
</string>
113 <layout class=
"QHBoxLayout" name=
"_2">
114 <property name=
"topMargin">
117 <property name=
"bottomMargin">
121 <widget class=
"QCheckBox" name=
"chkShowFlag">
122 <property name=
"whatsThis">
123 <string>Shows country flag on background of layout name in tray icon
</string>
125 <property name=
"text">
126 <string>Show country
&flag
</string>
128 <property name=
"checked">
134 <widget class=
"QCheckBox" name=
"chkShowSingle">
135 <property name=
"enabled">
138 <property name=
"text">
139 <string>Show indicator for
&single layout
</string>
141 <property name=
"checked">
147 <widget class=
"QCheckBox" name=
"chkMPHack">
148 <property name=
"text">
149 <string>&MPlayer hack
</string>
157 <widget class=
"QGroupBox" name=
"grpLayouts">
158 <property name=
"whatsThis">
159 <string><h1
>Keyboard Layout
</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>
161 <property name=
"title">
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>
173 <property name=
"text">
174 <string>Keyboard
&model:
</string>
176 <property name=
"buddy">
177 <cstring>comboModel
</cstring>
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>
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
"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.
195 <item row=
"1" column=
"0" colspan=
"2">
196 <widget class=
"QSplitter" name=
"splitter">
197 <property name=
"orientation">
198 <enum>Qt::Horizontal
</enum>
200 <widget class=
"QWidget" name=
"layoutWidget0">
201 <layout class=
"QVBoxLayout" name=
"verticalLayout_5">
203 <layout class=
"QHBoxLayout" name=
"_4">
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>
212 <property name=
"text">
213 <string>Available layouts:
</string>
215 <property name=
"alignment">
216 <set>Qt::AlignCenter
</set>
218 <property name=
"buddy">
219 <cstring>srcTableView
</cstring>
224 <widget class=
"QToolButton" name=
"btnRemove">
225 <property name=
"text">
233 <widget class=
"QTreeView" name=
"srcTableView">
234 <property name=
"sizePolicy">
235 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Expanding">
236 <horstretch>1</horstretch>
237 <verstretch>0</verstretch>
240 <property name=
"alternatingRowColors">
243 <property name=
"selectionMode">
244 <enum>QAbstractItemView::SingleSelection
</enum>
246 <property name=
"selectionBehavior">
247 <enum>QAbstractItemView::SelectRows
</enum>
253 <widget class=
"QWidget" name=
"layoutWidget1">
254 <layout class=
"QVBoxLayout" name=
"verticalLayout_7">
256 <layout class=
"QHBoxLayout" name=
"_5">
257 <property name=
"spacing">
261 <widget class=
"QToolButton" name=
"btnAdd">
262 <property name=
"text">
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>
275 <property name=
"text">
276 <string>Active layouts:
</string>
278 <property name=
"alignment">
279 <set>Qt::AlignCenter
</set>
281 <property name=
"buddy">
282 <cstring>dstTableView
</cstring>
289 <layout class=
"QHBoxLayout" name=
"_6">
290 <property name=
"spacing">
294 <widget class=
"QTreeView" name=
"dstTableView">
295 <property name=
"sizePolicy">
296 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Expanding">
297 <horstretch>0</horstretch>
298 <verstretch>0</verstretch>
301 <property name=
"alternatingRowColors">
304 <property name=
"selectionMode">
305 <enum>QAbstractItemView::SingleSelection
</enum>
307 <property name=
"selectionBehavior">
308 <enum>QAbstractItemView::SelectRows
</enum>
310 <property name=
"wordWrap">
316 <layout class=
"QVBoxLayout" name=
"_7">
318 <widget class=
"QToolButton" name=
"btnUp">
319 <property name=
"text">
326 <property name=
"orientation">
327 <enum>Qt::Vertical
</enum>
329 <property name=
"sizeHint" stdset=
"0">
338 <widget class=
"QToolButton" name=
"btnDown">
339 <property name=
"text">
352 <item row=
"2" column=
"0" colspan=
"2">
353 <layout class=
"QHBoxLayout" name=
"_8">
355 <widget class=
"QLabel" name=
"textLabel1">
356 <property name=
"text">
357 <string>Layout variant:
</string>
359 <property name=
"buddy">
360 <cstring>comboVariant
</cstring>
365 <widget class=
"QComboBox" name=
"comboVariant">
366 <property name=
"sizePolicy">
367 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Fixed">
368 <horstretch>0</horstretch>
369 <verstretch>0</verstretch>
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).
379 <widget class=
"QLabel" name=
"textLabel1_6">
380 <property name=
"text">
381 <string>Label:
</string>
383 <property name=
"buddy">
384 <cstring>editDisplayName
</cstring>
389 <widget class=
"QLineEdit" name=
"editDisplayName">
390 <property name=
"maxLength">
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>
405 <property name=
"text">
406 <string>Com
&mand:
</string>
408 <property name=
"buddy">
409 <cstring>editCmdLine
</cstring>
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>
421 <property name=
"whatsThis">
422 <string>This is the command which will be executed to initialize configured layouts.
</string>
424 <property name=
"readOnly">
434 <widget class=
"QWidget" name=
"pgPolicy">
435 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
437 <widget class=
"QFrame" name=
"optionsFrame">
438 <property name=
"frameShape">
439 <enum>QFrame::StyledPanel
</enum>
441 <property name=
"frameShadow">
442 <enum>QFrame::Raised
</enum>
444 <property name=
"lineWidth">
447 <layout class=
"QGridLayout" name=
"_9">
448 <item row=
"0" column=
"0">
449 <widget class=
"QGroupBox" name=
"groupBox_3">
450 <property name=
"enabled">
453 <property name=
"title">
454 <string>Switshing policy
</string>
456 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
458 <widget class=
"QRadioButton" name=
"rbPolicyGlobal">
459 <property name=
"text">
460 <string>&Global
</string>
462 <property name=
"checked">
468 <widget class=
"QRadioButton" name=
"rbPolicyDesk">
469 <property name=
"text">
470 <string>Desktop
</string>
475 <widget class=
"QRadioButton" name=
"rbPolicyApp">
476 <property name=
"text">
477 <string>Application
</string>
482 <widget class=
"QRadioButton" name=
"rbPolicyWin">
483 <property name=
"text">
484 <string>&Window
</string>
489 <zorder>rbPolicyGlobal
</zorder>
490 <zorder>rbPolicyApp
</zorder>
491 <zorder>rbPolicyDesk
</zorder>
492 <zorder>rbPolicyWin
</zorder>
495 <item row=
"3" column=
"0">
497 <property name=
"orientation">
498 <enum>Qt::Vertical
</enum>
500 <property name=
"sizeHint" stdset=
"0">
508 <item row=
"1" column=
"1" rowspan=
"2">
509 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3"/>
516 <widget class=
"QWidget" name=
"pgXkb">
517 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
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>
523 <property name=
"title">
524 <string>Xkb Options
</string>
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>&Reset old options
</string>
532 <property name=
"checked">
537 <item row=
"2" column=
"0" colspan=
"2">
538 <widget class=
"QTreeView" name=
"xkbOptionsTreeView">
539 <property name=
"alternatingRowColors">
542 <property name=
"selectionMode">
543 <enum>QAbstractItemView::NoSelection
</enum>
547 <item row=
"3" column=
"0">
548 <widget class=
"QLabel" name=
"textLabel1_3_2">
549 <property name=
"text">
550 <string>Command:
</string>
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>
559 <property name=
"readOnly">
572 <widget class=
"QDialogButtonBox" name=
"buttonBox">
573 <property name=
"standardButtons">
574 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save
</set>
576 <property name=
"centerButtons">
588 <sender>listWidget
</sender>
589 <signal>currentRowChanged(int)
</signal>
590 <receiver>stackedWidget
</receiver>
591 <slot>setCurrentIndex(int)
</slot>
593 <hint type=
"sourcelabel">
597 <hint type=
"destinationlabel">