kwin/kcmkwin/kwinoptions/mouse.ui
Björn Feber 663d139638 [kcmkwin/options] Improve the look of the KWin options KCM UIs
Summary:
Apply the KDE HIG, use form layouts, make desktop files consistent and make the KCMs look better.
{F7323519}
{F7330485}
{F7330486}
{F7302318}
{F7302319}

Test Plan: Open the {nav Window Behavior} KCMs. All options should still work

Reviewers: #kwin, #plasma, #vdg, ngraham, zzag

Reviewed By: #kwin, #plasma, #vdg, ngraham, zzag

Subscribers: ngraham, davidedmundson, zzag, #vdg, #plasma, kwin, #kwin

Tags: #kwin

Maniphest Tasks: T10273

Differential Revision: https://phabricator.kde.org/D23615
2019-09-09 21:45:51 +02:00

748 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>&amp;Double-click:</string>
</property>
<property name="buddy">
<cstring>coTiDbl</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="coTiDbl">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;double&lt;/em&gt; 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 &amp;wheel:</string>
</property>
<property name="buddy">
<cstring>coTiAct4</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="coTiAct4">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;mouse wheel&lt;/em&gt; 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>Switch to window tab to the left/right</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>&amp;Left click:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coTiAct1</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>&amp;Middle click:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coTiAct2</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>&amp;Right click:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coTiAct3</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="coTiAct1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click into the titlebar or frame of an &lt;em&gt;active&lt;/em&gt; 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>Start window tab drag</string>
</property>
</item>
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2">
<widget class="KComboBox" name="coTiInAct1">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click into the titlebar or frame of an &lt;em&gt;inactive&lt;/em&gt; 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>Start window tab drag</string>
</property>
</item>
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
</widget>
</item>
<item row="2" column="1">
<widget class="KComboBox" name="coTiAct2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click into the titlebar or frame of an &lt;em&gt;active&lt;/em&gt; 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>Start window tab drag</string>
</property>
</item>
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2">
<widget class="KComboBox" name="coTiInAct2">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click into the titlebar or frame of an &lt;em&gt;inactive&lt;/em&gt; 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>Start window tab drag</string>
</property>
</item>
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
</widget>
</item>
<item row="3" column="1">
<widget class="KComboBox" name="coTiAct3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click into the titlebar or frame of an &lt;em&gt;active&lt;/em&gt; 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>Start window tab drag</string>
</property>
</item>
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2">
<widget class="KComboBox" name="coTiInAct3">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click into the titlebar or frame of an &lt;em&gt;inactive&lt;/em&gt; 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>Start window tab drag</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 &lt;em&gt;left&lt;/em&gt; click onto the maximize button.</string>
</property>
<property name="text">
<string>L&amp;eft click:</string>
</property>
<property name="buddy">
<cstring>leftClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="leftClickMaximizeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Behavior on &lt;em&gt;left&lt;/em&gt; click onto the maximize button.</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_9">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;middle&lt;/em&gt; click onto the maximize button.</string>
</property>
<property name="text">
<string>Middle c&amp;lick:</string>
</property>
<property name="buddy">
<cstring>middleClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="middleClickMaximizeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Behavior on &lt;em&gt;middle&lt;/em&gt; click onto the maximize button.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_10">
<property name="whatsThis">
<string>Behavior on &lt;em&gt;right&lt;/em&gt; click onto the maximize button.</string>
</property>
<property name="text">
<string>Right clic&amp;k:</string>
</property>
<property name="buddy">
<cstring>rightClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KComboBox" name="rightClickMaximizeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Behavior on &lt;em&gt;right&lt;/em&gt; click onto the maximize button.</string>
</property>
</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>coTiDbl</tabstop>
<tabstop>coTiAct4</tabstop>
<tabstop>coTiAct1</tabstop>
<tabstop>coTiInAct1</tabstop>
<tabstop>coTiAct2</tabstop>
<tabstop>coTiInAct2</tabstop>
<tabstop>coTiAct3</tabstop>
<tabstop>coTiInAct3</tabstop>
<tabstop>leftClickMaximizeButton</tabstop>
<tabstop>middleClickMaximizeButton</tabstop>
<tabstop>rightClickMaximizeButton</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>