88c4de60fd
Summary: Currently, we use icons to display possible maximize button actions. The problem with those icons is that they are confusing even for me, a person who knows kwin in and out. The size_all icon implies that if you click the maximize button, you'll be able to move the window around. Same goes with the size_ver and size_hor icons, they indicate that user will start resizing the window in the vertical and horizontal direction, respectively. Test Plan: Before {F8312394} After {F8312395} Reviewers: #kwin, #vdg, ndavis Reviewed By: #vdg, ndavis Subscribers: ngraham, ndavis, broulik, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D29671
740 lines
22 KiB
XML
740 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KWinMouseConfigForm</class>
|
|
<widget class="QWidget" name="KWinMouseConfigForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>600</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_1">
|
|
<property name="title">
|
|
<string>Titlebar Actions</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_1">
|
|
<property name="formAlignment">
|
|
<set>Qt::AlignHCenter|Qt::AlignTop</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_1">
|
|
<property name="text">
|
|
<string>&Double-click:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_TitlebarDoubleClickCommand</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="KComboBox" name="kcfg_TitlebarDoubleClickCommand">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>double</em> click into the titlebar.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Maximize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Maximize (vertical only)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Maximize (horizontal only)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Show on all desktops</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string extracomment="@item:inlistbox behavior on double click">Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Mouse &wheel:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_CommandTitlebarWheel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KComboBox" name="kcfg_CommandTitlebarWheel">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>mouse wheel</em> scroll over the titlebar.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise/lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade/unshade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize/restore</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Keep above/below</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Move to previous/next desktop</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Change opacity</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Titlebar and Frame Actions</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_1">
|
|
<item>
|
|
<spacer name="horizontalSpacer_1">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_1">
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Active</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>&Left click:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_CommandActiveTitlebar1</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Inactive</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>&Middle click:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_CommandActiveTitlebar2</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>&Right click:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_CommandActiveTitlebar3</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KComboBox" name="kcfg_CommandActiveTitlebar1">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Toggle raise and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Show actions menu</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="KComboBox" name="kcfg_CommandInactiveTitlebar1">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate and raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Toggle raise and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Show actions menu</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="KComboBox" name="kcfg_CommandActiveTitlebar2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Toggle raise and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Show actions menu</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="KComboBox" name="kcfg_CommandInactiveTitlebar2">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate and raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Toggle raise and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Show actions menu</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="KComboBox" name="kcfg_CommandActiveTitlebar3">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Toggle raise and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Show actions menu</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="KComboBox" name="kcfg_CommandInactiveTitlebar3">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate and raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Activate</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raise</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Toggle raise and lower</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Minimize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Shade</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Show actions menu</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Maximize Button Actions</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<property name="formAlignment">
|
|
<set>Qt::AlignHCenter|Qt::AlignTop</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click onto the maximize button.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>L&eft click:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_MaximizeButtonLeftClickCommand</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="KComboBox" name="kcfg_MaximizeButtonLeftClickCommand">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>left</em> click onto the maximize button.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize (vertical only)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize (horizontal only)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>middle</em> click onto the maximize button.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Middle c&lick:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_MaximizeButtonMiddleClickCommand</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KComboBox" name="kcfg_MaximizeButtonMiddleClickCommand">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>middle</em> click onto the maximize button.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize (vertical only)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize (horizontal only)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>right</em> click onto the maximize button.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Right clic&k:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>kcfg_MaximizeButtonRightClickCommand</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="KComboBox" name="kcfg_MaximizeButtonRightClickCommand">
|
|
<property name="whatsThis">
|
|
<string>Behavior on <em>right</em> click onto the maximize button.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize (vertical only)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Maximize (horizontal only)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_1">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>kcombobox.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>kcfg_TitlebarDoubleClickCommand</tabstop>
|
|
<tabstop>kcfg_CommandTitlebarWheel</tabstop>
|
|
<tabstop>kcfg_CommandActiveTitlebar1</tabstop>
|
|
<tabstop>kcfg_CommandInactiveTitlebar1</tabstop>
|
|
<tabstop>kcfg_CommandActiveTitlebar2</tabstop>
|
|
<tabstop>kcfg_CommandInactiveTitlebar2</tabstop>
|
|
<tabstop>kcfg_CommandActiveTitlebar3</tabstop>
|
|
<tabstop>kcfg_CommandInactiveTitlebar3</tabstop>
|
|
<tabstop>kcfg_MaximizeButtonLeftClickCommand</tabstop>
|
|
<tabstop>kcfg_MaximizeButtonMiddleClickCommand</tabstop>
|
|
<tabstop>kcfg_MaximizeButtonRightClickCommand</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|