You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kxkb/kcmlayoutwidget.ui

716 lines
38 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>LayoutConfigWidget</class>
<widget class="QWidget">
<property name="name">
<cstring>LayoutConfigWidget</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>709</width>
<height>563</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>510</height>
</size>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTabWidget" row="0" column="0">
<property name="name">
<cstring>tabWidget</cstring>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>500</height>
</size>
</property>
<widget class="QWidget">
<property name="name">
<cstring>tabLayout</cstring>
</property>
<attribute name="title">
<string>Layout</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox" row="0" column="0">
<property name="name">
<cstring>chkEnable</cstring>
</property>
<property name="text">
<string>&amp;Enable keyboard layouts</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox" row="1" column="0">
<property name="name">
<cstring>grpLayouts</cstring>
</property>
<property name="title">
<string></string>
</property>
<property name="whatsThis" stdset="0">
<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 "which key does what" and may be different for different countries.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
<property name="text">
<string>Available layouts:</string>
</property>
</widget>
<widget class="QLabel" row="2" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel1_4_2</cstring>
</property>
<property name="text">
<string>Active layouts:</string>
</property>
</widget>
<widget class="QLabel" row="0" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Keyboard &amp;model:</string>
</property>
<property name="buddy" stdset="0">
<cstring>comboModel</cstring>
</property>
</widget>
<widget class="QComboBox" row="1" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>comboModel</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis" stdset="0">
<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.
</string>
</property>
</widget>
<widget class="QListView" row="3" column="2" rowspan="1" colspan="3">
<column>
<property name="text">
<string>1</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<column>
<property name="text">
<string>Layout</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Keymap</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Variant</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>5</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<column>
<property name="text">
<string>Label</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<property name="name">
<cstring>listLayoutsDst</cstring>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>If more than one layout is present in this list, the KDE panel will offer a docked flag. By clicking on this flag you can easily switch between layouts. The first layout will be default one.</string>
</property>
</widget>
<widget class="QLayoutWidget" row="4" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>btnAdd</cstring>
</property>
<property name="text">
<string>Add &gt;&gt;</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnRemove</cstring>
</property>
<property name="text">
<string>&lt;&lt; Remove</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnUp</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnDown</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel" row="8" column="0">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>Command:</string>
</property>
<property name="buddy" stdset="0">
<cstring>editCmdLine</cstring>
</property>
</widget>
<widget class="QListView" row="3" column="0" rowspan="5" colspan="2">
<column>
<property name="text">
<string></string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<column>
<property name="text">
<string>Layout</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Keymap</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>listLayoutsSrc</cstring>
</property>
<property name="minimumSize">
<size>
<width>260</width>
<height>0</height>
</size>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>This is the list of available keyboard layouts in your system. You can add layout to the active list by selecting it and pressing "Add" button.</string>
</property>
</widget>
<widget class="QLineEdit" row="8" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>editCmdLine</cstring>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>This is the command which is executed when switching to the selected layout. It may help you if you want to debug layout switching, or if you want to switch layouts without the help of KDE.</string>
</property>
</widget>
<widget class="QCheckBox" row="7" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>chkLatin</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Include latin layout</string>
</property>
<property name="whatsThis" stdset="0">
<string>If after you switch to this layout some keyboard shortcuts based on latin keys do not work try to enable this option.</string>
</property>
</widget>
<widget class="QLabel" row="6" column="2">
<property name="name">
<cstring>textLabel1_6</cstring>
</property>
<property name="text">
<string>Label:</string>
</property>
<property name="buddy" stdset="0">
<cstring>editDisplayName</cstring>
</property>
</widget>
<widget class="QLineEdit" row="6" column="3">
<property name="name">
<cstring>editDisplayName</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxLength">
<number>3</number>
</property>
</widget>
<widget class="QLabel" row="5" column="2">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Layout variant:</string>
</property>
<property name="buddy" stdset="0">
<cstring>comboVariant</cstring>
</property>
</widget>
<widget class="QComboBox" row="5" column="3">
<property name="name">
<cstring>comboVariant</cstring>
</property>
<property name="whatsThis" stdset="0">
<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).
</string>
</property>
</widget>
<spacer row="5" column="4">
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>210</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="6" column="4">
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>210</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Switching Options</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
<widget class="QFrame" row="0" column="0">
<property name="name">
<cstring>optionsFrame</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QButtonGroup" row="2" column="0">
<property name="name">
<cstring>grpSwitching</cstring>
</property>
<property name="title">
<string>Switching Policy</string>
</property>
<property name="exclusive">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>If you select "Application" or "Window" switching policy, changing the keyboard layout will only affect the current application or window.</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<property name="name">
<cstring>radioButton1</cstring>
</property>
<property name="text">
<string>&amp;Global</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>radioButton1_3</cstring>
</property>
<property name="text">
<string>Application</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>radioButton1_2</cstring>
</property>
<property name="text">
<string>&amp;Window</string>
</property>
</widget>
</vbox>
</widget>
<widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>chkShowFlag</cstring>
</property>
<property name="text">
<string>Show country flag</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Shows country flag on background of layout name in tray icon</string>
</property>
</widget>
<widget class="QGroupBox" row="2" column="1">
<property name="name">
<cstring>grpBoxStickySwitching</cstring>
</property>
<property name="title">
<string>Sticky Switching</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>chkEnableSticky</cstring>
</property>
<property name="text">
<string>Enable sticky switching</string>
</property>
<property name="whatsThis" stdset="0">
<string>If you have more than two layouts and turn this option on, switching with the keyboard shortcut or clicking on the kxkb indicator will only cycle through the last few layouts. You can specify the number of layouts to rotate below. You can still access all layouts by right-clicking on the kxkb indicator.</string>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Number of layouts to rotate:</string>
</property>
<property name="buddy" stdset="0">
<cstring>spinBox1</cstring>
</property>
</widget>
<widget class="QSpinBox" row="1" column="1">
<property name="name">
<cstring>spinStickyDepth</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>10</number>
</property>
<property name="minValue">
<number>2</number>
</property>
</widget>
</grid>
</widget>
<widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>chkShowSingle</cstring>
</property>
<property name="text">
<string>Show indicator for single layout</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>tabOptions</cstring>
</property>
<attribute name="title">
<string>Xkb Options</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox">
<property name="name">
<cstring>chkEnableOptions</cstring>
</property>
<property name="text">
<string>&amp;Enable xkb options</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox3_2</cstring>
</property>
<property name="title">
<string>Xkb Options</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can set xkb extension options instead of, or in addition to, specifying them in the X11 configuration file.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>checkResetOld</cstring>
</property>
<property name="text">
<string>&amp;Reset old options</string>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1_3_2</cstring>
</property>
<property name="text">
<string>Command:</string>
</property>
</widget>
<widget class="QLineEdit" row="2" column="1">
<property name="name">
<cstring>editCmdLineOpt</cstring>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QListView" row="1" column="0" rowspan="1" colspan="2">
<column>
<property name="text">
<string>Options</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>listOptions</cstring>
</property>
</widget>
</grid>
</widget>
</vbox>
</widget>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>chkEnable</sender>
<signal>toggled(bool)</signal>
<receiver>grpLayouts</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>chkEnableOptions</sender>
<signal>toggled(bool)</signal>
<receiver>groupBox3_2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>chkEnableSticky</sender>
<signal>toggled(bool)</signal>
<receiver>spinStickyDepth</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>chkEnableSticky</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel1_5</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>chkEnable</sender>
<signal>toggled(bool)</signal>
<receiver>optionsFrame</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">kiconloader.h</include>
<include location="local" impldecl="in implementation">kdialogbase.h</include>
</includes>
<pixmapfunction>SmallIcon</pixmapfunction>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>