74994a7fbd
Summary: The Track Mouse effect can be toggled either by pressing modifier keys and moving mouse or by pressing a shortcut. It's not possible to use the latter and then the former without changing config. But there is one caveat, in order to use shortcut, you have to uncheck all modifier keys. This seems to be not very intuitive. In addition to that, the KCM allows to change shortcut even if there is some checked modifier. As the title says, this change makes possible to use both modifier keys and shortcut to activate this effect without changing config. KCM: {F6237308, layout=center, size=full} BUG: 398124 FIXED-IN: 5.14.0 Reviewers: #kwin, #plasma, #vdg, davidedmundson Reviewed By: #kwin, #plasma, #vdg, davidedmundson Subscribers: broulik, abetts, ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15272
104 lines
2.7 KiB
XML
104 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KWin::TrackMouseEffectConfigForm</class>
|
|
<widget class="QWidget" name="KWin::TrackMouseEffectConfigForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>345</width>
|
|
<height>112</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::FieldsStayAtSizeHint</enum>
|
|
</property>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Trigger effect with:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_KeyboardShortcut">
|
|
<property name="text">
|
|
<string>Keyboard shortcut:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KKeySequenceWidget" name="shortcut" native="true"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_ModifierKeys">
|
|
<property name="text">
|
|
<string>Modifier keys:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QCheckBox" name="kcfg_Alt">
|
|
<property name="text">
|
|
<string>Alt</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="kcfg_Control">
|
|
<property name="text">
|
|
<string>Ctrl</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="kcfg_Shift">
|
|
<property name="text">
|
|
<string>Shift</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="kcfg_Meta">
|
|
<property name="text">
|
|
<string>Meta</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KKeySequenceWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>kkeysequencewidget.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|