~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to kcontrol/keyboard/kcm_keyboard.ui

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>TabWidget</class>
 
4
 <widget class="QTabWidget" name="TabWidget">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>667</width>
 
10
    <height>485</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="currentIndex">
 
14
   <number>1</number>
 
15
  </property>
 
16
  <widget class="QWidget" name="tabHardware">
 
17
   <attribute name="title">
 
18
    <string>Hardware</string>
 
19
   </attribute>
 
20
   <layout class="QFormLayout" name="formLayout">
 
21
    <item row="0" column="0">
 
22
     <widget class="QLabel" name="label_4">
 
23
      <property name="sizePolicy">
 
24
       <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
 
25
        <horstretch>1</horstretch>
 
26
        <verstretch>0</verstretch>
 
27
       </sizepolicy>
 
28
      </property>
 
29
      <property name="text">
 
30
       <string>Keyboard &amp;model:</string>
 
31
      </property>
 
32
      <property name="alignment">
 
33
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
34
      </property>
 
35
      <property name="buddy">
 
36
       <cstring>keyboardModelComboBox</cstring>
 
37
      </property>
 
38
     </widget>
 
39
    </item>
 
40
    <item row="0" column="1">
 
41
     <widget class="QComboBox" name="keyboardModelComboBox">
 
42
      <property name="sizePolicy">
 
43
       <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 
44
        <horstretch>2</horstretch>
 
45
        <verstretch>0</verstretch>
 
46
       </sizepolicy>
 
47
      </property>
 
48
      <property name="whatsThis">
 
49
       <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.
 
50
</string>
 
51
      </property>
 
52
      <property name="maxVisibleItems">
 
53
       <number>15</number>
 
54
      </property>
 
55
      <property name="sizeAdjustPolicy">
 
56
       <enum>QComboBox::AdjustToContentsOnFirstShow</enum>
 
57
      </property>
 
58
     </widget>
 
59
    </item>
 
60
    <item row="1" column="0" colspan="2">
 
61
     <widget class="QWidget" name="lowerHardwareWidget" native="true">
 
62
      <property name="sizePolicy">
 
63
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 
64
        <horstretch>1</horstretch>
 
65
        <verstretch>1</verstretch>
 
66
       </sizepolicy>
 
67
      </property>
 
68
      <property name="minimumSize">
 
69
       <size>
 
70
        <width>0</width>
 
71
        <height>100</height>
 
72
       </size>
 
73
      </property>
 
74
      <property name="baseSize">
 
75
       <size>
 
76
        <width>0</width>
 
77
        <height>0</height>
 
78
       </size>
 
79
      </property>
 
80
      <layout class="QVBoxLayout" name="verticalLayout_2">
 
81
       <property name="margin">
 
82
        <number>0</number>
 
83
       </property>
 
84
      </layout>
 
85
     </widget>
 
86
    </item>
 
87
   </layout>
 
88
  </widget>
 
89
  <widget class="QWidget" name="tabLayouts">
 
90
   <attribute name="title">
 
91
    <string>Layouts</string>
 
92
   </attribute>
 
93
   <layout class="QGridLayout" name="gridLayout_2">
 
94
    <item row="0" column="0">
 
95
     <layout class="QHBoxLayout" name="horizontalLayout_3">
 
96
      <item>
 
97
       <widget class="KButtonGroup" name="kbuttongroup">
 
98
        <property name="title">
 
99
         <string>Layout Indicator</string>
 
100
        </property>
 
101
        <layout class="QGridLayout" name="gridLayout_3">
 
102
         <item row="0" column="0">
 
103
          <widget class="QCheckBox" name="showIndicatorChk">
 
104
           <property name="text">
 
105
            <string>Show layout indicator</string>
 
106
           </property>
 
107
          </widget>
 
108
         </item>
 
109
         <item row="1" column="0">
 
110
          <widget class="QCheckBox" name="showSingleChk">
 
111
           <property name="text">
 
112
            <string>Show for single layout</string>
 
113
           </property>
 
114
          </widget>
 
115
         </item>
 
116
         <item row="2" column="0">
 
117
          <widget class="QRadioButton" name="showFlagRadioBtn">
 
118
           <property name="text">
 
119
            <string>Show flag</string>
 
120
           </property>
 
121
          </widget>
 
122
         </item>
 
123
         <item row="3" column="0">
 
124
          <widget class="QRadioButton" name="showLabelRadioBtn">
 
125
           <property name="text">
 
126
            <string>Show label</string>
 
127
           </property>
 
128
          </widget>
 
129
         </item>
 
130
        </layout>
 
131
       </widget>
 
132
      </item>
 
133
      <item>
 
134
       <widget class="KButtonGroup" name="switchingPolicyButtonGroup">
 
135
        <property name="whatsThis">
 
136
         <string>If you select &quot;Application&quot; or &quot;Window&quot; switching policy, changing the keyboard layout will only affect the current application or window.</string>
 
137
        </property>
 
138
        <property name="title">
 
139
         <string>Switching Policy</string>
 
140
        </property>
 
141
        <layout class="QGridLayout">
 
142
         <item row="0" column="0">
 
143
          <widget class="QRadioButton" name="switchByGlobalRadioBtn">
 
144
           <property name="text">
 
145
            <string>&amp;Global</string>
 
146
           </property>
 
147
           <property name="checked">
 
148
            <bool>true</bool>
 
149
           </property>
 
150
          </widget>
 
151
         </item>
 
152
         <item row="1" column="0">
 
153
          <widget class="QRadioButton" name="switchByDesktopRadioBtn">
 
154
           <property name="text">
 
155
            <string>&amp;Desktop</string>
 
156
           </property>
 
157
          </widget>
 
158
         </item>
 
159
         <item row="2" column="0">
 
160
          <widget class="QRadioButton" name="switchByApplicationRadioBtn">
 
161
           <property name="text">
 
162
            <string>&amp;Application</string>
 
163
           </property>
 
164
          </widget>
 
165
         </item>
 
166
         <item row="3" column="0">
 
167
          <widget class="QRadioButton" name="switchByWindowRadioBtn">
 
168
           <property name="text">
 
169
            <string>&amp;Window</string>
 
170
           </property>
 
171
          </widget>
 
172
         </item>
 
173
        </layout>
 
174
       </widget>
 
175
      </item>
 
176
      <item>
 
177
       <widget class="QGroupBox" name="shortcutsGroupBox">
 
178
        <property name="title">
 
179
         <string>Shortcuts for Switching Layout</string>
 
180
        </property>
 
181
        <layout class="QGridLayout" name="_2">
 
182
         <item row="0" column="0">
 
183
          <widget class="QLabel" name="label">
 
184
           <property name="text">
 
185
            <string>Main shortcuts:</string>
 
186
           </property>
 
187
           <property name="alignment">
 
188
            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
189
           </property>
 
190
           <property name="buddy">
 
191
            <cstring>xkbGrpShortcutBtn</cstring>
 
192
           </property>
 
193
          </widget>
 
194
         </item>
 
195
         <item row="0" column="1">
 
196
          <widget class="QPushButton" name="xkbGrpShortcutBtn">
 
197
           <property name="whatsThis">
 
198
            <string>This is a shortcut for switching layouts which is handled by X.org. It allows modifier-only shortcuts.</string>
 
199
           </property>
 
200
           <property name="text">
 
201
            <string comment="no shortcut defined">None</string>
 
202
           </property>
 
203
          </widget>
 
204
         </item>
 
205
         <item row="0" column="2">
 
206
          <widget class="QToolButton" name="xkbGrpClearBtn">
 
207
           <property name="text">
 
208
            <string>...</string>
 
209
           </property>
 
210
          </widget>
 
211
         </item>
 
212
         <item row="1" column="0">
 
213
          <widget class="QLabel" name="label_3">
 
214
           <property name="text">
 
215
            <string>3rd level shortcuts:</string>
 
216
           </property>
 
217
           <property name="alignment">
 
218
            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
219
           </property>
 
220
           <property name="buddy">
 
221
            <cstring>xkb3rdLevelShortcutBtn</cstring>
 
222
           </property>
 
223
          </widget>
 
224
         </item>
 
225
         <item row="1" column="1">
 
226
          <widget class="QPushButton" name="xkb3rdLevelShortcutBtn">
 
227
           <property name="whatsThis">
 
228
            <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>
 
229
           </property>
 
230
           <property name="text">
 
231
            <string comment="no shortcut defined">None</string>
 
232
           </property>
 
233
          </widget>
 
234
         </item>
 
235
         <item row="1" column="2">
 
236
          <widget class="QToolButton" name="xkb3rdLevelClearBtn">
 
237
           <property name="text">
 
238
            <string>...</string>
 
239
           </property>
 
240
          </widget>
 
241
         </item>
 
242
         <item row="2" column="0">
 
243
          <widget class="QLabel" name="label_2">
 
244
           <property name="text">
 
245
            <string>Alternative shortcut:</string>
 
246
           </property>
 
247
           <property name="alignment">
 
248
            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
249
           </property>
 
250
           <property name="buddy">
 
251
            <cstring>kdeKeySequence</cstring>
 
252
           </property>
 
253
          </widget>
 
254
         </item>
 
255
         <item row="2" column="1" colspan="2">
 
256
          <widget class="KKeySequenceWidget" name="kdeKeySequence">
 
257
           <property name="whatsThis">
 
258
            <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>
 
259
           </property>
 
260
           <property name="multiKeyShortcutsAllowed">
 
261
            <bool>false</bool>
 
262
           </property>
 
263
          </widget>
 
264
         </item>
 
265
        </layout>
 
266
       </widget>
 
267
      </item>
 
268
     </layout>
 
269
    </item>
 
270
    <item row="1" column="0">
 
271
     <widget class="QGroupBox" name="layoutsGroupBox">
 
272
      <property name="enabled">
 
273
       <bool>true</bool>
 
274
      </property>
 
275
      <property name="title">
 
276
       <string>Configure layouts</string>
 
277
      </property>
 
278
      <property name="flat">
 
279
       <bool>false</bool>
 
280
      </property>
 
281
      <property name="checkable">
 
282
       <bool>true</bool>
 
283
      </property>
 
284
      <layout class="QGridLayout" name="gridLayout_5">
 
285
       <item row="0" column="0" colspan="2">
 
286
        <layout class="QHBoxLayout" name="horizontalLayout">
 
287
         <item>
 
288
          <widget class="QPushButton" name="addLayoutBtn">
 
289
           <property name="text">
 
290
            <string>Add</string>
 
291
           </property>
 
292
          </widget>
 
293
         </item>
 
294
         <item>
 
295
          <widget class="QPushButton" name="removeLayoutBtn">
 
296
           <property name="enabled">
 
297
            <bool>false</bool>
 
298
           </property>
 
299
           <property name="text">
 
300
            <string>Remove</string>
 
301
           </property>
 
302
          </widget>
 
303
         </item>
 
304
         <item>
 
305
          <widget class="QPushButton" name="moveUpBtn">
 
306
           <property name="enabled">
 
307
            <bool>false</bool>
 
308
           </property>
 
309
           <property name="text">
 
310
            <string>Move Up</string>
 
311
           </property>
 
312
          </widget>
 
313
         </item>
 
314
         <item>
 
315
          <widget class="QPushButton" name="moveDownBtn">
 
316
           <property name="enabled">
 
317
            <bool>false</bool>
 
318
           </property>
 
319
           <property name="text">
 
320
            <string>Move Down</string>
 
321
           </property>
 
322
          </widget>
 
323
         </item>
 
324
         <item>
 
325
          <spacer name="horizontalSpacer">
 
326
           <property name="orientation">
 
327
            <enum>Qt::Horizontal</enum>
 
328
           </property>
 
329
           <property name="sizeHint" stdset="0">
 
330
            <size>
 
331
             <width>40</width>
 
332
             <height>20</height>
 
333
            </size>
 
334
           </property>
 
335
          </spacer>
 
336
         </item>
 
337
        </layout>
 
338
       </item>
 
339
       <item row="1" column="0" colspan="2">
 
340
        <widget class="QTableView" name="layoutsTableView">
 
341
         <property name="selectionBehavior">
 
342
          <enum>QAbstractItemView::SelectRows</enum>
 
343
         </property>
 
344
         <property name="showGrid">
 
345
          <bool>false</bool>
 
346
         </property>
 
347
         <attribute name="verticalHeaderVisible">
 
348
          <bool>false</bool>
 
349
         </attribute>
 
350
        </widget>
 
351
       </item>
 
352
       <item row="2" column="0" colspan="2">
 
353
        <widget class="QCheckBox" name="layoutLoopingCheckBox">
 
354
         <property name="text">
 
355
          <string>Spare layouts</string>
 
356
         </property>
 
357
        </widget>
 
358
       </item>
 
359
       <item row="3" column="0">
 
360
        <spacer name="horizontalSpacer_2">
 
361
         <property name="orientation">
 
362
          <enum>Qt::Horizontal</enum>
 
363
         </property>
 
364
         <property name="sizeType">
 
365
          <enum>QSizePolicy::Fixed</enum>
 
366
         </property>
 
367
         <property name="sizeHint" stdset="0">
 
368
          <size>
 
369
           <width>15</width>
 
370
           <height>20</height>
 
371
          </size>
 
372
         </property>
 
373
        </spacer>
 
374
       </item>
 
375
       <item row="3" column="1">
 
376
        <widget class="QGroupBox" name="layoutLoopingGroupBox">
 
377
         <property name="title">
 
378
          <string/>
 
379
         </property>
 
380
         <property name="flat">
 
381
          <bool>true</bool>
 
382
         </property>
 
383
         <layout class="QGridLayout" name="gridLayout_4">
 
384
          <item row="0" column="0">
 
385
           <widget class="QLabel" name="label_5">
 
386
            <property name="text">
 
387
             <string>Main layout count:</string>
 
388
            </property>
 
389
           </widget>
 
390
          </item>
 
391
          <item row="0" column="1">
 
392
           <widget class="QSpinBox" name="layoutLoopCountSpinBox"/>
 
393
          </item>
 
394
          <item row="0" column="2">
 
395
           <spacer name="horizontalSpacer_3">
 
396
            <property name="orientation">
 
397
             <enum>Qt::Horizontal</enum>
 
398
            </property>
 
399
            <property name="sizeHint" stdset="0">
 
400
             <size>
 
401
              <width>431</width>
 
402
              <height>20</height>
 
403
             </size>
 
404
            </property>
 
405
           </spacer>
 
406
          </item>
 
407
         </layout>
 
408
        </widget>
 
409
       </item>
 
410
      </layout>
 
411
     </widget>
 
412
    </item>
 
413
   </layout>
 
414
  </widget>
 
415
  <widget class="QWidget" name="tabAdvanced">
 
416
   <attribute name="title">
 
417
    <string>Advanced</string>
 
418
   </attribute>
 
419
   <layout class="QGridLayout" name="gridLayout">
 
420
    <item row="0" column="0" colspan="2">
 
421
     <widget class="QCheckBox" name="configureKeyboardOptionsChk">
 
422
      <property name="text">
 
423
       <string>&amp;Configure keyboard options</string>
 
424
      </property>
 
425
     </widget>
 
426
    </item>
 
427
    <item row="1" column="0">
 
428
     <widget class="QTreeView" name="xkbOptionsTreeView">
 
429
      <property name="enabled">
 
430
       <bool>false</bool>
 
431
      </property>
 
432
      <property name="selectionMode">
 
433
       <enum>QAbstractItemView::NoSelection</enum>
 
434
      </property>
 
435
      <property name="headerHidden">
 
436
       <bool>true</bool>
 
437
      </property>
 
438
     </widget>
 
439
    </item>
 
440
   </layout>
 
441
  </widget>
 
442
 </widget>
 
443
 <customwidgets>
 
444
  <customwidget>
 
445
   <class>KButtonGroup</class>
 
446
   <extends>QGroupBox</extends>
 
447
   <header>kbuttongroup.h</header>
 
448
   <container>1</container>
 
449
  </customwidget>
 
450
  <customwidget>
 
451
   <class>KKeySequenceWidget</class>
 
452
   <extends>QWidget</extends>
 
453
   <header>kkeysequencewidget.h</header>
 
454
  </customwidget>
 
455
 </customwidgets>
 
456
 <resources/>
 
457
 <connections/>
 
458
 <slots>
 
459
  <signal>changed(bool)</signal>
 
460
 </slots>
 
461
</ui>