fix kwinoptions layouts

THIS INTRODUCES NEW STRINGS, see
http://lists.kde.org/?l=kde-i18n-doc&m=135403060327161&w=2

REVIEW: 107083
BUG: 310623
This commit is contained in:
Thomas Lübking 2012-10-27 23:11:22 +02:00
parent dda5cbea69
commit 334fc51ef6
7 changed files with 2031 additions and 1717 deletions

View file

@ -6,309 +6,40 @@
<rect>
<x>0</x>
<y>0</y>
<width>556</width>
<height>320</height>
<width>509</width>
<height>309</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="2,1,5">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="whatsThis">
<string>Here you can customize mouse click behavior when clicking on an inactive inner window ('inner' means: not titlebar, not frame).</string>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="title">
<string>Inactive Inner Window</string>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
</spacer>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="12" column="2">
<widget class="QLabel" name="label_9">
<property name="text">
<string>&amp;Left button:</string>
<string>M&amp;ouse wheel:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coWin1</cstring>
<cstring>coAllW</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="coWin1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize left click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Activate, Raise &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Raise</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>M&amp;iddle button:</string>
</property>
<property name="buddy">
<cstring>coWin2</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="coWin2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize middle click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Activate, Raise &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Raise</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Right button:</string>
</property>
<property name="buddy">
<cstring>coWin3</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KComboBox" name="coWin3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize right click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Activate, Raise &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Raise</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>&amp;Wheel</string>
</property>
<property name="buddy">
<cstring>coWinWheel</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="KComboBox" name="coWinWheel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize behavior when scrolling into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Scroll</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Scroll</string>
</property>
</item>
<item>
<property name="text">
<string>Activate, Raise &amp; Scroll</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="whatsThis">
<string>Here you can customize KDE's behavior when clicking somewhere into a window while pressing a modifier key.</string>
</property>
<property name="title">
<string>Inner Window, Titlebar &amp;&amp; Frame</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Modifier &amp;key:</string>
</property>
<property name="buddy">
<cstring>coAllKey</cstring>
</property>
</widget>
</item>
<item>
<widget class="KComboBox" name="coAllKey">
<property name="whatsThis">
<string>Here you select whether holding the Meta key or Alt key will allow you to perform the following actions.</string>
</property>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string> + </string>
</property>
</widget>
</item>
<item>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Left &amp;button</string>
</property>
<property name="buddy">
<cstring>coAll1</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="coAll1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize left click behavior when clicking into the titlebar or the frame.</string>
</property>
<item>
<property name="text">
<string>Move</string>
</property>
</item>
<item>
<property name="text">
<string>Activate, Raise &amp; Move</string>
</property>
</item>
<item>
<property name="text">
<string>Toggle Raise &amp; Lower</string>
</property>
</item>
<item>
<property name="text">
<string>Resize</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>Minimize</string>
</property>
</item>
<item>
<property name="text">
<string>Decrease Opacity</string>
</property>
</item>
<item>
<property name="text">
<string>Increase Opacity</string>
</property>
</item>
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
</widget>
</item>
<item row="1" column="1">
<item row="10" column="3">
<widget class="KComboBox" name="coAll2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -371,7 +102,46 @@
</item>
</widget>
</item>
<item row="2" column="1">
<item row="11" column="2">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Ri&amp;ght button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coAll3</cstring>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>&amp;Wheel</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coWinWheel</cstring>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Middle b&amp;utton:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coAll2</cstring>
</property>
</widget>
</item>
<item row="11" column="3">
<widget class="KComboBox" name="coAll3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -434,37 +204,177 @@
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Middle b&amp;utton:</string>
</property>
<property name="buddy">
<cstring>coAll2</cstring>
<item row="13" column="2">
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_7">
<item row="1" column="2">
<widget class="QLabel" name="label">
<property name="text">
<string>Ri&amp;ght button:</string>
<string>&amp;Left button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coAll3</cstring>
<cstring>coWin1</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>M&amp;ouse wheel:</string>
<item row="7" column="0" colspan="4">
<widget class="QLabel" name="label_11">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="buddy">
<cstring>coAllW</cstring>
<property name="text">
<string>Inner Window, Titlebar &amp; Frame</string>
</property>
</widget>
</item>
<item row="3" column="1">
<item row="2" column="3">
<widget class="KComboBox" name="coWin2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize middle click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Activate, Raise &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Raise</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Right button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coWin3</cstring>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="KComboBox" name="coWinWheel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize behavior when scrolling into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Scroll</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Scroll</string>
</property>
</item>
<item>
<property name="text">
<string>Activate, Raise &amp; Scroll</string>
</property>
</item>
</widget>
</item>
<item row="8" column="3" rowspan="2">
<widget class="KComboBox" name="coAll1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize left click behavior when clicking into the titlebar or the frame.</string>
</property>
<item>
<property name="text">
<string>Move</string>
</property>
</item>
<item>
<property name="text">
<string>Activate, Raise &amp; Move</string>
</property>
</item>
<item>
<property name="text">
<string>Toggle Raise &amp; Lower</string>
</property>
</item>
<item>
<property name="text">
<string>Resize</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>Minimize</string>
</property>
</item>
<item>
<property name="text">
<string>Decrease Opacity</string>
</property>
</item>
<item>
<property name="text">
<string>Increase Opacity</string>
</property>
</item>
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
</widget>
</item>
<item row="12" column="3">
<widget class="KComboBox" name="coAllW">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -517,12 +427,7 @@
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<item row="15" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -535,6 +440,201 @@
</property>
</spacer>
</item>
<item row="1" column="3">
<widget class="KComboBox" name="coWin1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize left click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Activate, Raise &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Raise</string>
</property>
</item>
</widget>
</item>
<item row="3" column="3">
<widget class="KComboBox" name="coWin3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this row you can customize right click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).</string>
</property>
<item>
<property name="text">
<string>Activate, Raise &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Pass Click</string>
</property>
</item>
<item>
<property name="text">
<string>Activate</string>
</property>
</item>
<item>
<property name="text">
<string>Activate &amp; Raise</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>M&amp;iddle button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coWin2</cstring>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="0" column="0" colspan="4">
<widget class="QLabel" name="label_12">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Inactive Inner Window</string>
</property>
</widget>
</item>
<item row="8" column="2" rowspan="2">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Left &amp;button</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coAll1</cstring>
</property>
</widget>
</item>
<item row="8" column="0" rowspan="5" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Modifier &amp;key:</string>
</property>
<property name="buddy">
<cstring>coAllKey</cstring>
</property>
</widget>
</item>
<item>
<widget class="KComboBox" name="coAllKey">
<property name="whatsThis">
<string>Here you select whether holding the Meta key or Alt key will allow you to perform the following actions.</string>
</property>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string> + </string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
@ -544,6 +644,17 @@
<header>kcombobox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>coWin1</tabstop>
<tabstop>coWin2</tabstop>
<tabstop>coWin3</tabstop>
<tabstop>coWinWheel</tabstop>
<tabstop>coAllKey</tabstop>
<tabstop>coAll1</tabstop>
<tabstop>coAll2</tabstop>
<tabstop>coAll3</tabstop>
<tabstop>coAllW</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>

View file

@ -6,76 +6,45 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<width>504</width>
<height>387</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="KButtonGroup" name="shBox">
<property name="title">
<string>Shading</string>
<layout class="QGridLayout" name="gridLayout" columnstretch="2,1,5">
<item row="2" column="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<layout class="QGridLayout" name="kLay">
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="KIntNumInput" name="shadeHover">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window.</string>
</property>
<property name="value">
<number>500</number>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>3000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="suffix">
<string> ms</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="shadeHoverLabel">
<property name="text">
<string>Dela&amp;y:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>shadeHover</cstring>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="shadeHoverOn">
<property name="whatsThis">
<string>If Shade Hover is enabled, a shaded window will un-shade automatically when the mouse pointer has been over the title bar for some time.</string>
</property>
<property name="text">
<string>&amp;Enable hover</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="KButtonGroup" name="wtBox">
<property name="title">
<string>Window Tabbing</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="wtLay">
<item>
<widget class="QCheckBox" name="inactiveTabsSkipTaskbar">
@ -110,9 +79,29 @@
</layout>
</widget>
</item>
<item row="4" column="1">
<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 row="2" column="1">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>&amp;Placement:</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QGridLayout" name="vLay">
<item row="0" column="1">
<widget class="KComboBox" name="placementCombo">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -169,17 +158,92 @@
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="KButtonGroup" name="shBox">
<property name="title">
<string>Shading</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="3" column="1">
<widget class="QLabel" name="shadeHoverLabel">
<property name="text">
<string>&amp;Placement:</string>
<string>Dela&amp;y:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>placementCombo</cstring>
<cstring>shadeHover</cstring>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<item row="3" column="0">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>24</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="3" colspan="5">
<widget class="QCheckBox" name="shadeHoverOn">
<property name="whatsThis">
<string>If Shade Hover is enabled, a shaded window will un-shade automatically when the mouse pointer has been over the title bar for some time.</string>
</property>
<property name="text">
<string>&amp;Enable hover</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="3">
<widget class="KIntNumInput" name="shadeHover">
<property name="whatsThis">
<string>Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window.</string>
</property>
<property name="value">
<number>500</number>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>3000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="suffix">
<string> ms</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Special Windows</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="hideUtilityWindowsForInactive">
<property name="whatsThis">
<string>When turned on, utility windows (tool windows, torn-off menus,...) of inactive applications will be hidden and will be shown only when the application becomes active. Note that applications have to mark the windows with the proper window type for this feature to work.</string>
@ -190,19 +254,7 @@
</widget>
</item>
</layout>
</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>
</widget>
</item>
</layout>
</widget>
@ -224,6 +276,15 @@
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>shadeHoverOn</tabstop>
<tabstop>shadeHover</tabstop>
<tabstop>inactiveTabsSkipTaskbar</tabstop>
<tabstop>autogroupSimilarWindows</tabstop>
<tabstop>autogroupInForeground</tabstop>
<tabstop>placementCombo</tabstop>
<tabstop>hideUtilityWindowsForInactive</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>

View file

@ -6,12 +6,40 @@
<rect>
<x>0</x>
<y>0</y>
<width>470</width>
<height>224</height>
<width>574</width>
<height>313</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="2,1,5">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&amp;Policy:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>focusCombo</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="focusCombo">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -49,85 +77,7 @@ Note that 'Focus under mouse' and 'Focus strictly under mouse' prevent certain f
</item>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="delayFocusOnLabel">
<property name="text">
<string>&amp;Delay focus by:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>delayFocus</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="KIntNumInput" name="delayFocus">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>This is the delay after which the window the mouse pointer is over will automatically receive focus.</string>
</property>
<property name="value">
<number>100</number>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>3000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="suffix">
<string> ms</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QCheckBox" name="separateScreenFocus">
<property name="whatsThis">
<string>When this option is enabled, focus operations are limited only to the active Xinerama screen</string>
</property>
<property name="text">
<string>S&amp;eparate screen focus</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="autoRaiseOn">
<property name="whatsThis">
<string>When this option is enabled, a window in the background will automatically come to the front when the mouse pointer has been over it for some time.</string>
</property>
<property name="text">
<string>&amp;Raise, with the following delay:</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QCheckBox" name="activeMouseScreen">
<property name="whatsThis">
<string>When this option is enabled, the active Xinerama screen (where new windows appear, for example) is the screen containing the mouse pointer. When disabled, the active Xinerama screen is the screen containing the focused window. By default this option is disabled for Click to focus and enabled for other focus policies.</string>
</property>
<property name="text">
<string>Active screen follows &amp;mouse</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QCheckBox" name="focusNextToMouse">
<property name="text">
<string>&amp;When the active window disappears, pass focus to window under mouse</string>
</property>
</widget>
</item>
<item row="2" column="0">
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Focus &amp;stealing prevention level:</string>
@ -140,20 +90,7 @@ Note that 'Focus under mouse' and 'Focus strictly under mouse' prevent certain f
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&amp;Policy:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>focusCombo</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<item row="1" column="1">
<widget class="KComboBox" name="focusStealing">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -199,17 +136,17 @@ Note that 'Focus under mouse' and 'Focus strictly under mouse' prevent certain f
</item>
</widget>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="clickRaiseOn">
<item row="2" column="0">
<widget class="QCheckBox" name="autoRaiseOn">
<property name="whatsThis">
<string>When this option is enabled, the active window will be brought to the front when you click somewhere into the window contents. To change it for inactive windows, you need to change the settings in the Actions tab.</string>
<string>When this option is enabled, a window in the background will automatically come to the front when the mouse pointer has been over it for some time.</string>
</property>
<property name="text">
<string>C&amp;lick raises active window</string>
<string>&amp;Raise, with the following delay:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<item row="2" column="1">
<widget class="KIntNumInput" name="autoRaise">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -237,6 +174,112 @@ Note that 'Focus under mouse' and 'Focus strictly under mouse' prevent certain f
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="delayFocusOnLabel">
<property name="text">
<string>&amp;Delay focus by:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>delayFocus</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="KIntNumInput" name="delayFocus">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>This is the delay after which the window the mouse pointer is over will automatically receive focus.</string>
</property>
<property name="value">
<number>100</number>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>3000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="suffix">
<string> ms</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="focusNextToMouse">
<property name="text">
<string>&amp;When the active window disappears, pass focus to window under mouse</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QCheckBox" name="clickRaiseOn">
<property name="whatsThis">
<string>When this option is enabled, the active window will be brought to the front when you click somewhere into the window contents. To change it for inactive windows, you need to change the settings in the Actions tab.</string>
</property>
<property name="text">
<string>C&amp;lick raises active window</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="separateScreenFocus">
<property name="whatsThis">
<string>When this option is enabled, focus operations are limited only to the active Xinerama screen</string>
</property>
<property name="text">
<string>S&amp;eparate screen focus</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QCheckBox" name="activeMouseScreen">
<property name="whatsThis">
<string>When this option is enabled, the active Xinerama screen (where new windows appear, for example) is the screen containing the mouse pointer. When disabled, the active Xinerama screen is the screen containing the focused window. By default this option is disabled for Click to focus and enabled for other focus policies.</string>
</property>
<property name="text">
<string>Active screen follows &amp;mouse</string>
</property>
</widget>
</item>
<item row="8" 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>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>

View file

@ -135,13 +135,13 @@ void createMaxButtonPixmaps()
KWinMouseConfigForm::KWinMouseConfigForm(QWidget *parent)
: QWidget(parent)
{
setupUi(this);
setupUi(parent);
}
KWinActionsConfigForm::KWinActionsConfigForm(QWidget *parent)
: QWidget(parent)
{
setupUi(this);
setupUi(parent);
}
void KTitleBarActionsConfig::paletteChanged()

View file

@ -6,34 +6,40 @@
<rect>
<x>0</x>
<y>0</y>
<width>550</width>
<height>446</height>
<width>696</width>
<height>416</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="2,1,5">
<item>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>&amp;Titlebar double-click:</string>
<string>&amp;Double-click:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coTiDbl</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Titlebar wheel event:</string>
</property>
<property name="buddy">
<cstring>coTiAct4</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<item row="1" column="1" colspan="2">
<widget class="KComboBox" name="coTiDbl">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -91,7 +97,20 @@
</item>
</widget>
</item>
<item row="1" column="1">
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Wheel event:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>coTiAct4</cstring>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="KComboBox" name="coTiAct4">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -144,18 +163,65 @@
</item>
</widget>
</item>
</layout>
<item row="3" column="0" colspan="3">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<item row="5" column="1">
<widget class="QLabel" name="label_6">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Here you can customize mouse click behavior when clicking on the titlebar or the frame of a window.</string>
<string>In this column you can customize mouse clicks into the titlebar or the frame of an active window.</string>
</property>
<property name="title">
<string>Titlebar &amp;&amp; Frame</string>
<property name="text">
<string>Active</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLabel" name="label_7">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>In this column you can customize mouse clicks into the titlebar or the frame of an inactive window.</string>
</property>
<property name="text">
<string>Inactive</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_3">
<property name="whatsThis">
<string>In this row you can customize left click behavior when clicking into the titlebar or the frame.</string>
</property>
<property name="text">
<string>Left button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="KComboBox" name="coTiAct1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -213,188 +279,7 @@
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="whatsThis">
<string>In this row you can customize left click behavior when clicking into the titlebar or the frame.</string>
</property>
<property name="text">
<string>Left button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_6">
<property name="whatsThis">
<string>In this column you can customize mouse clicks into the titlebar or the frame of an active window.</string>
</property>
<property name="text">
<string>Active</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</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;middle&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 &amp; 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>Operations Menu</string>
</property>
</item>
<item>
<property name="text">
<string>Start Window Tab Drag</string>
</property>
</item>
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="whatsThis">
<string>In this row you can customize right click behavior when clicking into the titlebar or the frame.</string>
</property>
<property name="text">
<string>Right button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</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;right&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 &amp; 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>Operations Menu</string>
</property>
</item>
<item>
<property name="text">
<string>Start Window Tab Drag</string>
</property>
</item>
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="whatsThis">
<string>In this row you can customize middle click behavior when clicking into the titlebar or the frame.</string>
</property>
<property name="text">
<string>Middle button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_7">
<property name="whatsThis">
<string>In this column you can customize mouse clicks into the titlebar or the frame of an inactive window.</string>
</property>
<property name="text">
<string>Inactive</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<item row="6" column="2">
<widget class="KComboBox" name="coTiInAct1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -467,7 +352,78 @@
</item>
</widget>
</item>
<item row="2" column="2">
<item row="7" column="0">
<widget class="QLabel" name="label_4">
<property name="whatsThis">
<string>In this row you can customize middle click behavior when clicking into the titlebar or the frame.</string>
</property>
<property name="text">
<string>Middle button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="7" 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;middle&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 &amp; 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>Operations Menu</string>
</property>
</item>
<item>
<property name="text">
<string>Start Window Tab Drag</string>
</property>
</item>
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
</widget>
</item>
<item row="7" column="2">
<widget class="KComboBox" name="coTiInAct2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -540,7 +496,78 @@
</item>
</widget>
</item>
<item row="3" column="2">
<item row="8" column="0">
<widget class="QLabel" name="label_5">
<property name="whatsThis">
<string>In this row you can customize right click behavior when clicking into the titlebar or the frame.</string>
</property>
<property name="text">
<string>Right button:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="8" 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;right&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 &amp; 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>Operations Menu</string>
</property>
</item>
<item>
<property name="text">
<string>Start Window Tab Drag</string>
</property>
</item>
<item>
<property name="text">
<string>Nothing</string>
</property>
</item>
</widget>
</item>
<item row="8" column="2">
<widget class="KComboBox" name="coTiInAct3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -613,41 +640,67 @@
</item>
</widget>
</item>
</layout>
<item row="9" column="0" colspan="3">
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="whatsThis">
<string>Here you can customize behavior when clicking on the maximize button.</string>
</property>
<property name="title">
<string>Maximize Button</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<item row="11" column="0" colspan="3">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_10">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<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>
<property name="text">
<string>Left button:</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buddy">
<cstring>leftClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item>
<item row="0" column="1">
<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 button:</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buddy">
<cstring>middleClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_8">
<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 button:</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buddy">
<cstring>rightClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="KComboBox" name="leftClickMaximizeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -657,45 +710,10 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>5</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_9">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<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>
<property name="text">
<string>Middle button:</string>
</property>
<property name="buddy">
<cstring>middleClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item>
<item row="1" column="1">
<widget class="KComboBox" name="middleClickMaximizeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -705,45 +723,10 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>5</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<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>
<property name="text">
<string>Right button:</string>
</property>
<property name="buddy">
<cstring>rightClickMaximizeButton</cstring>
</property>
</widget>
</item>
<item>
<item row="1" column="2">
<widget class="KComboBox" name="rightClickMaximizeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -754,9 +737,15 @@
</widget>
</item>
</layout>
</item>
<item row="12" column="0" colspan="3">
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<item row="13" column="1" colspan="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -769,6 +758,60 @@
</property>
</spacer>
</item>
<item row="4" column="0" colspan="3">
<widget class="QLabel" name="label_12">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Titlebar &amp; Frame</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="label_11">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Titlebar</string>
</property>
</widget>
</item>
<item row="10" column="0" colspan="3">
<widget class="QLabel" name="label_13">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Maximize Button</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
@ -778,6 +821,16 @@
<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>
</tabstops>
<resources/>
<connections/>
</ui>

View file

@ -6,28 +6,27 @@
<rect>
<x>0</x>
<y>0</y>
<width>404</width>
<height>329</height>
<width>539</width>
<height>352</height>
</rect>
</property>
<layout class="QVBoxLayout" name="lay">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="2,1,5">
<item>
<widget class="KButtonGroup" name="windowsBox">
<property name="title">
<string>Windows</string>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Display window &amp;geometry when moving or resizing</string>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
<property name="buddy">
<cstring>geometryTipOn</cstring>
</property>
</widget>
</spacer>
</item>
<item row="0" column="1">
<item>
<layout class="QGridLayout" name="gridLayout" columnstretch="100,1,0">
<item row="1" column="1">
<widget class="QCheckBox" name="geometryTipOn">
<property name="whatsThis">
<string>Enable this option if you want a window's geometry to be displayed while it is being moved or resized. The window position relative to the top-left corner of the screen is displayed together with its size.</string>
@ -37,7 +36,17 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item row="1" column="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Display window &amp;geometry when moving or resizing</string>
</property>
<property name="buddy">
<cstring>geometryTipOn</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="moveResizeMaximized">
<property name="whatsThis">
<string>When enabled, this feature activates the border of maximized windows and allows you to move or resize them, just like for normal windows</string>
@ -47,7 +56,7 @@
</property>
</widget>
</item>
<item row="1" column="0">
<item row="2" column="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Display borders on &amp;maximized windows</string>
@ -57,16 +66,14 @@
</property>
</widget>
</item>
</layout>
<item row="3" column="0" colspan="3">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="KButtonGroup" name="snapZonesBox">
<property name="title">
<string>Snap Zones</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<item row="5" column="0" colspan="2">
<widget class="QLabel" name="borderSnapLabel">
<property name="text">
<string>&amp;Border snap zone:</string>
@ -79,7 +86,7 @@
</property>
</widget>
</item>
<item row="0" column="1">
<item row="5" column="2">
<widget class="KIntNumInput" name="borderSnap">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -107,7 +114,7 @@
</property>
</widget>
</item>
<item row="1" column="0">
<item row="6" column="0" colspan="2">
<widget class="QLabel" name="windowSnapLabel">
<property name="text">
<string>&amp;Window snap zone:</string>
@ -120,7 +127,7 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item row="6" column="2">
<widget class="KIntNumInput" name="windowSnap">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -148,7 +155,7 @@
</property>
</widget>
</item>
<item row="2" column="0">
<item row="7" column="0" colspan="2">
<widget class="QLabel" name="centerSnapLabel">
<property name="text">
<string>&amp;Center snap zone:</string>
@ -161,7 +168,7 @@
</property>
</widget>
</item>
<item row="2" column="1">
<item row="7" column="2">
<widget class="KIntNumInput" name="centerSnap">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -189,7 +196,7 @@
</property>
</widget>
</item>
<item row="3" column="1">
<item row="8" column="1">
<widget class="QCheckBox" name="OverlapSnap">
<property name="whatsThis">
<string>Here you can set that windows will be only snapped if you try to overlap them, i.e. they will not be snapped if the windows comes only near another window or border.</string>
@ -199,7 +206,7 @@
</property>
</widget>
</item>
<item row="3" column="0">
<item row="8" column="2">
<widget class="QLabel" name="label">
<property name="text">
<string>Snap windows onl&amp;y when overlapping</string>
@ -209,10 +216,40 @@
</property>
</widget>
</item>
</layout>
<item row="9" column="0" colspan="3">
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Windows</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Snap Zones</string>
</property>
</widget>
</item>
<item row="10" column="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -226,14 +263,23 @@
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KButtonGroup</class>
<extends>QGroupBox</extends>
<header>kbuttongroup.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>

View file

@ -86,7 +86,7 @@ KFocusConfig::~KFocusConfig()
KWinFocusConfigForm::KWinFocusConfigForm(QWidget* parent)
: QWidget(parent)
{
setupUi(this);
setupUi(parent);
}
// removed the LCD display over the slider - this is not good GUI design :) RNolden 051701
@ -333,7 +333,7 @@ void KFocusConfig::defaults()
KWinAdvancedConfigForm::KWinAdvancedConfigForm(QWidget* parent)
: QWidget(parent)
{
setupUi(this);
setupUi(parent);
}
KAdvancedConfig::~KAdvancedConfig()
@ -487,7 +487,7 @@ void KAdvancedConfig::setAutogroupInForeground(bool s)
KWinMovingConfigForm::KWinMovingConfigForm(QWidget* parent)
: QWidget(parent)
{
setupUi(this);
setupUi(parent);
}
KMovingConfig::~KMovingConfig()