mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
274 lines
8.7 KiB
XML
274 lines
8.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KeyboardConfigWidget</class>
|
|
<widget class="QWidget" name="KeyboardConfigWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>824</width>
|
|
<height>550</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="0">
|
|
<layout class="QFormLayout" name="repeatFormLayout">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetMinimumSize</enum>
|
|
</property>
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
</property>
|
|
<property name="labelAlignment">
|
|
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
|
|
</property>
|
|
<property name="formAlignment">
|
|
<set>Qt::AlignHCenter|Qt::AlignTop</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>When a key is held:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QRadioButton" name="accentMenuRadioButton">
|
|
<property name="text">
|
|
<string>&Show accented and similar characters </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QRadioButton" name="repeatRadioButton">
|
|
<property name="text">
|
|
<string>&Repeat the key</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QRadioButton" name="nothingRadioButton">
|
|
<property name="text">
|
|
<string>&Do nothing</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Test area:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
<property name="toolTip">
|
|
<string>Allows to test keyboard repeat and click volume (just don't forget to apply the changes).</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="numlockGroupBox">
|
|
<property name="whatsThis">
|
|
<string>If supported, this option allows you to setup the state of NumLock after Plasma startup.<p>You can configure NumLock to be turned on or off, or configure Plasma not to set NumLock state.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>NumLock on Plasma Startup</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="numlockButtonGroup">
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radioButton1">
|
|
<property name="text">
|
|
<string>T&urn on</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QRadioButton" name="radioButton2">
|
|
<property name="text">
|
|
<string>&Turn off</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QRadioButton" name="radioButton3">
|
|
<property name="text">
|
|
<string>Leave unchan&ged</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QGroupBox" name="keyboardRepeatParamsGroupBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetMinimumSize</enum>
|
|
</property>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lblRate">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Rate:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_repeatRate</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSlider" name="delaySlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>If supported, this option allows you to set the delay after which a pressed key will start generating keycodes. The 'Repeat rate' option controls the frequency of these keycodes.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>10000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>5000</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QDoubleSpinBox" name="kcfg_repeatRate">
|
|
<property name="whatsThis">
|
|
<string>If supported, this option allows you to set the rate at which keycodes are generated while a key is pressed.</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> repeats/s</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="kcfg_repeatDelay">
|
|
<property name="whatsThis">
|
|
<string>If supported, this option allows you to set the delay after which a pressed key will start generating keycodes. The 'Repeat rate' option controls the frequency of these keycodes.</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> ms</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSlider" name="rateSlider">
|
|
<property name="whatsThis">
|
|
<string>If supported, this option allows you to set the rate at which keycodes are generated while a key is pressed.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>10000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>5000</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lblDelay">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Delay:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_repeatDelay</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|