170 lines
4.1 KiB
XML
170 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KbdStateConfig</class>
|
|
<widget class="QDialog" name="KbdStateConfig">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>249</width>
|
|
<height>354</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Keyboard state settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QGroupBox" name="leds">
|
|
<property name="title">
|
|
<string>Lock Indicators</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QCheckBox" name="showCaps">
|
|
<property name="text">
|
|
<string>Show Caps Lock</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="showNum">
|
|
<property name="text">
|
|
<string>Show Num Lock</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="showScroll">
|
|
<property name="text">
|
|
<string>Show Scroll Lock</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="showLayout">
|
|
<property name="title">
|
|
<string>Keyboard Layout Indicator</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="policyLabel">
|
|
<property name="text">
|
|
<string>Switching policy</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="switchGlobal">
|
|
<property name="text">
|
|
<string>Global</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">modes</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="switchWindow">
|
|
<property name="text">
|
|
<string>Window</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">modes</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="switchApplication">
|
|
<property name="text">
|
|
<string>Application</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">modes</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="configureLayouts">
|
|
<property name="text">
|
|
<string>Configure layouts</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<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>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="btns">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>btns</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>KbdStateConfig</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>btns</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>KbdStateConfig</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<buttongroups>
|
|
<buttongroup name="modes"/>
|
|
</buttongroups>
|
|
</ui>
|