diff --git a/kcmkwin/kwinoptions/actions.ui b/kcmkwin/kwinoptions/actions.ui
index 928381bbf..552048380 100644
--- a/kcmkwin/kwinoptions/actions.ui
+++ b/kcmkwin/kwinoptions/actions.ui
@@ -1,660 +1,544 @@
KWinActionsConfigForm
0
0
- 509
- 309
+ 600
+ 500
-
+
-
-
-
- Qt::Horizontal
+
+
+ Inactive Inner Window Actions
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
-
-
- M&ouse wheel:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coAllW
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize middle click behavior when clicking into the titlebar or the frame.
-
-
-
-
- Move
-
-
- -
-
- Activate, Raise & Move
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Resize
-
-
- -
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Decrease Opacity
-
-
- -
-
- Increase Opacity
-
-
- -
+
+
+ Qt::AlignHCenter|Qt::AlignTop
+
+
-
+
- Nothing
+ &Left click:
-
-
-
- -
-
-
- Ri&ght button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coAll3
-
-
-
- -
-
-
- &Wheel
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coWinWheel
-
-
-
- -
-
-
- Middle b&utton:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coAll2
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize right click behavior when clicking into the titlebar or the frame.
-
-
-
-
- Move
-
-
- -
-
- Activate, Raise & Move
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Resize
-
-
- -
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Minimize
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- -
-
- Decrease Opacity
-
-
- -
-
- Increase Opacity
+
+ coWin1
-
- -
-
- Nothing
+
+
+ -
+
+
+ In this row you can customize left click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
- -
-
-
- &Left button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coWin1
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Inner Window, Titlebar & Frame
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize middle click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
-
- Activate, Raise & Pass Click
-
-
- -
-
- Activate & Pass Click
-
-
- -
-
- Activate
-
-
- -
-
- Activate & Raise
-
-
-
-
- -
-
-
- &Right button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coWin3
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize behavior when scrolling into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
-
- Scroll
-
-
- -
-
- Activate & Scroll
-
-
- -
-
- Activate, Raise & Scroll
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize left click behavior when clicking into the titlebar or the frame.
-
-
-
-
- Move
-
-
- -
-
- Activate, Raise & Move
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Resize
-
-
- -
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Decrease Opacity
-
-
- -
-
- Increase Opacity
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Here you can customize KDE's behavior when scrolling with the mouse wheel in a window while pressing the modifier key.
-
-
-
-
- Raise/Lower
-
-
- -
-
- Shade/Unshade
-
-
- -
-
- Maximize/Restore
-
-
- -
-
- Keep Above/Below
-
-
- -
+
-
+
+ Activate, raise and pass click
+
+
+ -
+
+ Activate and pass click
+
+
+ -
+
+ Activate
+
+
+ -
+
+ Activate and raise
+
+
+
+
+ -
+
- Move to Previous/Next Desktop
+ &Middle click:
-
- -
-
- Change Opacity
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- -
-
- Switch to Window Tab to the Left/Right
+
+ coWin2
-
- -
-
- Nothing
+
+
+ -
+
+
+ In this row you can customize middle click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize left click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
+
-
+
+ Activate, raise and pass click
+
+
+ -
+
+ Activate and pass click
+
+
+ -
+
+ Activate
+
+
+ -
+
+ Activate and raise
+
+
+
+
+ -
+
- Activate, Raise & Pass Click
+ &Right click:
-
- -
-
- Activate & Pass Click
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- -
-
- Activate
+
+ coWin3
-
- -
-
- Activate & Raise
+
+
+ -
+
+
+ In this row you can customize right click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this row you can customize right click behavior when clicking into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
+
-
+
+ Activate, raise and pass click
+
+
+ -
+
+ Activate and pass click
+
+
+ -
+
+ Activate
+
+
+ -
+
+ Activate and raise
+
+
+
+
+ -
+
- Activate, Raise & Pass Click
+ Mouse &wheel:
-
- -
-
- Activate & Pass Click
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- -
-
- Activate
+
+ coWinWheel
-
- -
-
- Activate & Raise
+
+
+ -
+
+
+ In this row you can customize behavior when scrolling into an inactive inner window ('inner' means: not titlebar, not frame).
-
-
-
- -
-
-
- M&iddle button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coWin2
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Inactive Inner Window
-
-
-
- -
-
-
- Left &button
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coAll1
-
-
-
- -
-
-
-
-
-
-
-
-
- Qt::Vertical
-
-
-
- 20
- 0
-
-
-
-
- -
-
-
- Modifier &key:
-
-
- coAllKey
-
-
-
- -
-
-
- Here you select whether holding the Meta key or Alt key will allow you to perform the following actions.
-
-
-
-
- Meta
-
-
- -
-
- Alt
-
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 0
-
-
-
-
-
-
- -
-
+
-
+
+ Scroll
+
+
+ -
- +
+ Activate and scroll
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
-
+
+ -
+
+ Activate, raise and scroll
+
+
+
+
+
+
+
+ -
+
+
+ Inner Window, Titlebar and Frame Actions
+
+
+
-
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
-
+
+
+ Mo&difier key:
+
+
+ coAllKey
+
+
+
+ -
+
+
+ Here you select whether holding the Meta key or Alt key will allow you to perform the following actions.
+
+
-
+
+ Alt
+
+
+ -
+
+ Meta
+
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 24
+ 0
+
+
+
+ +
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
-
+
+
+ L&eft click:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coAll1
+
+
+
+ -
+
+
+ In this row you can customize left click behavior when clicking into the titlebar or the frame.
+
+
-
+
+ Move
+
+
+ -
+
+ Activate, raise and move
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Resize
+
+
+ -
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Decrease opacity
+
+
+ -
+
+ Increase opacity
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+ Middle &click:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coAll2
+
+
+
+ -
+
+
+ In this row you can customize middle click behavior when clicking into the titlebar or the frame.
+
+
-
+
+ Move
+
+
+ -
+
+ Activate, raise and move
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Resize
+
+
+ -
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Decrease opacity
+
+
+ -
+
+ Increase opacity
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+ Right clic&k:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coAll3
+
+
+
+ -
+
+
+ In this row you can customize right click behavior when clicking into the titlebar or the frame.
+
+
-
+
+ Move
+
+
+ -
+
+ Activate, raise and move
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Resize
+
+
+ -
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Decrease opacity
+
+
+ -
+
+ Increase opacity
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+ Mo&use wheel:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coAllW
+
+
+
+ -
+
+
+ Here you can customize KDE's behavior when scrolling with the mouse wheel in a window while pressing the modifier key.
+
+
-
+
+ Raise/lower
+
+
+ -
+
+ Shade/unshade
+
+
+ -
+
+ Maximize/restore
+
+
+ -
+
+ Keep above/below
+
+
+ -
+
+ Move to previous/next desktop
+
+
+ -
+
+ Change opacity
+
+
+ -
+
+ Switch to window tab to the left/right
+
+
+ -
+
+ Do nothing
+
+
+
+
+
+
+
+
-
-
+
- Qt::Horizontal
+ Qt::Vertical
- 40
- 20
+ 0
+ 0
KComboBox
QComboBox
-
- coWin1
- coWin2
- coWin3
- coWinWheel
- coAllKey
- coAll1
- coAll2
- coAll3
- coAllW
-
diff --git a/kcmkwin/kwinoptions/advanced.ui b/kcmkwin/kwinoptions/advanced.ui
index 26d8cce3d..539f9830e 100644
--- a/kcmkwin/kwinoptions/advanced.ui
+++ b/kcmkwin/kwinoptions/advanced.ui
@@ -1,283 +1,183 @@
KWinAdvancedConfigForm
0
0
- 504
- 387
+ 600
+ 500
-
- -
-
-
- Qt::Horizontal
+
+
+ Qt::AlignHCenter|Qt::AlignTop
+
+
-
+
+
+ Window &unshading:
-
-
- 40
- 20
-
+
+ shadeHoverOn
-
+
- -
-
-
- Qt::Horizontal
+
-
+
+
-
+
+
+ <html><head/><body><p>If this option is enabled, a shaded window will unshade automatically when the mouse pointer has been over the titlebar for some time.</p></body></html>
+
+
+ On titlebar hover after:
+
+
+
+ -
+
+
+ Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window.
+
+
+ ms
+
+
+ 0
+
+
+ 3000
+
+
+ 100
+
+
+ 250
+
+
+
+
+
+ -
+
+
+ Window &placement:
-
-
- 40
- 20
-
+
+ placementCombo
-
+
-
-
-
- Window Tabbing
+
+
+ <html><head/><body><p>The placement policy determines where a new window will appear on the desktop.</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Smart</span> will try to achieve a minimum overlap of windows</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Maximizing</span> will try to maximize every window to fill the whole screen. It might be useful to selectively affect placement of some windows using the window-specific settings.</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Cascade</span> will cascade the windows</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Random</span> will use a random position</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Centered</span> will place the window centered</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Zero-cornered</span> will place the window in the top-left corner</li><li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Under mouse</span> will place the window under the pointer</li></ul></body></html>
+
+
-
+
+ Smart
+
+
+ -
+
+ Maximizing
+
+
+ -
+
+ Cascade
+
+
+ -
+
+ Random
+
+
+ -
+
+ Centered
+
+
+ -
+
+ Zero-cornered
+
+
+ -
+
+ Under mouse
+
+
+
+
+ -
+
+
+ Window tabbing:
+
+
+
+ -
+
+
+ When turned on immediately switch to any new window tabs that were automatically added to the current group.
-
- true
+
+ &Switch to automatically grouped windows immediately
-
-
-
-
-
- When turned on hide all tabs that are not active from the taskbar.
-
-
- Hide inactive window tabs from the taskbar
-
-
-
- -
-
-
- When turned on attempt to automatically detect when a newly opened window is related to an existing one and place them in the same window group.
-
-
- Automatically group similar windows
-
-
-
- -
-
-
- When turned on immediately switch to any new window tabs that were automatically added to the current group.
-
-
- Switch to automatically grouped windows immediately
-
-
-
-
-
-
-
- Qt::Vertical
+
+
+ When turned on hide all tabs that are not active from the taskbar.
-
-
- 20
- 40
-
+
+ &Hide inactive window tabs from the taskbar
-
+
- -
-
-
- &Placement:
+
-
+
+
+ &Special windows:
-
- true
+
+ hideUtilityWindowsForInactive
-
-
-
-
-
-
- 0
- 0
-
-
-
- The placement policy determines where a new window will appear on the desktop.<br><ul>
-<li><em>Smart</em> will try to achieve a minimum overlap of windows</li>
-<li><em>Maximizing</em> will try to maximize every window to fill the whole screen. It might be useful to selectively affect placement of some windows using the window-specific settings.</li>
-<li><em>Cascade</em> will cascade the windows</li>
-<li><em>Random</em> will use a random position</li>
-<li><em>Centered</em> will place the window centered</li>
-<li><em>Zero-Cornered</em> will place the window in the top-left corner</li>
-<li><em>Under Mouse</em> will place the window under the pointer</li>
-</ul>
-
-
-
-
- Smart
-
-
- -
-
- Maximizing
-
-
- -
-
- Cascade
-
-
- -
-
- Random
-
-
- -
-
- Centered
-
-
- -
-
- Zero-Cornered
-
-
- -
-
- Under Mouse
-
-
-
-
-
- -
-
-
- Shading
+
-
+
+
+ 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.
-
- true
+
+ Hide utility windows for inactive applications
-
-
-
-
-
- Dela&y:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- shadeHover
-
-
-
- -
-
-
- Qt::Horizontal
-
-
- QSizePolicy::Fixed
-
-
-
- 24
- 20
-
-
-
-
- -
-
-
- 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.
-
-
- &Enable hover
-
-
-
- -
-
-
- Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window.
-
-
- 500
-
-
- 0
-
-
- 3000
-
-
- 100
-
-
- ms
-
-
-
-
- -
-
-
- Special Windows
+
-
+
+
+ When turned on attempt to automatically detect when a newly opened window is related to an existing one and place them in the same window group.
-
- true
+
+ &Group similar windows automatically
-
-
-
-
-
- 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.
-
-
- Hide utility windows for inactive applications
-
-
-
-
KComboBox
QComboBox
-
- QSpinBox
- QWidget
-
-
-
- shadeHoverOn
- shadeHover
- inactiveTabsSkipTaskbar
- autogroupSimilarWindows
- autogroupInForeground
- placementCombo
- hideUtilityWindowsForInactive
-
diff --git a/kcmkwin/kwinoptions/focus.ui b/kcmkwin/kwinoptions/focus.ui
index 5d39c1ee4..735f81c05 100644
--- a/kcmkwin/kwinoptions/focus.ui
+++ b/kcmkwin/kwinoptions/focus.ui
@@ -1,585 +1,265 @@
KWinFocusConfigForm
0
0
- 656
- 540
+ 600
+ 500
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Activating windows
-
-
- true
-
-
-
-
-
-
- Qt::Horizontal
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- 0
-
-
-
-
-
-
-
- <b>Click To Focus</b><br>
-A window becomes active when you click into it.<br><br>
-This behaviour is common on other operating systems and<br>
-likely what you want.
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- <b>Click To Focus - Mouse Precedence</b><br>
-This is mostly the same as <i>Click To Focus</i><br><br>
-If an active window has to be chosen by the system<br>
-(eg. because the currently active one was closed) <br>
-the window under the mouse is the preferred candidate.<br><br>
-Unusual, but possible variant of <i>Click To Focus</i>.
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- <b>Focus Follows Mouse</b><br>
-Moving the mouse onto a window will activate it.<br><br>
-Eg. windows randomly appearing under the mouse will not gain the focus.<br>
-Focus stealing prevention takes place as usual.<br><br>
-Think as <i>Click To Focus</i> just without having to actually click.
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- <b>Focus Follows Mouse - Mouse Precedence</b><br>
-This is mostly the same as <i>Focus Follows Mouse</i><br><br>
-If an active window has to be chosen by the system<br>
-(eg. because the currently active one was closed) <br>
-the window under the mouse is the preferred candidate.<br><br>
-Choose this, if you want a hover controlled focus.
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- <b>Focus Under Mouse</b><br>
-The focus always remains on the window under the mouse.<br><br>
-
-Notice:<br>
-<b>Focus stealing prevention</b> and the <b>tabbox ("Alt+Tab")</b><br>
-contradict the policy and <b>will not work</b>.<br><br>
-You very likely want to use<br>
-<i>Focus Follows Mouse - Mouse Precedence</i> instead!
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- <b>Focus Strictly Under Mouse</b><br>
-The focus is always on the window under the mouse - in doubt nowhere -<br>
-very much like the focus behaviour in an unmanaged legacy X11 environment.<br><br>
-
-Notice:<br>
-<b>Focus stealing prevention</b> and the <b>tabbox ("Alt+Tab")</b><br>
-contradict the policy and <b>will not work</b>.<br><br>
-You very likely want to use<br>
-<i>Focus Follows Mouse - Mouse Precedence</i> instead!
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- &Delay focus by
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- delayFocus
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- This is the delay after which the window the mouse pointer is over will automatically receive focus.
-
-
- ms
-
-
- 0
-
-
- 3000
-
-
- 100
-
-
- 99
-
-
-
-
-
- -
-
-
-
-
-
- Focus &stealing prevention
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- focusStealing
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- <p>This option specifies how much KWin will try to prevent unwanted focus stealing caused by unexpected activation of new windows. (Note: This feature does not work with the Focus Under Mouse or Focus Strictly Under Mouse focus policies.)
-<ul>
-<li><em>None:</em> Prevention is turned off and new windows always become activated.</li>
-<li><em>Low:</em> Prevention is enabled; when some window does not have support for the underlying mechanism and KWin cannot reliably decide whether to activate the window or not, it will be activated. This setting may have both worse and better results than the medium level, depending on the applications.</li>
-<li><em>Medium:</em> Prevention is enabled.</li>
-<li><em>High:</em> New windows get activated only if no window is currently active or if they belong to the currently active application. This setting is probably not really usable when not using mouse focus policy.</li>
-<li><em>Extreme:</em> All windows must be explicitly activated by the user.</li>
-</ul></p>
-<p>Windows that are prevented from stealing focus are marked as demanding attention, which by default means their taskbar entry will be highlighted. This can be changed in the Notifications control module.</p>
-
-
-
-
- None
-
-
- -
-
- Low
-
-
- -
-
- Medium
-
-
- -
-
- High
-
-
- -
-
- Extreme
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
-
-
- -
-
-
- 0
-
-
-
-
-
-
- 0
- 0
-
-
-
-
- 75
- true
-
-
-
- Policy
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Click
-
-
-
- -
-
-
- 5
-
-
- 1
-
-
- Qt::Horizontal
-
-
- QSlider::NoTicks
-
-
- 0
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Hover
-
-
-
-
-
-
-
-
- -
-
-
- Qt::Horizontal
+
+
-
+
+
+ Qt::AlignHCenter|Qt::AlignTop
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Raising windows
-
-
- true
-
-
-
-
-
-
- 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.
-
+
-
+
+
+ Window &activation policy:
+
+
+ windowFocusPolicyCombo
+
+
+
+ -
+
+
+ With this option you can specify how and when windows will be focused.
+
+
-
- &Raise on hover, delayed by
-
-
-
- -
-
-
- Qt::Horizontal
+ Click to focus
-
-
- 40
- 20
-
+
+ -
+
+ Click to focus (mouse precedence)
-
-
- -
-
-
-
- 0
- 0
-
+
+ -
+
+ Focus follows mouse
-
- This is the delay after which the window that the mouse pointer is over will automatically come to the front.
+
+ -
+
+ Focus follows mouse (mouse precedence)
-
- ms
+
+ -
+
+ Focus under mouse
-
- 0
+
+ -
+
+ Focus strictly under mouse
-
- 3000
+
+
+
+ -
+
+
+ &Delay focus by:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ delayFocus
+
+
+
+ -
+
+
+ This is the delay after which the window the mouse pointer is over will automatically receive focus.
+
+
+ ms
+
+
+ 0
+
+
+ 3000
+
+
+ 100
+
+
+
+ -
+
+
+ Focus &stealing prevention:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ focusStealing
+
+
+
+ -
+
+
+ <html><head/><body><p>This option specifies how much KWin will try to prevent unwanted focus stealing caused by unexpected activation of new windows. (Note: This feature does not work with the <span style=" font-style:italic;">Focus under mouse</span> or <span style=" font-style:italic;">Focus strictly under mouse</span> focus policies.) </p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">None:</span> Prevention is turned off and new windows always become activated.</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Low:</span> Prevention is enabled; when some window does not have support for the underlying mechanism and KWin cannot reliably decide whether to activate the window or not, it will be activated. This setting may have both worse and better results than the medium level, depending on the applications.</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Medium:</span> Prevention is enabled.</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">High:</span> New windows get activated only if no window is currently active or if they belong to the currently active application. This setting is probably not really usable when not using mouse focus policy.</li><li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Extreme:</span> All windows must be explicitly activated by the user.</li></ul><p>Windows that are prevented from stealing focus are marked as demanding attention, which by default means their taskbar entry will be highlighted. This can be changed in the Notifications control module.</p></body></html>
+
+
-
+
+ None
-
- 100
+
+ -
+
+ Low
-
- 99
+
+ -
+
+ Medium
-
-
- -
-
-
- 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.
+
+ -
+
+ High
+
+ -
- C&lick raises active window
+ Extreme
-
-
-
-
+
+
+
+ -
+
+
+ Raising windows:
+
+
+
+ -
+
+
+ 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.
+
+
+ &Click raises active window
+
+
+
+ -
+
+
-
+
+
+ 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.
+
+
+ &Raise on hover, delayed by:
+
+
+
+ -
+
+
+ This is the delay after which the window that the mouse pointer is over will automatically come to the front.
+
+
+ ms
+
+
+ 0
+
+
+ 3000
+
+
+ 100
+
+
+
+
+
+ -
+
+
+ Multiscreen behavior:
+
+
+
+ -
+
+
+ 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.
+
+
+ Active screen follows &mouse
+
+
+
+ -
+
+
+ When this option is enabled, focus operations are limited only to the active Xinerama screen
+
+
+ &Separate screen focus
+
+
+
+ -
+
+
+
+ 280
+ 0
+
+
+
+ Window activation policy description
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
+
+
+ true
+
+
+
+
- -
+
-
Qt::Vertical
20
- 192
+ 40
- -
-
-
- Multiscreen behaviour
-
-
- true
-
-
-
-
-
-
- When this option is enabled, focus operations are limited only to the active Xinerama screen
-
-
- S&eparate screen focus
-
-
-
- -
-
-
- 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.
-
-
- Active screen follows &mouse
-
-
-
-
-
-
KComboBox
QComboBox
-
- focusStealing
- autoRaiseOn
- autoRaise
- delayFocus
- separateScreenFocus
- activeMouseScreen
-
-
-
- windowFocusPolicy
- valueChanged(int)
- stackedWidget
- setCurrentIndex(int)
-
-
- 244
- 38
-
-
- 444
- 84
-
-
-
-
+
diff --git a/kcmkwin/kwinoptions/kwinactions.desktop b/kcmkwin/kwinoptions/kwinactions.desktop
index ed73e9fba..4abfd9f0a 100644
--- a/kcmkwin/kwinoptions/kwinactions.desktop
+++ b/kcmkwin/kwinoptions/kwinactions.desktop
@@ -1,188 +1,188 @@
[Desktop Entry]
Icon=preferences-system-windows-action
Type=Service
X-KDE-ServiceTypes=KCModule
Exec=kcmshell5 kwinactions
X-DocPath=kcontrol/windowbehaviour/index.html#titlebar-actions
Icon=preferences-system-windows-actions
X-KDE-Library=kcm_kwinoptions
X-KDE-PluginKeyword=kwinactions
-Name=Actions
+Name=Window Actions
Name[af]=Aksies
Name[ar]=إجراءات
Name[be]=Дзеянні
Name[be@latin]=Aperacyi
Name[bg]=Действия
Name[bn]=কাজ
Name[bn_IN]=কর্ম
Name[br]=Oberoù
Name[bs]=Radnje
Name[ca]=Accions
Name[ca@valencia]=Accions
Name[cs]=Činnosti
Name[csb]=Dzejania
Name[cy]=Gweithredoedd
Name[da]=Handlinger
Name[de]=Aktionen
Name[el]=Ενέργειες
Name[en_GB]=Actions
Name[eo]=Agoj
Name[es]=Acciones
Name[et]=Tegevused
Name[eu]=Ekintzak
Name[fa]=کنشها
Name[fi]=Toiminnot
Name[fr]=Actions
Name[fy]=Aksjes
Name[ga]=Gníomhartha
Name[gl]=Accións
Name[gu]=ક્રિયાઓ
Name[he]=פעולות
Name[hi]=क्रियाएं
Name[hne]=काम
Name[hr]=Aktivnosti
Name[hu]=Műveletek
Name[ia]=Actiones
Name[id]=Actions
Name[is]=Aðgerðir
Name[it]=Azioni
Name[ja]=動作
Name[ka]=ქცევა
Name[kk]=Амалдар
Name[km]=អំពើ
Name[kn]=ಕ್ರಿಯೆಗಳು
Name[ko]=동작
Name[ku]=Çalakî
Name[lt]=Veiksmai
Name[lv]=Darbības
Name[mai]=क्रियासभ
Name[mk]=Акции
Name[ml]=പ്രവര്ത്തനങ്ങള്
Name[mr]=क्रिया
Name[ms]=Tindakan
Name[nb]=Handlinger
Name[nds]=Akschonen
Name[ne]=कार्य
Name[nl]=Acties
Name[nn]=Handlingar
Name[oc]=Accions
Name[pa]=ਕਾਰਵਾਈਆਂ
Name[pl]=Działania
Name[pt]=Acções
Name[pt_BR]=Ações
Name[ro]=Acțiuni
Name[ru]=Действия
Name[se]=Doaimmat
Name[si]=ක්රියා
Name[sk]=Akcie
Name[sl]=Dejanja
Name[sr]=Радње
Name[sr@ijekavian]=Радње
Name[sr@ijekavianlatin]=Radnje
Name[sr@latin]=Radnje
Name[sv]=Åtgärder
Name[ta]=செயல்கள்
Name[te]=చర్యలు
Name[tg]=Амалҳо
Name[th]=การกระทำ
Name[tr]=Eylemler
Name[ug]=مەشغۇلاتلار
Name[uk]=Дії
Name[uz]=Amallar
Name[uz@cyrillic]=Амаллар
Name[vi]=Hành động
Name[wa]=Accions
Name[xh]=Iintshukumo
Name[x-test]=xxActionsxx
Name[zh_CN]=操作
Name[zh_TW]=動作
-Comment=Mouse Actions on Windows
+Comment=Configure mouse actions for windows and titlebars
Comment[bs]=Akcioje miša na prozorima
Comment[ca]=Accions del ratolí en les finestres
Comment[ca@valencia]=Accions del ratolí en les finestres
Comment[cs]=Činnosti myši na oknech
Comment[da]=Musehandlinger på vinduer
Comment[de]=Maus-Aktionen für Fenster
Comment[el]=Ενέργειες ποντικιού στα παράθυρα
Comment[en_GB]=Mouse Actions on Windows
Comment[es]=Acciones del ratón sobre las ventanas
Comment[et]=Hiiretoimingud akendes
Comment[eu]=Sagu-ekintzak leihoetan
Comment[fi]=Ikkunoiden hiiritoiminnot
Comment[fr]=Actions de souris sur les fenêtres
Comment[gl]=Accións do rato nas xanelas
Comment[he]=הגדרות פעולות עכבר
Comment[hu]=Egérműveletek az ablakokon
Comment[ia]=Actiones de mus sur fenestras
Comment[id]=Aksi Mouse di Window
Comment[it]=Azioni del mouse sulle finestre
Comment[ja]=ウインドウ上でのマウスアクション
Comment[ko]=창 마우스 동작 설정
Comment[lt]=Pelės veiksmai ant langų
Comment[nb]=Musehandlinger på vinduer
Comment[nds]=Muusakschonen för Finstern fastleggen
Comment[nl]=Muisacties op vensters
Comment[nn]=Musehandlingar på vindauge
Comment[pa]=ਵਿੰਡੋਜ਼ ਉੱਤੇ ਮਾਊਸ ਐਕਸ਼ਨ
Comment[pl]=Działania myszy na oknach
Comment[pt]=Acções do Rato nas Janelas
Comment[pt_BR]=Ações do mouse nas janelas
Comment[ru]=Настройка действий мыши для окон
Comment[sk]=Akcie myši na oknách
Comment[sl]=Dejanja miške na oknih
Comment[sr]=Радње мишем над прозорима
Comment[sr@ijekavian]=Радње мишем над прозорима
Comment[sr@ijekavianlatin]=Radnje mišem nad prozorima
Comment[sr@latin]=Radnje mišem nad prozorima
Comment[sv]=Musåtgärder för fönster
Comment[tr]=Pencerelerde Fare Eylemleri
Comment[uk]=Дії над вікнами за допомогою миші
Comment[x-test]=xxMouse Actions on Windowsxx
Comment[zh_CN]=窗口的鼠标动作
Comment[zh_TW]=視窗上的滑鼠動作
X-KDE-Keywords=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize
X-KDE-Keywords[bs]=sjena,povećali,povećala,smanjiti,umanjiti,sniziti,izbornik operacija,naslovnica,promjena veličine
X-KDE-Keywords[ca]=ombra,maximitza,maximitza,minimitza,minimitza,abaixa,menú d'operacions,barra de títol,redimensiona
X-KDE-Keywords[ca@valencia]=ombra,maximitza,maximitza,minimitza,minimitza,abaixa,menú d'operacions,barra de títol,redimensiona
X-KDE-Keywords[da]=skyg,maksimer,minimer,nedre,operationsmenu,titellinje,ændr størrelse
X-KDE-Keywords[de]=Fenstermenü,Fensterheber,Maximieren,Minimieren,Nach oben/unten,Titelleiste,Größe ändern
X-KDE-Keywords[el]=σκιά,μεγιστοποίηση,μεγιστοποίηση,ελαχιστοποίηση,ελαχιστοποίηση, χαμηλότερα,μενού λειτουργιών,γραμμή τίτλου,αλλαγή μεγέθους
X-KDE-Keywords[en_GB]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize
X-KDE-Keywords[es]=sombra,maximizar,maximizar,minimizar,minimizar,inferior,menú de operaciones,barra de título,cambio de tamaño
X-KDE-Keywords[et]=varjamine,peitmine,maksimeerimine,minimeerimine,allakerimine,üleskerimine,menüü,tiitliriba,suuruse muutmine
X-KDE-Keywords[eu]=bildu,maximizatu,ikonotu,jaitsi,eragiketa-menua,titulu-barra,tamainaz aldatu
X-KDE-Keywords[fi]=varjosta,rullaa,suurenna,pienennä,laske,toimintovalikko,otsikkopalkki,muuta kokoa
X-KDE-Keywords[fr]=ombre, maximiser, maximise, minimiser, minimise, menu des opérations, barre de titre, redimensionner
X-KDE-Keywords[ga]=scáth,scáthaigh,uasmhéadaigh,íosmhéadaigh,íoslaghdaigh,laghdaigh,roghchlár oibríochta,barra teidil,athraigh méid
X-KDE-Keywords[gl]=sombra,sombrear,maximizar,minimizar,recoller,menú de operacións, barra de título, redimensionar
X-KDE-Keywords[hu]=árnyék,maximalizálás,maximalizálás,minimalizálás,minimalizálás,alacsonyabb,műveletek menü,címsáv,átméretezés
X-KDE-Keywords[ia]=tinta,maximisa,maximisa,minimisa,minimisa,plus basse,menu de operationes,barra de titulo, redimensionar
X-KDE-Keywords[id]=bayangan,maksimalkan,maksimalkan,minimalkan,minimalkan,ke bawah,menu operasi,titlebar,ubah ukuran
X-KDE-Keywords[it]=ombra,massimizza,minimizza,abbassa,menu operazioni,barra del titolo,ridimensiona
X-KDE-Keywords[kk]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize
X-KDE-Keywords[km]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize
X-KDE-Keywords[ko]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,최대화,최소화,제목 표시줄,크기 조정
X-KDE-Keywords[nb]=rull,maksimer,minimer,senk,handlinger,meny,tittellinje,endre størrelse
X-KDE-Keywords[nds]=Inrullen,maximeren,minimeren,na achtern,Akschonenmenü,Titelbalken,Finsternmenü,Grött ännern
X-KDE-Keywords[nl]=verdonkeren,maximaliseren,minimaliseren,naar onderen,bedieningsmenu,titelbalk,grootte wijzigen
X-KDE-Keywords[nn]=rull,fald saman,fald ut,samanfalding,maksimer,minimer,senk,handlingar,meny,tittellinje,storleiksendring
X-KDE-Keywords[pl]=zwiń,maksymalizuj,minimalizuj,obniż,operacje na menu,pasek tytułu,zmień rozmiar
X-KDE-Keywords[pt]=enrolar,maximizar,minimizar,baixar,menu de operações,barra de título,dimensionar
X-KDE-Keywords[pt_BR]=enrolar,maximizar,minimizar,baixar,menu de operações,barra de título,redimensionar
X-KDE-Keywords[ru]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,свернуть,распахнуть,убрать вниз,меню операций,меню действий,заголовок окна,заголовок,изменить размер
X-KDE-Keywords[sk]=tieň,maximalizácia,maximalizovanie,minimalizácia,minimalizovanie,nižsí,ponuka operácií,titulkový pruh,zmeniť veľkosť
X-KDE-Keywords[sl]=zvij,povečaj,razpni,pomanjšaj,skrči,dvigni,spusti,naslovna vrstica,spremeni velikost,okenski meni,meni okna
X-KDE-Keywords[sr]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,сенка,максимизуј,минимизуј,спусти,мени радњи,насловна трака,промени величину
X-KDE-Keywords[sr@ijekavian]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,сенка,максимизуј,минимизуј,спусти,мени радњи,насловна трака,промени величину
X-KDE-Keywords[sr@ijekavianlatin]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,senka,maksimizuj,minimizuj,spusti,meni radnji,naslovna traka,promeni veličinu
X-KDE-Keywords[sr@latin]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,senka,maksimizuj,minimizuj,spusti,meni radnji,naslovna traka,promeni veličinu
X-KDE-Keywords[sv]=skugga,maximera,minimera,åtgärdsmeny,namnlist,ändra storlek
X-KDE-Keywords[tr]=geri yükle, gölgele,büyüt,küçült,aşağı al,işlemler menüsü,başlık çubuğu,yeniden boyutlandır
X-KDE-Keywords[uk]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,тінь,максимізувати,розгорнути,згорнути,нижче,меню дій,заголовок,смужка заголовка,розмір,розміри,зміна розмірів
X-KDE-Keywords[x-test]=xxshadexx,xxmaximisexx,xxmaximizexx,xxminimizexx,xxminimisexx,xxlowerxx,xxoperations menuxx,xxtitlebarxx,xxresizexx
X-KDE-Keywords[zh_CN]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize,阴影,最大化,最小化,降低,动作,菜单,标题栏,更改大小
X-KDE-Keywords[zh_TW]=shade,maximise,maximize,minimize,minimise,lower,operations menu,titlebar,resize
diff --git a/kcmkwin/kwinoptions/kwinadvanced.desktop b/kcmkwin/kwinoptions/kwinadvanced.desktop
index 797424250..9749798ba 100644
--- a/kcmkwin/kwinoptions/kwinadvanced.desktop
+++ b/kcmkwin/kwinoptions/kwinadvanced.desktop
@@ -1,186 +1,186 @@
[Desktop Entry]
Icon=preferences-system-windows-actions
Type=Service
X-KDE-ServiceTypes=KCModule
Exec=kcmshell5 kwinadvanced
X-DocPath=kcontrol/windowbehaviour/index.html#action-advanced
X-KDE-Library=kcm_kwinoptions
X-KDE-PluginKeyword=kwinadvanced
-Name=Advanced
+Name=Advanced Window Behavior
Name[af]=Gevorderd
Name[ar]=متقدم
Name[be]=Асаблівы
Name[be@latin]=Asablivaje
Name[bg]=Допълнителни
Name[bn]=অগ্রসর
Name[bn_IN]=উন্নত বৈশিষ্ট্য
Name[br]=Barek
Name[bs]=Napredno
Name[ca]=Avançat
Name[ca@valencia]=Avançat
Name[cs]=Pokročilé
Name[csb]=Awansowóné
Name[cy]=Uwch
Name[da]=Avanceret
Name[de]=Erweitert
Name[el]=Για προχωρημένους
Name[en_GB]=Advanced
Name[eo]=Pliaj
Name[es]=Avanzado
Name[et]=Muu
Name[eu]=Aurreratua
Name[fa]=پیشرفته
Name[fi]=Lisäasetukset
Name[fr]=Avancé
Name[fy]=Avansearre
Name[ga]=Casta
Name[gl]=Avanzado
Name[gu]=ઉચ્ચ
Name[he]=הגדרות מתקדמות
Name[hi]=विस्तृत
Name[hne]=विस्तृत
Name[hr]=Napredno
Name[hu]=Speciális
Name[ia]=Avantiate
Name[id]=Advanced
Name[is]=Ítarlegt
Name[it]=Avanzate
Name[ja]=詳細
Name[ka]=დამატებით
Name[kk]=Жетелеу
Name[km]=កម្រិតខ្ពស់
Name[kn]=ಪ್ರೌಢ
Name[ko]=고급
Name[ku]=Pêşketî
Name[lt]=Sudėtingesni
Name[lv]=Paplašināti
Name[mai]=उन्नत
Name[mk]=Напредни
Name[ml]=സങ്കീര്ണ്ണമായ
Name[mr]=प्रगत
Name[ms]=Lanjutan
Name[nb]=Avansert
Name[nds]=Verwiedert
Name[ne]=उन्नत
Name[nl]=Geavanceerd
Name[nn]=Avansert
Name[oc]=A_vançat
Name[pa]=ਤਕਨੀਕੀ
Name[pl]=Zaawansowane
Name[pt]=Avançado
Name[pt_BR]=Avançado
Name[ro]=Avansat
Name[ru]=Дополнительно
Name[se]=Viiddiduvvon
Name[si]=උසස්
Name[sk]=Pokročilé
Name[sl]=Napredno
Name[sr]=Напредно
Name[sr@ijekavian]=Напредно
Name[sr@ijekavianlatin]=Napredno
Name[sr@latin]=Napredno
Name[sv]=Avancerat
Name[ta]=உயர்நிலை
Name[te]=ఆధునాతన
Name[tg]=Иловагӣ
Name[th]=ขั้นสูง
Name[tr]=Gelişmiş
Name[ug]=ئالىي
Name[uk]=Додатково
Name[uz]=Qoʻshimcha
Name[uz@cyrillic]=Қўшимча
Name[vi]=Nâng cao
Name[wa]=Sipepieus
Name[xh]=Ebhekisa phambili
Name[x-test]=xxAdvancedxx
Name[zh_CN]=高级
Name[zh_TW]=進階
-Comment=Advanced Window Management Features
+Comment=Configure advanced window management options
Comment[bs]=Napredne mogućnosti upravljanja prozoeima
Comment[ca]=Característiques avançades per a la gestió de les finestres
Comment[ca@valencia]=Característiques avançades per a la gestió de les finestres
Comment[cs]=Pokročilé vlastností správy oken
Comment[da]=Avancerede vindueshåndteringsegenskaber
Comment[de]=Erweiterte Fensterverwaltung
Comment[el]=Διαμόρφωση προχωρημένων χαρακτηριστικών της διαχείρισης παραθύρων
Comment[en_GB]=Advanced Window Management Features
Comment[es]=Funciones avanzadas del gestor de ventanas
Comment[et]=Muud aknahalduse omadused
Comment[eu]=Leiho kudeaketaren ezaugarri aurreratuak
Comment[fi]=Ikkunoinnin lisäominaisuudet
Comment[fr]=Fonctionnalités de gestion avancée des fenêtres
Comment[gl]=Funcionalidades avanzadas da xestión de xanelas
Comment[he]=תכונות ניהול חלונות מתקדמים
Comment[hu]=Speciális ablakkezelési szolgáltatások
Comment[ia]=Characteristicas avantiate de gestion de fenestra
Comment[id]=Fitur Pengelolaan Window Tingkat-lanjut
Comment[it]=Funzionalità avanzate della gestione delle finestre
Comment[ja]=高度なウインドウ管理機能
Comment[ko]=고급 창 관리자 기능 설정
Comment[lt]=Išsamesnės langų tvarkymo savybės
Comment[nb]=Funksjoner for avansert vindusbehandling
Comment[nds]=Verwiedert Finsterinstellen
Comment[nl]=Geavanceerde vensterbeheermogelijkheden
Comment[nn]=Avanserte vindaugshandsamarfunksjonar
Comment[pa]=ਤਕਨੀਕੀ ਵਿੰਡੋ ਮੈਨਜੇਮੈਂਟ ਫੀਚਰ
Comment[pl]=Zaawansowane ustawienia zarządzania oknami
Comment[pt]=Funcionalidades de Gestão de Janelas Avançadas
Comment[pt_BR]=Recursos avançados de gerenciamento de janelas
Comment[ru]=Настройка дополнительных возможностей управления окнами
Comment[sk]=Pokročilé možnosti správy okien
Comment[sl]=Napredne zmožnosti upravljanja oken
Comment[sr]=Напредне могућности управљања прозорима
Comment[sr@ijekavian]=Напредне могућности управљања прозорима
Comment[sr@ijekavianlatin]=Napredne mogućnosti upravljanja prozorima
Comment[sr@latin]=Napredne mogućnosti upravljanja prozorima
Comment[sv]=Avancerade fönsterhanteringsfunktioner
Comment[tr]=Gelişmiş Pencere Yönetim Özellikleri
Comment[uk]=Додаткові можливості з керування вікнами
Comment[x-test]=xxAdvanced Window Management Featuresxx
Comment[zh_CN]=高级窗口管理特性
Comment[zh_TW]=進階視窗管理功能
-X-KDE-Keywords=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior
+X-KDE-Keywords=unshade,unshading,shade,shading,border,hover,active borders,tiling,tabs,tabbing,window,window tabbing,window grouping,window tiling,placement,window placement,placement of windows,window advanced behavior
X-KDE-Keywords[bs]=sjenčanje, granične, lebdjenje, aktivne granice, popločavanje, Kartice, tabovanje, prozorno tabovanje, grupiranje prozora, pločica, prozorna pločica, plasman przora, plasman prozorâ, napredo ponašanje prozora
X-KDE-Keywords[ca]=ombra,vora,passar per sobre,vores actives,mosaic,pestanyes,pestanyes de finestra,agrupació de les finestres,mosaic de les finestres,col·locació de les finestres,comportament avançat de les finestres
X-KDE-Keywords[ca@valencia]=ombra,vora,passar per damunt,vores actives,mosaic,pestanyes,pestanyes de finestra,agrupació de les finestres,mosaic de les finestres,col·locació de les finestres,comportament avançat de les finestres
X-KDE-Keywords[da]=kant,hover,aktive kanter,tiling,faneblade,vinduesfaneblade,gruppering af vinduer,vinduesplacering,placering af vinduer,avanceret vinduesopførsel
X-KDE-Keywords[de]=Fensterheber,Rand,Überfahren,Aktive Ränder,Kacheln,Unterfenster,Fenstergruppierung,Fensterkachelung,Fensteranordnung,Erweitertes Fensterverhalten
X-KDE-Keywords[el]=σκίαση,περίγραμμα,αιώρηση,ενεργά περιγράμματα,παράθεση,στηλοθέτες,στηλοθέτηση,στηλοθέτηση παραθύρων,ομαδοποίηση παραθύρων,παράθεση παραθύρων,τοποθέτηση παραθύρων,τοποθέτηση παραθύρων,προχωρημένη συμπεριφορά παραθύρων
X-KDE-Keywords[en_GB]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behaviour
X-KDE-Keywords[es]=sombra,borde,pasada,bordes activos,mosaico,pestañas,páginas en pestañas,pestañas de páginas,agrupación de ventanas,ventanas en mosaico,posicionamiento de ventanas,comportamiento avanzado de las ventanas
X-KDE-Keywords[et]=varjamine,piire,kohalviibimine,aktiivsed piirded,paanimine,kaardid,aknad kaartidena,akende rühmitamine,akende paanimine,akende paigutus, akende täpne käitumine
X-KDE-Keywords[eu]=biltzea,ertza,gainetik pasatzea,ertz aktiboak,lauza, fitxak, leihoen fitxak,leihoak lauza moduan,leihoen kokalekua,leihoen portaera aurreratua
X-KDE-Keywords[fi]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,varjostus,raja,kohdistus,aktiiviset reunat,välilehdet,ikkunoiden ryhmittely,ikkunoiden sijoittelu,ikkunoiden lisäasetukset
X-KDE-Keywords[fr]=ombres, bord, survol, bords actifs, mosaïque, onglets, tabulation, changement d'onglet, groupement de fenêtres, mosaïque de fenêtres, placement de fenêtres, comportement avancé des fenêtres
X-KDE-Keywords[gl]=sombra,bordo,beira,pasar,bordos activos,beiras activas,lapelas,agrupar xanelas, situación das xanelas, posicionamento das xanelas,comportamento avanzado das xanelas
X-KDE-Keywords[hu]=árnyékolás,szegély,lebegés,aktív szegélyek,csempézés,bejárás,ablakbejárás,ablakcsoportosítás,ablakcsempézés,ablakelhelyezés,ablakok elhelyezése,ablak speciális viselkedése
X-KDE-Keywords[ia]=umbrar,margine,planante,margines active,con tegulas,schedas,tabbing,tabbing de fenestra,gruppante fenestra,fenestra con tegulas,placiamento de fenestra,placiamento de fenestras, comportamento avantiate de fenestra
X-KDE-Keywords[id]=bayangan,batas,melayang,batas aktif,ubin,tab,tab,tab window,grup window,ubin window,penempatan window,penempatan window,perilaku lanjutan window
X-KDE-Keywords[it]=ombreggiatura,bordo,sovrapponi,bordi attivi,affiancamento,schede,navigazione schede,finestre a schede,raggruppamento finestre,affiancamento finestre,posizionamento finestre,posizionamento delle finestre,comportamento avanzato delle finestre
X-KDE-Keywords[kk]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior
X-KDE-Keywords[km]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior
X-KDE-Keywords[ko]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,그림자,경계선,호버,지나다니기,타일,탭,창 탭,창 그룹,창 타일,창 위치
X-KDE-Keywords[nb]=-gardinrulling,kant,sveve,aktive kanter,flislegging,faner,vindusfaner,vindusgruppering,vindus-flislegging,vindusplassering,plassering av vinduer,avansert vindusoppførsel
X-KDE-Keywords[nds]=Inrullen,Rahmen,sweven,aktive Kanten,kacheln,Paneels,wesseln,Finster,Finsterkoppel,utrichten,verwiedert,Platzeren
X-KDE-Keywords[nl]=verduisteren,rand,overzweven,actieve randen,schuin achter elkaar,tabbladen,met tabbladen werken,vensterwisseling,verstergroepering,vensters schuin achter elkaar,vensterplaatsing,plaatsing van vensters,geavanceerd gedrag van vensters
X-KDE-Keywords[nn]=opprulling,kant,sveva,aktive kantar,flislegging,faner,vindaugsfaner,vindaugsgruppering,vindaugsflislegging,vindaugsplassering,plassering av vindauge,avansert vindaugsåtferd
X-KDE-Keywords[pl]=zwijanie,obramowanie,unoszenie,aktywne obramowania,kafelkowanie,karty,tworzenie kart, umieszczanie okien w kartach,grupowanie okien,kafelkowanie okien,umieszczanie okien, zaawansowane zachowania okien
X-KDE-Keywords[pt]=sombra,contorno,passagem,contornos activos,lado-a-lado,páginas,páginas da janela,agrupamento de janelas,janelas lado-a-lado,colocação das janelas,comportamento avançado das janelas
X-KDE-Keywords[pt_BR]=sombra,contorno,passagem,contornos ativos,lado a lado,páginas,páginas da janela,agrupamento de janelas,janelas lado a lado,colocação das janelas,comportamento avançado das janelas
X-KDE-Keywords[ru]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,затенение,граница,наведение,активные границы,мозаика,вкладки,окна во вкладках,группировка окон,мозаичный режим,окон,расположение окон,расширенное поведение окон
X-KDE-Keywords[sk]=tieňovanie,okraj,prechod,aktívne okraje,dlaždicovanie,karty,kartovanie okien, zoskupovanie okien,dlaždicovanie okien,umiestnenie okna,poloha okien,pokročilé správanie okien
X-KDE-Keywords[sl]=zvijanje,rob,obroba,robovi,obrobe,prehod,lebdenje,tlakovanje,zavihki,združevanje oken,tlakovanje oken,postavljanje oken,postavitev oken,napredno obnašanje oken
X-KDE-Keywords[sr]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,сенка,ивица,лебдење,активне ивице,поплочавање,језичци,прозори под језичцима,груписање прозора,поплочавање прозора,постављење прозора,напредног понашање прозора
X-KDE-Keywords[sr@ijekavian]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,сенка,ивица,лебдење,активне ивице,поплочавање,језичци,прозори под језичцима,груписање прозора,поплочавање прозора,постављење прозора,напредног понашање прозора
X-KDE-Keywords[sr@ijekavianlatin]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,senka,ivica,lebdenje,aktivne ivice,popločavanje,jezičci,prozori pod jezičcima,grupisanje prozora,popločavanje prozora,postavljenje prozora,naprednog ponašanje prozora
X-KDE-Keywords[sr@latin]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,senka,ivica,lebdenje,aktivne ivice,popločavanje,jezičci,prozori pod jezičcima,grupisanje prozora,popločavanje prozora,postavljenje prozora,naprednog ponašanje prozora
X-KDE-Keywords[sv]=skuggning,kanter,hålla musen över,aktiva kanter,sida vid sida,flikar,fönsterflikar,fönstergruppering,fönster sida vid sida,fönsterplacering,placering av fönster,avancerat fönsterbeteende
X-KDE-Keywords[tr]=gölgeleme,geri yükleme,kenarlık,üzerine gelme,etkin kenarlık,döşeme,sekmeler,sekmeleme,pencere sekmeleme,pencere gruplama,pencere döşeme,pencere konumlandırma,pencere yerleşimi,gelişmiş pencere davranışları
X-KDE-Keywords[uk]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,тіні,границі,межі,краї,активні краї,плитка,тайлінґ,вкладки,мозаїка,вікно з вкладками,групування вікон,розташування вікон, додаткові ефекти поведінки
X-KDE-Keywords[x-test]=xxshadingxx,xxborderxx,xxhoverxx,xxactive bordersxx,xxtilingxx,xxtabsxx,xxtabbingxx,xxwindow tabbingxx,xxwindow groupingxx,xxwindow tilingxx,xxwindow placementxx,xxplacement of windowsxx,xxwindow advanced behaviorxx
X-KDE-Keywords[zh_CN]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior,阴影,边框,悬停,激活边界,平铺,标签,窗口标签,窗口分组,平铺窗口,窗口位置,窗口高级行为
X-KDE-Keywords[zh_TW]=shading,border,hover,active borders,tiling,tabs,tabbing,window tabbing,window grouping,window tiling,window placement,placement of windows,window advanced behavior
diff --git a/kcmkwin/kwinoptions/kwinfocus.desktop b/kcmkwin/kwinoptions/kwinfocus.desktop
index a7a480cbb..8586574db 100644
--- a/kcmkwin/kwinoptions/kwinfocus.desktop
+++ b/kcmkwin/kwinoptions/kwinfocus.desktop
@@ -1,182 +1,182 @@
[Desktop Entry]
Icon=preferences-system-windows
Type=Service
X-KDE-ServiceTypes=KCModule
Exec=kcmshell5 kwinfocus
X-DocPath=kcontrol/windowbehaviour/index.html#action-focus
X-KDE-Library=kcm_kwinoptions
X-KDE-PluginKeyword=kwinfocus
-Name=Focus
+Name=Window Focus Behavior
Name[af]=Fokus
Name[ar]=التركيز
Name[be]=Фокус
Name[be@latin]=Fokus
Name[bg]=Фокус
Name[bn]=ফোকাস
Name[br]=Fokus
Name[bs]=Fokus
Name[ca]=Focus
Name[ca@valencia]=Focus
Name[cs]=Zaměření
Name[csb]=Zrëszanié
Name[cy]=Canolbwynt
Name[da]=Fokus
Name[de]=Aktivierung
Name[el]=Εστίαση
Name[en_GB]=Focus
Name[eo]=Fokuso
Name[es]=Foco
Name[et]=Fookus
Name[eu]=Fokua
Name[fa]=کانون
Name[fi]=Kohdistus
Name[fr]=Focus
Name[fy]=Focus
Name[ga]=Fócas
Name[gl]=Foco
Name[gu]=ધ્યાન
Name[he]=התמקדות
Name[hi]=फ़ोकस
Name[hne]=फोकस
Name[hr]=Fokus
Name[hu]=Fókuszálás
Name[ia]=Foco
Name[id]=Focus
Name[is]=Virkni
Name[it]=Attivazione
Name[ja]=フォーカス
Name[ka]=ფოკუსი
Name[kk]=Назар
Name[km]=ផ្ដោត
Name[kn]=ನಾಭೀಕರಿಸು (ಫೋಕಸ್)
Name[ko]=초점
Name[ku]=Nîvend Bike
Name[lt]=Fokusas
Name[lv]=Fokuss
Name[mai]=फोकस
Name[mk]=Фокусирање
Name[ml]=ഫോക്കസ്
Name[mr]=केंद्र
Name[ms]=Fokus
Name[nb]=Fokus
Name[nds]=Fokus
Name[ne]=फोकस
Name[nl]=Focus
Name[nn]=Fokus
Name[pa]=ਫੋਕਸ
Name[pl]=Uaktywnianie
Name[pt]=Foco
Name[pt_BR]=Foco
Name[ro]=Focalizare
Name[ru]=Фокус
Name[se]=Fohkus
Name[si]=නාඹිගත කරන්න
Name[sk]=Zameranie
Name[sl]=Žarišče
Name[sr]=Фокус
Name[sr@ijekavian]=Фокус
Name[sr@ijekavianlatin]=Fokus
Name[sr@latin]=Fokus
Name[sv]=Fokus
Name[ta]=முனைப்படுத்து
Name[te]=దృష్టి
Name[tg]=Фокус
Name[th]=การโฟกัส
Name[tr]=Odaklama
Name[ug]=فوكۇس
Name[uk]=Фокус
Name[uz]=Fokus
Name[uz@cyrillic]=Фокус
Name[vi]=Tập trung
Name[wa]=Focus
Name[xh]=Focus
Name[x-test]=xxFocusxx
Name[zh_CN]=对焦
Name[zh_TW]=焦點
-Comment=Active Window Policy
+Comment=Configure window activation policy
Comment[bs]=Pravila aktivnih prozora
Comment[ca]=Política de la finestra activa
Comment[ca@valencia]=Política de la finestra activa
Comment[cs]=Chování aktivního okna
Comment[da]=Politik for aktivt vindue
Comment[de]=Richtlinie für aktives Fenster
Comment[el]=Πολιτική ενεργού παραθύρου
Comment[en_GB]=Active Window Policy
Comment[es]=Política de la ventana activa
Comment[et]=Aktiivse akna reegel
Comment[eu]=Leiho aktiboentzako politika
Comment[fi]=Aktiivisen ikkunan valintatapa
Comment[fr]=Politique pour les fenêtres actives
Comment[gl]=Política da xanela activa
Comment[he]=מדיניות חלון פעיל
Comment[hu]=Aktív ablakok szabályai
Comment[id]=Kebijakan Window Aktif
Comment[it]=Politica finestra attiva
Comment[ko]=활성 창 정책
Comment[lt]=Aktyvus lango taisyklės
Comment[nb]=ActiveWindow-styring
Comment[nds]=Regel för't aktive Finster
Comment[nl]=Beleid voor actief venster
Comment[nn]=Aktiv vindaugsstyring
Comment[pa]=ਸਰਗਰਮ ਵਿੰਡੋ ਪਾਲਸੀ
Comment[pl]=Zasady aktywowania okna
Comment[pt]=Política da Janela Activa
Comment[pt_BR]=Política da janela ativa
Comment[ru]=Правила смены активного окна
Comment[sk]=Politika aktívneho okna
Comment[sl]=Pravilnik dejavnih oken
Comment[sr]=Смерница активирања прозора
Comment[sr@ijekavian]=Смерница активирања прозора
Comment[sr@ijekavianlatin]=Smernica aktiviranja prozora
Comment[sr@latin]=Smernica aktiviranja prozora
Comment[sv]=Aktiv fönsterprincip
Comment[tr]=Etkin Pencere Politikası
Comment[uk]=Правила для задіяння вікон
Comment[x-test]=xxActive Window Policyxx
Comment[zh_CN]=活动窗口策略
Comment[zh_TW]=作用中視窗政策
-X-KDE-Keywords=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior
+X-KDE-Keywords=focus,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior
X-KDE-Keywords[bs]=fokus, smještaj, automatski rast, rast, kliknite na rast, tastatura, CDE, Alt-Tab, cijeli desktop, fokus slijedi miša, fokus prevenciju, usredotoči krade, fokus politike, fokus prozora ponašanje, prozor zaslon ponašanje
X-KDE-Keywords[ca]=focus,col·locació,elevació automàtica,elevació,elevació en clic,teclat,CDE,alt-tab,tots els escriptoris,focus segueix el ratolí,prevenció del focus,robatori del focus,política del focus,comportament del focus de la finestra,comportament en pantalla de la finestra
X-KDE-Keywords[ca@valencia]=focus,col·locació,elevació automàtica,elevació,elevació en clic,teclat,CDE,alt-tab,tots els escriptoris,focus segueix el ratolí,prevenció de focus,robatori de focus,política de focus,comportament del focus de la finestra,comportament en pantalla de la finestra
X-KDE-Keywords[da]=fokus,placering,autohæv,hæv,klikhæv,tastatur,CDE,alt-tab,alle skriveborde,fokus følger mus,fokusforhindring,stjæler fokus,fokuspolitik,opførsel for vinduesfokus
X-KDE-Keywords[de]=Fokus,Aktivierung,Anordnung,Platzierung,Automatisch nach vorne,Auf Klick nach vorne,Tastatur,CDE,Alt-Tab,Alle Arbeitsflächen,Aktivierung bei Mauskontakt,Vorbeugung gegen unerwünschte Aktivierung,Aktivierungsregel,Aktivierungsverhalten des Fensters,Fensterverhalten
X-KDE-Keywords[el]=εστίαση,τοποθέτηση,αυτόματη αύξηση,αύξηση,αύξηση κλικ,πληκτρολόγιο,CDE,alt-tab,όλες οι επιφάνειες εργασίας,εστίαση ακολουθεί ποντίκι,πρόληψη εστίασης,κλοπή εστίασης,πολιτική εστίασης,συμπεριφορά εστίασης παραθύρων,συμπεριφορά οθόνης παραθύρων
X-KDE-Keywords[en_GB]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behaviour,window screen behaviour
X-KDE-Keywords[es]=foco,posicionamiento,auto levantar,levantar,clic para levantar,teclado,CDE,alt-tab,todo el escritorio,el foco sigue al ratón,prevención de foco,robo del foco,política del foco,comportamiento del foco de las ventanas,comportamiento de la pantalla de ventanas
X-KDE-Keywords[et]=fookus,asetus,paigutus,automaatne esiletoomine,klõpsuga esiletoomine,klaviatuur,CDE,alt-tab,kõik töölauad,fookus järgib hiirt,fookuse vältimine,fookuse röövimine,fookuse reegel,akna fookuse käitumine
X-KDE-Keywords[eu]=fokua,kokaleku,automatikoki igo,igo,egin klik igotzeko,teklatu,DE,alt-tab,mahaigain guztiak,fokuak saguari jarraitzen dio,foku-prebentzioa,foku-lapurreta,fokuaren gidalerro,leihoen fokuaren portaera,leihoen pantailen portaera
X-KDE-Keywords[fi]=kohdistus,sijoitus,automaattinen nosto,automaattinen nostaminen,nosta,nosta napsauttamalla,näppäimistö,alt-sarkain,kaikki työpöydät,kohdistus seuraa hiirtä,kohdistuksen esto,kohdistuksen varastaminen,kohdistustapa,ikkunoiden kohdistuksen toiminta,ikkunoiden näyttötoiminta,focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior
X-KDE-Keywords[fr]=focus, placement, agrandissement automatique, agrandissement, clic d'agrandissement, clavier, CDE, alt-tab, tous les bureaux, focus suivi par la souris, prise de focus, politique de focus, comportement du focus des fenêtres, comportement des fenêtres
X-KDE-Keywords[gl]=foco,posicionamento,erguer automaticamente,erguer,erguer ao premer,teclado,CDE,alt-tab,todo o escritorio,foco que segue o rato,prevención do foco,roubar o foco,política de foco,comportamento de foco de xanela,comportamento de pantalla de xanela
X-KDE-Keywords[hu]=fókusz,elhelyezés,automatikus felemelés,felemelés,kattintásra felemelés,billentyűzet,CDE,alt-tab,összes asztal,egérkövető fókusz,fókuszmegelőzés,fókuszlopás,fókusz házirend,ablakfókusz működése,ablakképernyő működése
X-KDE-Keywords[ia]=focus,placiamento,auto raise,raise,click raise,clavierp,CDE,alt-tab,all desktop,focus seque mus,prevention de focus,focus stealing,politica de focus,comportamento de foco de fenestra,comportamento de schermo de fenestra
X-KDE-Keywords[id]=fokus,penempatan,naikkan otomatis,naikkan,klik naikkan,papan ketik,CDE,alt-tab,semua desktop,fokus mengikuti mouse,pencegahan fokus,pencurian fokus,kebijakan fokus,perilaku fokus window,perilaku layar window
X-KDE-Keywords[it]=fuoco,posizionamento,avanzamento automatico,avanzamento,avanzamento con clic,tastiera,CDE,alt-tab,tutti i desktop,il fuco segue il mouse,impedisci il fuoco,mantieni il fuoco,regole fuoco,regole fuoco finestra,comportamento finestra
X-KDE-Keywords[kk]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior
X-KDE-Keywords[km]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior
X-KDE-Keywords[ko]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,초점,위치,키보드,모든 데스크톱,초점,초점 훔치기,초점 훔치기 방지,초점 정책,창 초점 행동,창 화면 행동
X-KDE-Keywords[nb]=fokus,plassering,autohev,hev,klikk-hev,tastatur,CDE,alt-tab,alle skrivebord,fokus følger mus,fokushindring,fokus-stjeling,fokuspraksis,fokusoppførsel for vinduer,vindusoppførsel på skjerm
X-KDE-Keywords[nds]=Fokus,Platzeren,automaatsch,na vörn,op Klick,Tastatuur,CDE,Alt-Tab,all Schriefdischen,Muusfokus,verhöden,verleren,Fokusregel,Schirm,bedregen
X-KDE-Keywords[nl]=focus,plaatsing,automatisch omhoog komen,omhoog komen,omhoog komen bij klikken,toetsenbord,CDE,alt-tab,alle bureaubladen,focus volgt muis,voorkomen van focus,focus stelen,focusbeleid,focusgedrag in venster,gedrag van vensterscherm
X-KDE-Keywords[nn]=fokus,plassering,autohev,hev,klikk-og-hev,tastatur,CDE,alt-tab,alle skrivebord,fokus følgjer mus,fokushindring,fokussteling,fokuspraksis,fokusåtferd for vindauge,vindaugsåtferd på skjerm
X-KDE-Keywords[pl]=uaktywnienie,umieszczenie,auto wznoszenie,wznoszenie,wznoszenie na kliknięcie,klawiatura,CDE,alt-tab,wszystkie pulpity
X-KDE-Keywords[pt]=foco,colocação,elevação automática,elevar,elevar ao carregar,teclado,CDE,alt-tab,todos os ecrãs,foco segue o rato,prevenção do foco,roubo do foco,política de foco,comportamento do foco da janela,comportamento da janela no ecrã
X-KDE-Keywords[pt_BR]=foco,colocação,elevação automática,elevar,elevar ao clicar,teclado,CDE,alt-tab,todas as áreas de trabalho,foco segue o mouse,prevenção do foco,captura do foco,política de foco,comportamento do foco da janela,comportamento da janela na tela
X-KDE-Keywords[ru]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,фокус,размещение,автоматически,поднятие,поднимать,клавиатура,весь рабочий стол,фокус следует за мышью,фокус под мышью,похищение фокуса,предотвращение перехвата фокуса,поведение фокуса,окон,поведение экрана
X-KDE-Keywords[sk]=zameranie,umiestnenie,automatické zdvihnutie,zdvihnutie,klik na zdvihnutie,klávesnica,CDE,alt-tab, všetky plochy,zameranie nasleduje mys,predchádzanie zameraniu,kradnutie zamerania,politika zamerania, správania zamerania okien,správania okien obrazovky
X-KDE-Keywords[sl]=fokus,žarišče,postavitev,postavljanje,samodejni dvig,samodejno dvigovanje,dvig,dvigovanje,dvig na klik,tipkovnica,cde,celotno namizje,fokus sledi miški,žarišče sledi miškipreprečevanje fokusa,preprečevanje žarišča,kraja fokusa,kraja žarišča,pravila fokusiranja,pravila za žarišče,obnašanje pri fokusiranju oken,obnašanje pri postavljanju oken v žarišče,obnašanje oken
X-KDE-Keywords[sr]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,фокус,постављење,аутоматско дизање,дизање,дизање кликом,тастатура,ЦДЕ,Alt-Tab,све површи,фокус прати миш,спречавање фокуса,крађа фокуса,смерница фокуса,понашање фокусирања прозора
X-KDE-Keywords[sr@ijekavian]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,фокус,постављење,аутоматско дизање,дизање,дизање кликом,тастатура,ЦДЕ,Alt-Tab,све површи,фокус прати миш,спречавање фокуса,крађа фокуса,смерница фокуса,понашање фокусирања прозора
X-KDE-Keywords[sr@ijekavianlatin]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,fokus,postavljenje,automatsko dizanje,dizanje,dizanje klikom,tastatura,CDE,Alt-Tab,sve površi,fokus prati miš,sprečavanje fokusa,krađa fokusa,smernica fokusa,ponašanje fokusiranja prozora
X-KDE-Keywords[sr@latin]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,fokus,postavljenje,automatsko dizanje,dizanje,dizanje klikom,tastatura,CDE,Alt-Tab,sve površi,fokus prati miš,sprečavanje fokusa,krađa fokusa,smernica fokusa,ponašanje fokusiranja prozora
X-KDE-Keywords[sv]=fokus,placering,fönsterbeteende,animering,höj,höj automatiskt,höj med klick,CDE,alt-tab,alla skrivbord,fokus följer musen,förhindra fokus,stjäla fokus,fokusprincip,fönsterfokusbeteende,fönsterskärmbeteende
X-KDE-Keywords[tr]=odakla,odak,yerleşim,otomatik yükselt,yükselt,tıkla yükselt,klavye,CDE,alt-tab,tüm masaüstleri,odak fareyi takip etsin,odaklama engelleme,odak çalma,odaklama politikası,pencere odaklama davranışı,pencere ekran davranışı
X-KDE-Keywords[uk]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,фокус,фокусування,розташування,автопідняття,підняття,клацання,клавіатура,альт-таб,всі стільниці,фокус за мишею,запобігання,перехід фокуса,правила фокусування,поведінка вікон
X-KDE-Keywords[x-test]=xxfocusxx,xxplacementxx,xxauto raisexx,xxraisexx,xxclick raisexx,xxkeyboardxx,xxCDExx,xxalt-tabxx,xxall desktopxx,xxfocus follows mousexx,xxfocus preventionxx,xxfocus stealingxx,xxfocus policyxx,xxwindow focus behaviorxx,xxwindow screen behaviorxx
X-KDE-Keywords[zh_CN]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior,焦点,位置,自动升起,升起,点击升起,键盘,全部桌面,焦点跟随鼠标,偷取焦点,焦点策略,窗口焦点行为
X-KDE-Keywords[zh_TW]=focus,placement,auto raise,raise,click raise,keyboard,CDE,alt-tab,all desktop,focus follows mouse,focus prevention,focus stealing,focus policy,window focus behavior,window screen behavior
diff --git a/kcmkwin/kwinoptions/kwinmoving.desktop b/kcmkwin/kwinoptions/kwinmoving.desktop
index 9de7f4377..ea1af415e 100644
--- a/kcmkwin/kwinoptions/kwinmoving.desktop
+++ b/kcmkwin/kwinoptions/kwinmoving.desktop
@@ -1,185 +1,185 @@
[Desktop Entry]
Icon=preferences-system-windows-movement
Type=Service
X-KDE-ServiceTypes=KCModule
Exec=kcmshell5 kwinmoving
X-DocPath=kcontrol/windowbehaviour/index.html#action-moving
Icon=preferences-system-windows-move
X-KDE-Library=kcm_kwinoptions
X-KDE-PluginKeyword=kwinmoving
-Name=Moving
+Name=Window Movement
Name[af]=Beweeg
Name[ar]=التحريك
Name[be]=Перамяшчэнне
Name[be@latin]=Pierasoŭvańnie
Name[bg]=Преместване
Name[bn]=সরানো হচ্ছে
Name[br]=O tilec'hiañ
Name[bs]=Pomeranje
Name[ca]=Moviment
Name[ca@valencia]=Moviment
Name[cs]=Přesouvání
Name[csb]=Przesëwanié
Name[cy]=Symud
Name[da]=Flytter
Name[de]=Verschieben
Name[el]=Μετακίνηση
Name[en_GB]=Moving
Name[eo]=Movanta
Name[es]=Moviendo
Name[et]=Liigutamine
Name[eu]=Mugitzea
Name[fa]=حرکت
Name[fi]=Siirtäminen
Name[fr]=Déplacement
Name[fy]=Ferpleatsing
Name[ga]=Bogadh
Name[gl]=Movemento
Name[gu]=ખસેડવું
Name[he]=הזזה
Name[hi]=खिसकाते हुए
Name[hne]=खिसकावत हे
Name[hr]=Pomicanje
Name[hu]=Mozgatás
Name[ia]=Movente
Name[id]=Moving
Name[is]=Færa
Name[it]=Spostamento
Name[ja]=移動
Name[ka]=გადაადგილება
Name[kk]=Жылжыту
Name[km]=ការផ្លាស់ទី
Name[kn]=ಸರಿಸುವಿಕೆ
Name[ko]=이동
Name[ku]=Guhestin
Name[lt]=Perkėlimas
Name[lv]=Pārvietošana
Name[mai]=पठाए रहल
Name[mk]=Движење
Name[ml]=നീക്കുന്നു
Name[mr]=हलवित आहे
Name[nb]=Flytting
Name[nds]=Verschuven
Name[ne]=सार्दा
Name[nl]=Verplaatsing
Name[nn]=Flytting
Name[oc]=Desplaçament
Name[pa]=ਏਧਰ ਓਧਰ ਕਰੋ
Name[pl]=Przesuwanie
Name[pt]=Mover
Name[pt_BR]=Movendo
Name[ro]=Mutare
Name[ru]=Перемещение
Name[se]=Lihkadeamen
Name[si]=ගෙනයමින්
Name[sk]=Presun
Name[sl]=Premikanje
Name[sr]=Померање
Name[sr@ijekavian]=Помијерање
Name[sr@ijekavianlatin]=Pomijeranje
Name[sr@latin]=Pomeranje
Name[sv]=Förflyttning
Name[ta]=நகர்கிறது
Name[te]=కదుపు
Name[tg]=Таҳвилкунӣ
Name[th]=การย้าย
Name[tr]=Taşıma
Name[ug]=يۆتكەۋاتىدۇ
Name[uk]=Пересування
Name[uz]=Koʻchirish
Name[uz@cyrillic]=Кўчириш
Name[vi]=Di chuyển
Name[wa]=Bodjî
Name[xh]=Iyahamba
Name[x-test]=xxMovingxx
Name[zh_CN]=移动中
Name[zh_TW]=移動
-Comment=Window Moving
+Comment=Configure window movement options
Comment[bs]=Kretanje prozora
Comment[ca]=Moviment de les finestres
Comment[ca@valencia]=Moviment de les finestres
Comment[cs]=Posun oken
Comment[da]=Flytning af vinduer
Comment[de]=Fensterbewegung
Comment[el]=Μετακίνηση παραθύρου
Comment[en_GB]=Window Moving
Comment[es]=Movimiento de ventanas
Comment[et]=Akna liigutamine
Comment[eu]=Leihoak mugitzea
Comment[fi]=Ikkunoiden siirtäminen
Comment[fr]=Déplacement des fenêtres
Comment[gl]=Movemento da xanela
Comment[he]=מסגרת חלון
Comment[hu]=Ablakmozgatás
Comment[ia]=Movimento de fenestra
Comment[id]=Pemindahan Window
Comment[it]=Spostamento delle finestre
Comment[ko]=창 이동
Comment[lt]=Lango judinimas
Comment[nb]=Vindusflytting
Comment[nds]=Finstern bewegen
Comment[nl]=Verplaatsen van vensters
Comment[nn]=Vindaugsflytting
Comment[pa]=ਵਿੰਡੋ ਏਧਰ-ਓਧਰ ਕਰੋ
Comment[pl]=Przesuwanie okien
Comment[pt]=Movimentação das Janelas
Comment[pt_BR]=Movimentação da janela
Comment[ru]=Перемещение окон
Comment[sk]=Presuny okien
Comment[sl]=Premikanje oken
Comment[sr]=Померање прозора
Comment[sr@ijekavian]=Померање прозора
Comment[sr@ijekavianlatin]=Pomeranje prozora
Comment[sr@latin]=Pomeranje prozora
Comment[sv]=Fönsterförflyttning
Comment[tr]=Pencere Hareketi
Comment[uk]=Пересування вікон
Comment[vi]=Di chuyển cửa sổ
Comment[x-test]=xxWindow Movingxx
Comment[zh_CN]=窗口移动
Comment[zh_TW]=視窗移動
X-KDE-Keywords=moving,smart,cascade,maximize,maximise,snap zone,snap,border
X-KDE-Keywords[bs]=pomjeranje,pametno,kaskada,povećali,povećalo,namjestiti zonu,namjestiti,granica
X-KDE-Keywords[ca]=moviment,intel·ligent,cascada,maximització,zona d'ajust,ajust,vora
X-KDE-Keywords[ca@valencia]=moviment,intel·ligent,cascada,maximització,zona d'ajust,ajust,vora
X-KDE-Keywords[da]=flytning,smart,kaskade,maksimer,hægtzone,hægt,kant
X-KDE-Keywords[de]=Verschieben,Gestaffelt,Maximieren,Minimieren,Einrastzone,Ränder
X-KDE-Keywords[el]=κίνηση,έξυπνη,διαδοχική,μεγιστοποίηση,ελαχιστοποίηση,snap zone,snap,περίγραμμα
X-KDE-Keywords[en_GB]=moving,smart,cascade,maximize,maximise,snap zone,snap,border
X-KDE-Keywords[es]=movimiento,inteligente,cascada,maximizar,maximizar,zona de instantánea,instantánea,borde
X-KDE-Keywords[et]=liigutamine,nutikas,kaskaad,maksimeerimine,haardetsoon,haaramine,piire
X-KDE-Keywords[eu]=lekuz aldatzea,adimendun,kaskada,maximizatu,atxikitze-eremu,atxikitu,ertz
X-KDE-Keywords[fi]=siirtäminen,älykäs,porrastus,suurentaminen,tarttuminen,kiinnitysalue,tartunta,kiinnitys,kiinnittyminen,reuna
X-KDE-Keywords[fr]=déplacement, intelligent, cascade, maximiser, maximise, zone de rupture, rupture, bordure
X-KDE-Keywords[gl]=mover,intelixente,solapar,fervenza,maximizar,minimizar,zona de adherencia, adherencia,bordo,beira,bordo
X-KDE-Keywords[hu]=mozgatás,intelligens,lépcsőzetes,maximalizálás,maximalizálás,vonzási távolság,szegély
X-KDE-Keywords[ia]=movente,intelligente,cascada,maximisa,maximisa,zona de ruptura,ruptura,margine
X-KDE-Keywords[id]=pemindahan,cerdas,kaskade,maksimalkan,maksimalkan,zona jepret,jepret,bingkai
X-KDE-Keywords[it]=spostamento,intelligente,cascata,massimizza,zona di aggancio,agganciamento,bordo
X-KDE-Keywords[kk]=moving,smart,cascade,maximize,maximise,snap zone,snap,border
X-KDE-Keywords[km]=moving,smart,cascade,maximize,maximise,snap zone,snap,border
X-KDE-Keywords[ko]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,이동,스마트,계단식,최대화,경계선
X-KDE-Keywords[nb]=flytting,smart,kaskade,maksimer,gripesone,gripe,kant
X-KDE-Keywords[nds]=Bewegen,klook,överenanner,maximeren,Andockrebeet,andocken,Rahmen,Kant
X-KDE-Keywords[nl]=verplaatsen,smart,cascade,maximaliseren,zone vastzetten,vastzetten,grens
X-KDE-Keywords[nn]=flytting,smart,kaskade,maksimering,gripesone,gripa,kant
X-KDE-Keywords[pl]=przesuwanie,elegancki,kaskada,maksymalizuj,obszar przyciągania,przyciągaj,obramowanie
X-KDE-Keywords[pt]=movimento,inteligente,cascata,maximizar,ajuste à zona,ajuste,contorno
X-KDE-Keywords[pt_BR]=movimento,movimentação,inteligente,cascata,maximizar,ajuste à área,ajuste,borda
X-KDE-Keywords[ru]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,перемещение,каскад,распахнуть,свернуть,захват,привязка,граница
X-KDE-Keywords[sk]=presun,smart,kaskáda,maximalizácia,miinmalizácia,oblasť prichytenia,prichytenie,rám
X-KDE-Keywords[sl]=premikanje,pametno premikanje,kaskada,povečaj,razpni,območje pripenjanja,pripenjanje,rob,robovi,obroba,obrobe
X-KDE-Keywords[sr]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,померање,паметно,наслагано,максимизуј,зона лепљења,лепљење,ивица
X-KDE-Keywords[sr@ijekavian]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,померање,паметно,наслагано,максимизуј,зона лепљења,лепљење,ивица
X-KDE-Keywords[sr@ijekavianlatin]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,pomeranje,pametno,naslagano,maksimizuj,zona lepljenja,lepljenje,ivica
X-KDE-Keywords[sr@latin]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,pomeranje,pametno,naslagano,maksimizuj,zona lepljenja,lepljenje,ivica
X-KDE-Keywords[sv]=flytta,smart,kaskad,maximera,låszon,lås,kanter
X-KDE-Keywords[tr]=taşıma,akıllı,döşeme,büyütme,en büyük,kopma alanı,kopma,kenarlık
X-KDE-Keywords[uk]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,пересування,кмітливе,каскадом,максимізувати,розгорнути,прилипання,зона прилипання,межа
X-KDE-Keywords[x-test]=xxmovingxx,xxsmartxx,xxcascadexx,xxmaximizexx,xxmaximisexx,xxsnap zonexx,xxsnapxx,xxborderxx
X-KDE-Keywords[zh_CN]=moving,smart,cascade,maximize,maximise,snap zone,snap,border,移动,智能,最大化,级联,吸附区,吸附,边框
X-KDE-Keywords[zh_TW]=moving,smart,cascade,maximize,maximise,snap zone,snap,border
diff --git a/kcmkwin/kwinoptions/kwinoptions.desktop b/kcmkwin/kwinoptions/kwinoptions.desktop
index b5da379e6..0c7830deb 100644
--- a/kcmkwin/kwinoptions/kwinoptions.desktop
+++ b/kcmkwin/kwinoptions/kwinoptions.desktop
@@ -1,189 +1,189 @@
[Desktop Entry]
Exec=kcmshell5 kwinoptions
Icon=preferences-system-windows-actions
Type=Service
X-KDE-ServiceTypes=KCModule
X-DocPath=kcontrol/windowbehaviour/index.html
X-KDE-Library=kcm_kwinoptions
X-KDE-PluginKeyword=kwinoptions
X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=windowmanagement
X-KDE-Weight=40
Name=Window Behavior
Name[af]=Venstergedrag
Name[ar]=سلوك النوافذ
Name[be]=Паводзіны вокнаў
Name[be@latin]=Pavodziny akna
Name[bg]=Поведение на прозорците
Name[bn]=উইণ্ডো আচরণ
Name[bn_IN]=উইন্ডোর আচরণ
Name[br]=Emzalc'h ar prenester
Name[bs]=Ponašanje prozora
Name[ca]=Comportament de les finestres
Name[ca@valencia]=Comportament de les finestres
Name[cs]=Chování oken
Name[csb]=Ùchòwanié òkna
Name[cy]=Ymddygiad Ffenestri
Name[da]=Vinduesopførsel
Name[de]=Fensterverhalten
Name[el]=Συμπεριφορά παραθύρων
Name[en_GB]=Window Behaviour
Name[eo]=Fenestrokonduto
Name[es]=Comportamiento de las ventanas
Name[et]=Akende käitumine
Name[eu]=Leihoaren portaera
Name[fa]=رفتار پنجره
Name[fi]=Ikkunoiden toiminta
Name[fr]=Comportement des fenêtres
Name[fy]=Finstergedrach
Name[ga]=Oibriú na bhFuinneog
Name[gl]=Comportamento das xanelas
Name[gu]=વિન્ડો વર્તણૂક
Name[he]=התנהגות חלונות
Name[hi]=विंडो व्यवहार
Name[hne]=विंडो व्यवहार
Name[hr]=Ponašanje prozora
Name[hu]=Ablakműveletek
Name[ia]=Comportamento de fenestra
Name[id]=Perilaku Window
Name[is]=Hegðun glugga
Name[it]=Comportamento delle finestre
Name[ja]=ウィンドウの挙動
Name[ka]=ფანჯრის ქცევა
Name[kk]=Терезе қасиеттері
Name[km]=ឥរិយាបថបង្អួច
Name[kn]=ಕಿಟಕಿ ವರ್ತನೆ
Name[ko]=창 동작
Name[ku]=Helwesta Paceyan
Name[lt]=Langų elgsena
Name[lv]=Logu izturēšanās
Name[mai]=विंडो व्यवहार
Name[mk]=Однесување на прозорци
Name[ml]=ജാലകത്തിന്റെ വിശേഷത
Name[mr]=चौकट वर्तन
Name[nb]=Vindusoppførsel
Name[nds]=Finsterbedregen
Name[ne]=सञ्झ्याल व्यवहार
Name[nl]=Venstergedrag
Name[nn]=Vindaugsåtferd
Name[pa]=ਵਿੰਡੋ ਰਵੱਈਆ
Name[pl]=Zachowania okien
Name[pt]=Comportamento das Janelas
Name[pt_BR]=Comportamento das janelas
Name[ro]=Comportament fereastră
Name[ru]=Поведение окон
Name[se]=Láseláhtten
Name[si]=කවුළු හැසිරීම
Name[sk]=Správanie okien
Name[sl]=Obnašanje oken
Name[sr]=Понашање прозора
Name[sr@ijekavian]=Понашање прозора
Name[sr@ijekavianlatin]=Ponašanje prozora
Name[sr@latin]=Ponašanje prozora
Name[sv]=Fönsterbeteende
Name[ta]=சாளர நடத்தை
Name[te]=విండో ప్రవర్తన
Name[tg]=Холати тиреза
Name[th]=พฤติกรรมของหน้าต่าง
Name[tr]=Pencere Davranışı
Name[ug]=كۆزنەكنىڭ ئىش-ھەرىكەتلىرى
Name[uk]=Поведінка вікон
Name[uz]=Oynaning xususiyatlari
Name[uz@cyrillic]=Ойнанинг хусусиятлари
Name[vi]=Ứng xử của Cửa sổ
Name[wa]=Dujhance des fniesses
Name[xh]=Ukuziphatha kwe Window
Name[x-test]=xxWindow Behaviorxx
Name[zh_CN]=窗口行为
Name[zh_TW]=視窗行為
-Comment=Window Actions and Behavior
+Comment=Configure window actions and behavior
Comment[bs]=Akcije i ponašanje prozora
Comment[ca]=Accions i comportament de les finestres
Comment[ca@valencia]=Accions i comportament de les finestres
Comment[cs]=Činnosti a chování oken
Comment[da]=Vindueshandlinger og -opførsel
Comment[de]=Fenster-Aktionen und -verhalten
Comment[el]=Ενέργειες και συμπεριφορά παραθύρου
Comment[en_GB]=Window Actions and Behaviour
Comment[es]=Acciones y comportamiento de las ventanas
Comment[et]=Akende toimingud ja käitumine
Comment[eu]=Leihoen ekintzak eta portaera
Comment[fi]=Ikkunoiden toiminnot ja toiminta
Comment[fr]=Actions et comportement des fenêtres
Comment[gl]=Comportamento e accións das xanelas
Comment[he]=התנהגויות ופעולות של חלונות
Comment[hu]=Ablakműveletek és működés
Comment[ia]=Comportamento e actiones de fenestra
Comment[id]=Aksi dan Perilaku Window
Comment[it]=Azioni e comportamento delle finestre
Comment[ja]=ウィンドウのアクションと挙動
Comment[ko]=창 동작과 행동
Comment[lt]=Lango veiksmai ir elgsena
Comment[nb]=Vindusoppførsel og handlinger
Comment[nds]=Finsterakschonen und -bedregen
Comment[nl]=Vensteracties en gedrag
Comment[nn]=Handlingar og åtferd for vindauge
Comment[pa]=ਵਿੰਡੋ ਕਾਰੀਆਂ ਅਤੇ ਰਵੱਈਆ
Comment[pl]=Działania i zachowania okien
Comment[pt]=Acções e Comportamento das Janelas
Comment[pt_BR]=Ações e comportamento das janelas
Comment[ru]=Настройка поведения окон
Comment[sk]=Akcie a správanie okien
Comment[sl]=Dejanja in obnašanje oken
Comment[sr]=Понашање прозора и радње над њима
Comment[sr@ijekavian]=Понашање прозора и радње над њима
Comment[sr@ijekavianlatin]=Ponašanje prozora i radnje nad njima
Comment[sr@latin]=Ponašanje prozora i radnje nad njima
Comment[sv]=Fönsteråtgärder och beteende
Comment[tr]=Pencere Eylem ve Davranışları
Comment[uk]=Реакція і поведінка вікон
Comment[x-test]=xxWindow Actions and Behaviorxx
Comment[zh_CN]=窗口行为
Comment[zh_TW]=視窗動作與行為
X-KDE-Keywords=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick
X-KDE-Keywords[bs]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,fokus,pozicioniranje,ponašanje prozora,akcije prozora,animacija,podizanje,okvir,naslovna traka
X-KDE-Keywords[ca]=focus,emplaçament,comportament de la finestra,accions de la finestra,animació,elevació,elevació automàtica,finestres,marc,barra de títol,clic doble
X-KDE-Keywords[ca@valencia]=focus,emplaçament,comportament de la finestra,accions de la finestra,animació,elevació,elevació automàtica,finestres,marc,barra de títol,clic doble
X-KDE-Keywords[da]=fokus,placering,vinduesopførsel,vindueshandlinger,animation,hæv,autohæv,vinduesramme,titelbjælke,dobbeltklik
X-KDE-Keywords[de]=Aktivierung,Platzierung,Fensterverhalten,Fensteraktionen,Animation,Nach vorn/hinten, Fenster,Rahmen,Umrandung,Titelleiste,Doppelklick
X-KDE-Keywords[el]=εστίαση,τοποθέτηση,συμπεριφορά παραθύρου,κίνηση εικόνας,αύξηση,αυτόματη αύξηση,παράθυρα,πλαίσιο,γραμμή τίτλου,διπλό κλικ
X-KDE-Keywords[en_GB]=focus,placement,window behaviour,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick
X-KDE-Keywords[es]=foco,posicionamiento,comportamiento de las ventanas,acciones de las ventanas,animación,elevación,autoelevación,ventanas,marco,barra de título,doble clic
X-KDE-Keywords[et]=fookus,asetus,paigutus,akende käitumine,aknatoimingud,animeerimine,animatsioon,esiletoomine,automaatne esiletoomine,aknad,raam,tiitliriba,topeltklõps
X-KDE-Keywords[eu]=foku,kokaleku,leihoen portaera,leiho-ekintzak,animazio,igo,automatikoki igo,leihoak,marko,titulu-barra,klik bikoitz
X-KDE-Keywords[fi]=kohdistus,sijoittelu,sijoitus,ikkunoiden toiminta,ikkunoiden toiminnot,animaatio,nosta,automaattinen nosto,ikkunat,kehys,otsikkopalkki,kaksoisnapsautus,tuplanapsautus,kaksoisklikkaus,tuplaklikkaus
X-KDE-Keywords[fr]=focus, placement, comportement de la fenêtre, actions sur les fenêtres, animation, agrandissement, agrandissement automatique, fenêtres, cadre, barre de titre, double clic
X-KDE-Keywords[gl]=foco,posicionamento,comportamento das xanelas,accións das xanelas, animación,xanelas,moldura,barra de título,marco
X-KDE-Keywords[hu]=fókusz,elhelyezés,ablakműködés,ablakműveletek,animáció,felemelés,automatikus felemelés,ablakok,keret,címsor,dupla kattintás
X-KDE-Keywords[ia]=focus,placiamento,comportamento de fenestra,actiones de fenestra,animation,altiar,auto altiar,fenestras,quadro,barra de titulo,duple click
X-KDE-Keywords[id]=fokus,penempatan,perilaku window,aksi window,animasi,naikkan,naikkan otomatis,window,bingkai,titlebar,klik ganda
X-KDE-Keywords[it]=fuoco,posizionamento,comportamento della finestra,azioni delle finestre,animazione,sollevamento,sollevamento automatico,finestre,riquadro,barra del titolo,doppio clic
X-KDE-Keywords[ko]=focus,placement,window behavior,animation,raise,auto raise,windows,frame,titlebar,doubleclick,초점,위치,창 행동,애니메이션,올리기,창,프레임,제목 표시줄
X-KDE-Keywords[nb]=fokus,plassering,vindusoppførsel,vindushandlinger,animering,hev,autohev,vinduer,ramme,tittellinje,dobbeltklikk
X-KDE-Keywords[nds]=Fokus,Platzeren,Finsterbedregen,Finsterakschonen,Animeren,na vörn,automaatsch,Finstern,Rahmen,Titelbalken,Dubbelklick
X-KDE-Keywords[nl]=focus,plaatsing,venstegedrag,vensteracties,animatie,omhoog,automatisch omhoog,vensters,frame,titelbalk,dubbelklik
X-KDE-Keywords[nn]=fokus,plassering,vindaugsåtferd,vindaugshandlingar,animering,hev,autohev,vindauge,ramme,tittellinje,dobbeltklikk
X-KDE-Keywords[pl]=uaktywnienie,umieszczenie,zachowanie okna,działania okien,animacja,wzniesienie,auto-wzniesienie, okna,ramka,pasek tytułu,podwójne kliknięcie
X-KDE-Keywords[pt]=foco,colocação,comportamento da janela,acções das janelas,animação,elevar,elevar automaticamente,janelas,contorno,barra de título,duplo-click
X-KDE-Keywords[pt_BR]=foco,colocação,comportamento da janela,ações da janela,animação,elevar,elevar automaticamente,janelas,contorno,barra de título,clique duplo
X-KDE-Keywords[ru]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,фокус,местоположение,поведение окон,анимация,увеличение,автоувеличение,окна,рамка,заголовок,двойной щелчок,действия над окнами
X-KDE-Keywords[sk]=zameranie,umiestnenie,správanie okien,animácia,zdvihnúť,automaticky zdvihnúť,okná,rám,titulkový pruh,dvojklik
X-KDE-Keywords[sl]=fokus,žarišče,postavitev,postavljanje,obnašanje oken,dejanja oken,animacija,dvig,samodejni dvig,okna,okvir,naslovna vrstica,dvojni klik,dvoklik
X-KDE-Keywords[sr]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,фокус,постављење,понашање прозора,радње над прозорима,анимација,подигни,аутоматско подизање,прозор,оквир,насловна трака,двоклик
X-KDE-Keywords[sr@ijekavian]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,фокус,постављење,понашање прозора,радње над прозорима,анимација,подигни,аутоматско подизање,прозор,оквир,насловна трака,двоклик
X-KDE-Keywords[sr@ijekavianlatin]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,fokus,postavljenje,ponašanje prozora,radnje nad prozorima,animacija,podigni,automatsko podizanje,prozor,okvir,naslovna traka,dvoklik
X-KDE-Keywords[sr@latin]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,fokus,postavljenje,ponašanje prozora,radnje nad prozorima,animacija,podigni,automatsko podizanje,prozor,okvir,naslovna traka,dvoklik
X-KDE-Keywords[sv]=fokus,placering,fönsterbeteende,animering,höj,höj automatiskt,fönster,ram,namnlist,dubbelklick
X-KDE-Keywords[tr]=odak,yerleşim,pencere davranışı,pencere eylemleri,canlandırma,yükselt,otomatik yükselt,pencereler,çerçeve,başlık çubuğu,çift tıklama
X-KDE-Keywords[uk]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,фокус,розташування,місце,вікно,поведінка,поведінка вікон,дії,реакція,дії з вікнами,реакція вікон,анімація,підняти,підняття,автоматична,автоматично,рамка,заголовок,смужка заголовка,клацання,подвійне
X-KDE-Keywords[x-test]=xxfocusxx,xxplacementxx,xxwindow behaviorxx,xxwindow actionsxx,xxanimationxx,xxraisexx,xxauto raisexx,xxwindowsxx,xxframexx,xxtitlebarxx,xxdoubleclickxx
X-KDE-Keywords[zh_CN]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick,焦点,位置,窗口行为,窗口动作,动画,升起,自动升起,窗口,边框,标题栏,双击
X-KDE-Keywords[zh_TW]=focus,placement,window behavior,window actions,animation,raise,auto raise,windows,frame,titlebar,doubleclick
Categories=Qt;KDE;X-KDE-settings-looknfeel;
diff --git a/kcmkwin/kwinoptions/main.cpp b/kcmkwin/kwinoptions/main.cpp
index 9c1797622..66c03124d 100644
--- a/kcmkwin/kwinoptions/main.cpp
+++ b/kcmkwin/kwinoptions/main.cpp
@@ -1,249 +1,249 @@
/*
*
* Copyright (c) 2001 Waldo Bastian
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "main.h"
#include
//Added by qt3to4:
#include
#include
#include
#include
#include
#include
#include
#include "mouse.h"
#include "windows.h"
K_PLUGIN_FACTORY_DECLARATION(KWinOptionsFactory)
class KFocusConfigStandalone : public KFocusConfig
{
Q_OBJECT
public:
KFocusConfigStandalone(QWidget* parent, const QVariantList &)
: KFocusConfig(true, new KConfig("kwinrc"), parent)
{}
};
class KMovingConfigStandalone : public KMovingConfig
{
Q_OBJECT
public:
KMovingConfigStandalone(QWidget* parent, const QVariantList &)
: KMovingConfig(true, new KConfig("kwinrc"), parent)
{}
};
class KAdvancedConfigStandalone : public KAdvancedConfig
{
Q_OBJECT
public:
KAdvancedConfigStandalone(QWidget* parent, const QVariantList &)
: KAdvancedConfig(true, new KConfig("kwinrc"), parent)
{}
};
KWinOptions::KWinOptions(QWidget *parent, const QVariantList &)
: KCModule(parent)
{
mConfig = new KConfig("kwinrc");
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
tab = new QTabWidget(this);
layout->addWidget(tab);
mFocus = new KFocusConfig(false, mConfig, this);
mFocus->setObjectName(QLatin1String("KWin Focus Config"));
tab->addTab(mFocus, i18n("&Focus"));
connect(mFocus, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
mTitleBarActions = new KTitleBarActionsConfig(false, mConfig, this);
mTitleBarActions->setObjectName(QLatin1String("KWin TitleBar Actions"));
- tab->addTab(mTitleBarActions, i18n("&Titlebar Actions"));
+ tab->addTab(mTitleBarActions, i18n("Titlebar A&ctions"));
connect(mTitleBarActions, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
mWindowActions = new KWindowActionsConfig(false, mConfig, this);
mWindowActions->setObjectName(QLatin1String("KWin Window Actions"));
- tab->addTab(mWindowActions, i18n("Window Actio&ns"));
+ tab->addTab(mWindowActions, i18n("W&indow Actions"));
connect(mWindowActions, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
mMoving = new KMovingConfig(false, mConfig, this);
mMoving->setObjectName(QLatin1String("KWin Moving"));
- tab->addTab(mMoving, i18n("&Moving"));
+ tab->addTab(mMoving, i18n("Mo&vement"));
connect(mMoving, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
mAdvanced = new KAdvancedConfig(false, mConfig, this);
mAdvanced->setObjectName(QLatin1String("KWin Advanced"));
- tab->addTab(mAdvanced, i18n("Ad&vanced"));
+ tab->addTab(mAdvanced, i18n("Adva&nced"));
connect(mAdvanced, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
KAboutData *about =
new KAboutData(QStringLiteral("kcmkwinoptions"), i18n("Window Behavior Configuration Module"),
QString(), QString(), KAboutLicense::GPL,
i18n("(c) 1997 - 2002 KWin and KControl Authors"));
about->addAuthor(i18n("Matthias Ettrich"), QString(), "ettrich@kde.org");
about->addAuthor(i18n("Waldo Bastian"), QString(), "bastian@kde.org");
about->addAuthor(i18n("Cristian Tibirna"), QString(), "tibirna@kde.org");
about->addAuthor(i18n("Matthias Kalle Dalheimer"), QString(), "kalle@kde.org");
about->addAuthor(i18n("Daniel Molkentin"), QString(), "molkentin@kde.org");
about->addAuthor(i18n("Wynn Wilkes"), QString(), "wynnw@caldera.com");
about->addAuthor(i18n("Pat Dowler"), QString(), "dowler@pt1B1106.FSH.UVic.CA");
about->addAuthor(i18n("Bernd Wuebben"), QString(), "wuebben@kde.org");
about->addAuthor(i18n("Matthias Hoelzer-Kluepfel"), QString(), "hoelzer@kde.org");
setAboutData(about);
}
KWinOptions::~KWinOptions()
{
delete mConfig;
}
void KWinOptions::load()
{
mConfig->reparseConfiguration();
mFocus->load();
mTitleBarActions->load();
mWindowActions->load();
mMoving->load();
mAdvanced->load();
emit KCModule::changed(false);
}
void KWinOptions::save()
{
mFocus->save();
mTitleBarActions->save();
mWindowActions->save();
mMoving->save();
mAdvanced->save();
emit KCModule::changed(false);
// Send signal to kwin
mConfig->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
void KWinOptions::defaults()
{
mFocus->defaults();
mTitleBarActions->defaults();
mWindowActions->defaults();
mMoving->defaults();
mAdvanced->defaults();
}
QString KWinOptions::quickHelp() const
{
return i18n("Window Behavior
Here you can customize the way windows behave when being"
" moved, resized or clicked on. You can also specify a focus policy as well as a placement"
" policy for new windows.
"
" Please note that this configuration will not take effect if you do not use"
" KWin as your window manager. If you do use a different window manager, please refer to its documentation"
" for how to customize window behavior.
");
}
void KWinOptions::moduleChanged(bool state)
{
emit KCModule::changed(state);
}
KActionsOptions::KActionsOptions(QWidget *parent, const QVariantList &)
: KCModule(parent)
{
mConfig = new KConfig("kwinrc");
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
tab = new QTabWidget(this);
layout->addWidget(tab);
mTitleBarActions = new KTitleBarActionsConfig(false, mConfig, this);
mTitleBarActions->setObjectName(QLatin1String("KWin TitleBar Actions"));
tab->addTab(mTitleBarActions, i18n("&Titlebar Actions"));
connect(mTitleBarActions, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
mWindowActions = new KWindowActionsConfig(false, mConfig, this);
mWindowActions->setObjectName(QLatin1String("KWin Window Actions"));
tab->addTab(mWindowActions, i18n("Window Actio&ns"));
connect(mWindowActions, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
}
KActionsOptions::~KActionsOptions()
{
delete mConfig;
}
void KActionsOptions::load()
{
mTitleBarActions->load();
mWindowActions->load();
emit KCModule::changed(false);
}
void KActionsOptions::save()
{
mTitleBarActions->save();
mWindowActions->save();
emit KCModule::changed(false);
// Send signal to kwin
mConfig->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
void KActionsOptions::defaults()
{
mTitleBarActions->defaults();
mWindowActions->defaults();
}
void KActionsOptions::moduleChanged(bool state)
{
emit KCModule::changed(state);
}
K_PLUGIN_FACTORY_DEFINITION(KWinOptionsFactory,
registerPlugin("kwinactions");
registerPlugin("kwinfocus");
registerPlugin("kwinmoving");
registerPlugin("kwinadvanced");
registerPlugin("kwinoptions");
)
#include "main.moc"
#include "moc_main.cpp"
diff --git a/kcmkwin/kwinoptions/mouse.cpp b/kcmkwin/kwinoptions/mouse.cpp
index 3485b4808..8f48c14d7 100644
--- a/kcmkwin/kwinoptions/mouse.cpp
+++ b/kcmkwin/kwinoptions/mouse.cpp
@@ -1,566 +1,566 @@
/*
*
* Copyright (c) 1998 Matthias Ettrich
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "mouse.h"
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
namespace
{
char const * const cnf_Max[] = {
"MaximizeButtonLeftClickCommand",
"MaximizeButtonMiddleClickCommand",
"MaximizeButtonRightClickCommand",
};
char const * const tbl_Max[] = {
"Maximize",
"Maximize (vertical only)",
"Maximize (horizontal only)",
""
};
QPixmap maxButtonPixmaps[3];
void createMaxButtonPixmaps()
{
char const * maxButtonXpms[][3 + 13] = {
{
0, 0, 0,
"...............",
".......#.......",
"......###......",
".....#####.....",
"..#....#....#..",
".##....#....##.",
"###############",
".##....#....##.",
"..#....#....#..",
".....#####.....",
"......###......",
".......#.......",
"..............."
},
{
0, 0, 0,
"...............",
".......#.......",
"......###......",
".....#####.....",
".......#.......",
".......#.......",
".......#.......",
".......#.......",
".......#.......",
".....#####.....",
"......###......",
".......#.......",
"..............."
},
{
0, 0, 0,
"...............",
"...............",
"...............",
"...............",
"..#.........#..",
".##.........##.",
"###############",
".##.........##.",
"..#.........#..",
"...............",
"...............",
"...............",
"..............."
},
};
QByteArray baseColor(". c " + KColorScheme(QPalette::Active, KColorScheme::View).background().color().name().toLatin1());
QByteArray textColor("# c " + KColorScheme(QPalette::Active, KColorScheme::View).foreground().color().name().toLatin1());
for (int t = 0; t < 3; ++t) {
maxButtonXpms[t][0] = "15 13 2 1";
maxButtonXpms[t][1] = baseColor.constData();
maxButtonXpms[t][2] = textColor.constData();
maxButtonPixmaps[t] = QPixmap(maxButtonXpms[t]);
maxButtonPixmaps[t].setMask(maxButtonPixmaps[t].createHeuristicMask());
}
}
} // namespace
KWinMouseConfigForm::KWinMouseConfigForm(QWidget *parent)
: QWidget(parent)
{
setupUi(parent);
}
KWinActionsConfigForm::KWinActionsConfigForm(QWidget *parent)
: QWidget(parent)
{
setupUi(parent);
}
void KTitleBarActionsConfig::paletteChanged()
{
createMaxButtonPixmaps();
for (int i=0; i<3; ++i) {
m_ui->leftClickMaximizeButton->setItemIcon(i, maxButtonPixmaps[i]);
m_ui->middleClickMaximizeButton->setItemIcon(i, maxButtonPixmaps[i]);
m_ui->rightClickMaximizeButton->setItemIcon(i, maxButtonPixmaps[i]);
}
}
KTitleBarActionsConfig::KTitleBarActionsConfig(bool _standAlone, KConfig *_config, QWidget * parent)
: KCModule(parent), config(_config), standAlone(_standAlone)
, m_ui(new KWinMouseConfigForm(this))
{
// create the items for the maximize button actions
createMaxButtonPixmaps();
for (int i=0; i<3; ++i) {
m_ui->leftClickMaximizeButton->addItem(maxButtonPixmaps[i], QString());
m_ui->middleClickMaximizeButton->addItem(maxButtonPixmaps[i], QString());
m_ui->rightClickMaximizeButton->addItem(maxButtonPixmaps[i], QString());
}
createMaximizeButtonTooltips(m_ui->leftClickMaximizeButton);
createMaximizeButtonTooltips(m_ui->middleClickMaximizeButton);
createMaximizeButtonTooltips(m_ui->rightClickMaximizeButton);
connect(m_ui->coTiDbl, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiAct1, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiAct2, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiAct3, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiAct4, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiInAct1, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiInAct2, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coTiInAct3, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->leftClickMaximizeButton, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->middleClickMaximizeButton, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->rightClickMaximizeButton, SIGNAL(activated(int)), SLOT(changed()));
load();
}
KTitleBarActionsConfig::~KTitleBarActionsConfig()
{
if (standAlone)
delete config;
}
void KTitleBarActionsConfig::createMaximizeButtonTooltips(KComboBox *combo)
{
combo->setItemData(0, i18n("Maximize"), Qt::ToolTipRole);
combo->setItemData(1, i18n("Maximize (vertical only)"), Qt::ToolTipRole);
combo->setItemData(2, i18n("Maximize (horizontal only)"), Qt::ToolTipRole);
}
// do NOT change the texts below, they are written to config file
// and are not shown in the GUI
// they have to match the order of items in GUI elements though
const char* const tbl_TiDbl[] = {
"Maximize",
"Maximize (vertical only)",
"Maximize (horizontal only)",
"Minimize",
"Shade",
"Lower",
"Close",
"OnAllDesktops",
"Nothing",
""
};
const char* const tbl_TiAc[] = {
"Raise",
"Lower",
"Toggle raise and lower",
"Minimize",
"Shade",
"Close",
"Operations menu",
"Start window tab drag",
"Nothing",
""
};
const char* const tbl_TiInAc[] = {
"Activate and raise",
"Activate and lower",
"Activate",
"Raise",
"Lower",
"Toggle raise and lower",
"Minimize",
"Shade",
"Close",
"Operations menu",
"Start window tab drag",
"Nothing",
""
};
const char* const tbl_Win[] = {
"Activate, raise and pass click",
"Activate and pass click",
"Activate",
"Activate and raise",
""
};
const char* const tbl_WinWheel[] = {
"Scroll",
"Activate and scroll",
"Activate, raise and scroll",
""
};
const char* const tbl_AllKey[] = {
- "Meta",
"Alt",
+ "Meta",
""
};
const char* const tbl_All[] = {
"Move",
"Activate, raise and move",
"Toggle raise and lower",
"Resize",
"Raise",
"Lower",
"Minimize",
"Decrease Opacity",
"Increase Opacity",
"Nothing",
""
};
const char* const tbl_TiWAc[] = {
"Raise/Lower",
"Shade/Unshade",
"Maximize/Restore",
"Above/Below",
"Previous/Next Desktop",
"Change Opacity",
"Switch to Window Tab to the Left/Right",
"Nothing",
""
};
const char* const tbl_AllW[] = {
"Raise/Lower",
"Shade/Unshade",
"Maximize/Restore",
"Above/Below",
"Previous/Next Desktop",
"Change Opacity",
"Switch to Window Tab to the Left/Right",
"Nothing",
""
};
static const char* tbl_num_lookup(const char* const arr[], int pos)
{
for (int i = 0;
arr[ i ][ 0 ] != '\0' && pos >= 0;
++i) {
if (pos == 0)
return arr[ i ];
--pos;
}
abort(); // should never happen this way
}
static int tbl_txt_lookup(const char* const arr[], const char* txt)
{
int pos = 0;
for (int i = 0;
arr[ i ][ 0 ] != '\0';
++i) {
if (qstricmp(txt, arr[ i ]) == 0)
return pos;
++pos;
}
return 0;
}
void KTitleBarActionsConfig::setComboText(KComboBox* combo, const char*txt)
{
if (combo == m_ui->coTiDbl)
combo->setCurrentIndex(tbl_txt_lookup(tbl_TiDbl, txt));
else if (combo == m_ui->coTiAct1 || combo == m_ui->coTiAct2 || combo == m_ui->coTiAct3)
combo->setCurrentIndex(tbl_txt_lookup(tbl_TiAc, txt));
else if (combo == m_ui->coTiInAct1 || combo == m_ui->coTiInAct2 || combo == m_ui->coTiInAct3)
combo->setCurrentIndex(tbl_txt_lookup(tbl_TiInAc, txt));
else if (combo == m_ui->coTiAct4)
combo->setCurrentIndex(tbl_txt_lookup(tbl_TiWAc, txt));
else if (combo == m_ui->leftClickMaximizeButton ||
combo == m_ui->middleClickMaximizeButton ||
combo == m_ui->rightClickMaximizeButton) {
combo->setCurrentIndex(tbl_txt_lookup(tbl_Max, txt));
} else
abort();
}
const char* KTitleBarActionsConfig::functionTiDbl(int i)
{
return tbl_num_lookup(tbl_TiDbl, i);
}
const char* KTitleBarActionsConfig::functionTiAc(int i)
{
return tbl_num_lookup(tbl_TiAc, i);
}
const char* KTitleBarActionsConfig::functionTiInAc(int i)
{
return tbl_num_lookup(tbl_TiInAc, i);
}
const char* KTitleBarActionsConfig::functionTiWAc(int i)
{
return tbl_num_lookup(tbl_TiWAc, i);
}
const char* KTitleBarActionsConfig::functionMax(int i)
{
return tbl_num_lookup(tbl_Max, i);
}
void KTitleBarActionsConfig::showEvent(QShowEvent *ev)
{
if (!standAlone) {
// Workaround KCModule::showEvent() calling load(), see bug 163817
QWidget::showEvent(ev);
return;
}
KCModule::showEvent(ev);
}
void KTitleBarActionsConfig::changeEvent(QEvent *ev)
{
if (ev->type() == QEvent::PaletteChange) {
paletteChanged();
}
ev->accept();
}
void KTitleBarActionsConfig::load()
{
KConfigGroup windowsConfig(config, "Windows");
setComboText(m_ui->coTiDbl, windowsConfig.readEntry("TitlebarDoubleClickCommand", "Maximize").toLatin1());
setComboText(m_ui->leftClickMaximizeButton, windowsConfig.readEntry(cnf_Max[0], tbl_Max[0]).toLatin1());
setComboText(m_ui->middleClickMaximizeButton, windowsConfig.readEntry(cnf_Max[1], tbl_Max[1]).toLatin1());
setComboText(m_ui->rightClickMaximizeButton, windowsConfig.readEntry(cnf_Max[2], tbl_Max[2]).toLatin1());
KConfigGroup cg(config, "MouseBindings");
setComboText(m_ui->coTiAct1, cg.readEntry("CommandActiveTitlebar1", "Raise").toLatin1());
setComboText(m_ui->coTiAct2, cg.readEntry("CommandActiveTitlebar2", "Start Window Tab Drag").toLatin1());
setComboText(m_ui->coTiAct3, cg.readEntry("CommandActiveTitlebar3", "Operations menu").toLatin1());
setComboText(m_ui->coTiAct4, cg.readEntry("CommandTitlebarWheel", "Switch to Window Tab to the Left/Right").toLatin1());
setComboText(m_ui->coTiInAct1, cg.readEntry("CommandInactiveTitlebar1", "Activate and raise").toLatin1());
setComboText(m_ui->coTiInAct2, cg.readEntry("CommandInactiveTitlebar2", "Start Window Tab Drag").toLatin1());
setComboText(m_ui->coTiInAct3, cg.readEntry("CommandInactiveTitlebar3", "Operations menu").toLatin1());
}
void KTitleBarActionsConfig::save()
{
KConfigGroup windowsConfig(config, "Windows");
windowsConfig.writeEntry("TitlebarDoubleClickCommand", functionTiDbl(m_ui->coTiDbl->currentIndex()));
windowsConfig.writeEntry(cnf_Max[0], functionMax(m_ui->leftClickMaximizeButton->currentIndex()));
windowsConfig.writeEntry(cnf_Max[1], functionMax(m_ui->middleClickMaximizeButton->currentIndex()));
windowsConfig.writeEntry(cnf_Max[2], functionMax(m_ui->rightClickMaximizeButton->currentIndex()));
KConfigGroup cg(config, "MouseBindings");
cg.writeEntry("CommandActiveTitlebar1", functionTiAc(m_ui->coTiAct1->currentIndex()));
cg.writeEntry("CommandActiveTitlebar2", functionTiAc(m_ui->coTiAct2->currentIndex()));
cg.writeEntry("CommandActiveTitlebar3", functionTiAc(m_ui->coTiAct3->currentIndex()));
cg.writeEntry("CommandInactiveTitlebar1", functionTiInAc(m_ui->coTiInAct1->currentIndex()));
cg.writeEntry("CommandTitlebarWheel", functionTiWAc(m_ui->coTiAct4->currentIndex()));
cg.writeEntry("CommandInactiveTitlebar2", functionTiInAc(m_ui->coTiInAct2->currentIndex()));
cg.writeEntry("CommandInactiveTitlebar3", functionTiInAc(m_ui->coTiInAct3->currentIndex()));
if (standAlone) {
config->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
}
void KTitleBarActionsConfig::defaults()
{
setComboText(m_ui->coTiDbl, "Maximize");
setComboText(m_ui->coTiAct1, "Raise");
setComboText(m_ui->coTiAct2, "Start Window Tab Drag");
setComboText(m_ui->coTiAct3, "Operations menu");
setComboText(m_ui->coTiAct4, "Switch to Window Tab to the Left/Right");
setComboText(m_ui->coTiInAct1, "Activate and raise");
setComboText(m_ui->coTiInAct2, "Start Window Tab Drag");
setComboText(m_ui->coTiInAct3, "Operations menu");
setComboText(m_ui->leftClickMaximizeButton, tbl_Max[0]);
setComboText(m_ui->middleClickMaximizeButton, tbl_Max[1]);
setComboText(m_ui->rightClickMaximizeButton, tbl_Max[2]);
}
KWindowActionsConfig::KWindowActionsConfig(bool _standAlone, KConfig *_config, QWidget * parent)
: KCModule(parent), config(_config), standAlone(_standAlone)
, m_ui(new KWinActionsConfigForm(this))
{
connect(m_ui->coWin1, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coWin2, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coWin3, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coWinWheel, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coAllKey, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coAll1, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coAll2, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coAll3, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->coAllW, SIGNAL(activated(int)), SLOT(changed()));
load();
}
KWindowActionsConfig::~KWindowActionsConfig()
{
if (standAlone)
delete config;
}
void KWindowActionsConfig::setComboText(KComboBox* combo, const char*txt)
{
if (combo == m_ui->coWin1 || combo == m_ui->coWin2 || combo == m_ui->coWin3)
combo->setCurrentIndex(tbl_txt_lookup(tbl_Win, txt));
else if (combo == m_ui->coWinWheel)
combo->setCurrentIndex(tbl_txt_lookup(tbl_WinWheel, txt));
else if (combo == m_ui->coAllKey)
combo->setCurrentIndex(tbl_txt_lookup(tbl_AllKey, txt));
else if (combo == m_ui->coAll1 || combo == m_ui->coAll2 || combo == m_ui->coAll3)
combo->setCurrentIndex(tbl_txt_lookup(tbl_All, txt));
else if (combo == m_ui->coAllW)
combo->setCurrentIndex(tbl_txt_lookup(tbl_AllW, txt));
else
abort();
}
const char* KWindowActionsConfig::functionWin(int i)
{
return tbl_num_lookup(tbl_Win, i);
}
const char* KWindowActionsConfig::functionWinWheel(int i)
{
return tbl_num_lookup(tbl_WinWheel, i);
}
const char* KWindowActionsConfig::functionAllKey(int i)
{
return tbl_num_lookup(tbl_AllKey, i);
}
const char* KWindowActionsConfig::functionAll(int i)
{
return tbl_num_lookup(tbl_All, i);
}
const char* KWindowActionsConfig::functionAllW(int i)
{
return tbl_num_lookup(tbl_AllW, i);
}
void KWindowActionsConfig::showEvent(QShowEvent *ev)
{
if (!standAlone) {
QWidget::showEvent(ev);
return;
}
KCModule::showEvent(ev);
}
void KWindowActionsConfig::load()
{
KConfigGroup cg(config, "MouseBindings");
setComboText(m_ui->coWin1, cg.readEntry("CommandWindow1", "Activate, raise and pass click").toLatin1());
setComboText(m_ui->coWin2, cg.readEntry("CommandWindow2", "Activate and pass click").toLatin1());
setComboText(m_ui->coWin3, cg.readEntry("CommandWindow3", "Activate and pass click").toLatin1());
setComboText(m_ui->coWinWheel, cg.readEntry("CommandWindowWheel", "Scroll").toLatin1());
setComboText(m_ui->coAllKey, cg.readEntry("CommandAllKey", "Alt").toLatin1());
setComboText(m_ui->coAll1, cg.readEntry("CommandAll1", "Move").toLatin1());
setComboText(m_ui->coAll2, cg.readEntry("CommandAll2", "Toggle raise and lower").toLatin1());
setComboText(m_ui->coAll3, cg.readEntry("CommandAll3", "Resize").toLatin1());
setComboText(m_ui->coAllW, cg.readEntry("CommandAllWheel", "Nothing").toLatin1());
}
void KWindowActionsConfig::save()
{
KConfigGroup cg(config, "MouseBindings");
cg.writeEntry("CommandWindow1", functionWin(m_ui->coWin1->currentIndex()));
cg.writeEntry("CommandWindow2", functionWin(m_ui->coWin2->currentIndex()));
cg.writeEntry("CommandWindow3", functionWin(m_ui->coWin3->currentIndex()));
cg.writeEntry("CommandWindowWheel", functionWinWheel(m_ui->coWinWheel->currentIndex()));
cg.writeEntry("CommandAllKey", functionAllKey(m_ui->coAllKey->currentIndex()));
cg.writeEntry("CommandAll1", functionAll(m_ui->coAll1->currentIndex()));
cg.writeEntry("CommandAll2", functionAll(m_ui->coAll2->currentIndex()));
cg.writeEntry("CommandAll3", functionAll(m_ui->coAll3->currentIndex()));
cg.writeEntry("CommandAllWheel", functionAllW(m_ui->coAllW->currentIndex()));
if (standAlone) {
config->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
}
void KWindowActionsConfig::defaults()
{
setComboText(m_ui->coWin1, "Activate, raise and pass click");
setComboText(m_ui->coWin2, "Activate and pass click");
setComboText(m_ui->coWin3, "Activate and pass click");
setComboText(m_ui->coWinWheel, "Scroll");
setComboText(m_ui->coAllKey, "Alt");
setComboText(m_ui->coAll1, "Move");
setComboText(m_ui->coAll2, "Toggle raise and lower");
setComboText(m_ui->coAll3, "Resize");
setComboText(m_ui->coAllW, "Nothing");
}
diff --git a/kcmkwin/kwinoptions/mouse.ui b/kcmkwin/kwinoptions/mouse.ui
index a2f1abab8..7348b9182 100644
--- a/kcmkwin/kwinoptions/mouse.ui
+++ b/kcmkwin/kwinoptions/mouse.ui
@@ -1,836 +1,748 @@
KWinMouseConfigForm
0
0
- 696
- 416
+ 600
+ 500
-
+
-
-
-
- Qt::Horizontal
+
+
+ Titlebar Actions
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
-
-
- &Double-click:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coTiDbl
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>double</em> click into the titlebar.
-
-
-
-
- Maximize
-
-
- -
-
- Maximize (vertical only)
-
-
- -
-
- Maximize (horizontal only)
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Lower
-
-
- -
-
- Close
-
-
- -
-
- On All Desktops
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
- Wheel event:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- coTiAct4
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Handle mouse wheel events
-
-
-
-
- Raise/Lower
-
-
- -
-
- Shade/Unshade
-
-
- -
-
- Maximize/Restore
-
-
- -
-
- Keep Above/Below
-
-
- -
-
- Move to Previous/Next Desktop
-
-
- -
-
- Change Opacity
-
-
- -
-
- Switch to Window Tab to the Left/Right
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this column you can customize mouse clicks into the titlebar or the frame of an active window.
-
-
- Active
-
-
- Qt::AlignCenter
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- In this column you can customize mouse clicks into the titlebar or the frame of an inactive window.
-
-
- Inactive
-
-
- Qt::AlignCenter
-
-
-
- -
-
-
- In this row you can customize left click behavior when clicking into the titlebar or the frame.
-
-
- Left button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.
-
-
-
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Close
-
-
- -
-
- Operations Menu
-
-
- -
-
- Start Window Tab Drag
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.
-
-
-
-
- Activate & Raise
-
-
- -
-
- Activate & Lower
-
-
- -
-
- Activate
-
-
- -
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Close
-
-
- -
-
- Operations Menu
-
-
- -
-
- Start Window Tab Drag
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
- In this row you can customize middle click behavior when clicking into the titlebar or the frame.
-
-
- Middle button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>middle</em> click into the titlebar or frame of an <em>active</em> window.
-
-
-
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Close
-
-
- -
-
- Operations Menu
-
-
- -
-
- Start Window Tab Drag
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.
-
-
-
-
- Activate & Raise
-
-
- -
-
- Activate & Lower
-
-
- -
-
- Activate
-
-
- -
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Close
-
-
- -
-
- Operations Menu
-
-
- -
-
- Start Window Tab Drag
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
- In this row you can customize right click behavior when clicking into the titlebar or the frame.
-
-
- Right button:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>right</em> click into the titlebar or frame of an <em>active</em> window.
-
-
-
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Close
-
-
- -
-
- Operations Menu
-
-
- -
-
- Start Window Tab Drag
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.
-
-
-
-
- Activate & Raise
-
-
- -
-
- Activate & Lower
-
-
- -
-
- Activate
-
-
- -
-
- Raise
-
-
- -
-
- Lower
-
-
- -
-
- Toggle Raise & Lower
-
-
- -
-
- Minimize
-
-
- -
-
- Shade
-
-
- -
-
- Close
-
-
- -
-
- Operations Menu
-
-
- -
-
- Start Window Tab Drag
-
-
- -
-
- Nothing
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- -
-
-
-
-
-
- Behavior on <em>left</em> click onto the maximize button.
-
+
+
+ Qt::AlignHCenter|Qt::AlignTop
+
+
-
+
+
+ &Double-click:
+
+
+ coTiDbl
+
+
+
+ -
+
+
+ Behavior on <em>double</em> click into the titlebar.
+
+
-
- Left button:
+ Maximize
-
- Qt::AlignCenter
+
+ -
+
+ Maximize (vertical only)
-
- leftClickMaximizeButton
+
+ -
+
+ Maximize (horizontal only)
-
-
- -
-
-
- Behavior on <em>middle</em> click onto the maximize button.
+
+ -
+
+ Minimize
+
+ -
- Middle button:
+ Shade
-
- Qt::AlignCenter
+
+ -
+
+ Lower
-
- middleClickMaximizeButton
+
+ -
+
+ Close
-
-
- -
-
-
- Behavior on <em>right</em> click onto the maximize button.
+
+ -
+
+ Show on all desktops
+
+ -
- Right button:
+ Do nothing
-
- Qt::AlignCenter
+
+
+
+ -
+
+
+ Mouse &wheel:
+
+
+ coTiAct4
+
+
+
+ -
+
+
+ Behavior on <em>mouse wheel</em> scroll over the titlebar.
+
+
-
+
+ Raise/lower
-
- rightClickMaximizeButton
+
+ -
+
+ Shade/unshade
-
-
- -
-
-
-
- 0
- 0
-
+
+ -
+
+ Maximize/restore
-
- Behavior on <em>left</em> click onto the maximize button.
+
+ -
+
+ Keep above/below
-
-
- -
-
-
-
- 0
- 0
-
+
+ -
+
+ Move to previous/next desktop
-
- Behavior on <em>middle</em> click onto the maximize button.
+
+ -
+
+ Change opacity
-
-
- -
-
-
-
- 0
- 0
-
+
+ -
+
+ Switch to window tab to the left/right
-
- Behavior on <em>right</em> click onto the maximize button.
+
+ -
+
+ Do nothing
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Titlebar & Frame
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Titlebar
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Maximize Button
-
-
-
-
+
+
+
+
+
+
+ -
+
+
+ Titlebar and Frame Actions
+
+
+ Qt::AlignCenter
+
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 0
+ 0
+
+
+
+
+ -
+
+
-
+
+
+ Active
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ &Left click:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coTiAct1
+
+
+
+ -
+
+
+ Inactive
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ &Middle click:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coTiAct2
+
+
+
+ -
+
+
+ &Right click:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ coTiAct3
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.
+
+
-
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Shade
+
+
+ -
+
+ Close
+
+
+ -
+
+ Show actions menu
+
+
+ -
+
+ Start window tab drag
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+ Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.
+
+
-
+
+ Activate and raise
+
+
+ -
+
+ Activate and lower
+
+
+ -
+
+ Activate
+
+
+ -
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Shade
+
+
+ -
+
+ Close
+
+
+ -
+
+ Show actions menu
+
+
+ -
+
+ Start window tab drag
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.
+
+
-
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Shade
+
+
+ -
+
+ Close
+
+
+ -
+
+ Show actions menu
+
+
+ -
+
+ Start window tab drag
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+ Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.
+
+
-
+
+ Activate and raise
+
+
+ -
+
+ Activate and lower
+
+
+ -
+
+ Activate
+
+
+ -
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Shade
+
+
+ -
+
+ Close
+
+
+ -
+
+ Show actions menu
+
+
+ -
+
+ Start window tab drag
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Behavior on <em>left</em> click into the titlebar or frame of an <em>active</em> window.
+
+
-
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Shade
+
+
+ -
+
+ Close
+
+
+ -
+
+ Show actions menu
+
+
+ -
+
+ Start window tab drag
+
+
+ -
+
+ Do nothing
+
+
+
+
+ -
+
+
+ Behavior on <em>left</em> click into the titlebar or frame of an <em>inactive</em> window.
+
+
-
+
+ Activate and raise
+
+
+ -
+
+ Activate and lower
+
+
+ -
+
+ Activate
+
+
+ -
+
+ Raise
+
+
+ -
+
+ Lower
+
+
+ -
+
+ Toggle raise and lower
+
+
+ -
+
+ Minimize
+
+
+ -
+
+ Shade
+
+
+ -
+
+ Close
+
+
+ -
+
+ Show actions menu
+
+
+ -
+
+ Start window tab drag
+
+
+ -
+
+ Do nothing
+
+
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+ -
+
+
+ Maximize Button Actions
+
+
+
+ Qt::AlignHCenter|Qt::AlignTop
+
+
-
+
+
+ Behavior on <em>left</em> click onto the maximize button.
+
+
+ L&eft click:
+
+
+ leftClickMaximizeButton
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Behavior on <em>left</em> click onto the maximize button.
+
+
+
+ -
+
+
+ Behavior on <em>middle</em> click onto the maximize button.
+
+
+ Middle c&lick:
+
+
+ middleClickMaximizeButton
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Behavior on <em>middle</em> click onto the maximize button.
+
+
+
+ -
+
+
+ Behavior on <em>right</em> click onto the maximize button.
+
+
+ Right clic&k:
+
+
+ rightClickMaximizeButton
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Behavior on <em>right</em> click onto the maximize button.
+
+
+
+
+
-
-
+
- Qt::Horizontal
+ Qt::Vertical
- 40
- 20
+ 0
+ 0
KComboBox
QComboBox
coTiDbl
coTiAct4
coTiAct1
coTiInAct1
coTiAct2
coTiInAct2
coTiAct3
coTiInAct3
+ leftClickMaximizeButton
+ middleClickMaximizeButton
+ rightClickMaximizeButton
diff --git a/kcmkwin/kwinoptions/moving.ui b/kcmkwin/kwinoptions/moving.ui
index eb04689a0..97f38a8bd 100644
--- a/kcmkwin/kwinoptions/moving.ui
+++ b/kcmkwin/kwinoptions/moving.ui
@@ -1,270 +1,170 @@
KWinMovingConfigForm
0
0
- 624
- 354
+ 600
+ 500
-
+
+
+ Qt::AlignHCenter|Qt::AlignTop
+
-
-
-
- Qt::Horizontal
+
+
+ Window &geometry:
-
-
- 40
- 20
-
+
+ geometryTipOn
-
+
-
-
-
-
-
-
- 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.
-
-
- Snap windows onl&y when overlapping
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Here you can set the snap zone for the screen center, i.e. the 'strength' of the magnetic field which will make windows snap to the center of the screen when moved near it.
-
-
- 10
-
-
- 0
-
-
- 100
-
-
- pixel
-
-
- no center snap zone
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 107
- 20
-
-
-
-
- -
-
-
- &Border snap zone:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- borderSnap
-
-
-
- -
-
-
- &Center snap zone:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- centerSnap
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Here you can set the snap zone for windows, i.e. the 'strength' of the magnetic field which will make windows snap to each other when they are moved near another window.
-
-
- 10
-
-
- 0
-
-
- 100
-
-
- pixel
-
-
- no window snap zone
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Here you can set the snap zone for screen borders, i.e. the 'strength' of the magnetic field which will make windows snap to the border when moved near it.
-
-
- 10
-
-
- 0
-
-
- 100
-
-
- pixel
-
-
- no border snap zone
-
-
-
- -
-
-
- 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.
-
-
- Display window &geometry when moving or resizing
-
-
-
- -
-
-
- &Window snap zone:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- windowSnap
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 90
- 20
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Windows
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Snap Zones
-
-
-
-
+
+
+ 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.
+
+
+ Display when moving or resizing
+
+
- -
-
-
- Qt::Horizontal
+
-
+
+
+ Screen &edge snap zone:
-
-
- 40
- 20
-
+
+ borderSnap
-
+
+
+ -
+
+
+ Here you can set the snap zone for screen edges, i.e. the 'strength' of the magnetic field which will make windows snap to the border when moved near it.
+
+
+ None
+
+
+ px
+
+
+ 0
+
+
+ 100
+
+
+ 10
+
+
+
+ -
+
+
+ Here you can set the snap zone for windows, i.e. the 'strength' of the magnetic field which will make windows snap to each other when they are moved near another window.
+
+
+ None
+
+
+ px
+
+
+ 0
+
+
+ 100
+
+
+ 10
+
+
+
+ -
+
+
+ Here you can set the snap zone for the screen center, i.e. the 'strength' of the magnetic field which will make windows snap to the center of the screen when moved near it.
+
+
+ None
+
+
+ px
+
+
+ 0
+
+
+ 100
+
+
+
+ -
+
+
+ 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.
+
+
+ Only when overlapping
+
+
+
+ -
+
+
+ &Window snap zone:
+
+
+ windowSnap
+
+
+
+ -
+
+
+ &Center snap zone:
+
+
+ centerSnap
+
+
+
+ -
+
+
+ &Snap windows:
+
+
+ OverlapSnap
+
+
-
-
+
Qt::Vertical
+
+ QSizePolicy::Fixed
+
20
- 112
+ 2
diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp
index b1d640d5c..1fe6a88da 100644
--- a/kcmkwin/kwinoptions/windows.cpp
+++ b/kcmkwin/kwinoptions/windows.cpp
@@ -1,650 +1,671 @@
/*
* windows.cpp
*
* Copyright (c) 1997 Patrick Dowler dowler@morgul.fsh.uvic.ca
* Copyright (c) 2001 Waldo Bastian bastian@kde.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "windows.h"
#include
#include
// kwin config keywords
#define KWIN_FOCUS "FocusPolicy"
#define KWIN_PLACEMENT "Placement"
#define KWIN_GEOMETRY "GeometryTip"
#define KWIN_AUTORAISE_INTERVAL "AutoRaiseInterval"
#define KWIN_AUTORAISE "AutoRaise"
#define KWIN_DELAYFOCUS_INTERVAL "DelayFocusInterval"
#define KWIN_CLICKRAISE "ClickRaise"
#define KWIN_SHADEHOVER "ShadeHover"
#define KWIN_SHADEHOVER_INTERVAL "ShadeHoverInterval"
#define KWIN_FOCUS_STEALING "FocusStealingPreventionLevel"
#define KWIN_HIDE_UTILITY "HideUtilityWindowsForInactive"
#define KWIN_INACTIVE_SKIP_TASKBAR "InactiveTabsSkipTaskbar"
#define KWIN_AUTOGROUP_SIMILAR "AutogroupSimilarWindows"
#define KWIN_AUTOGROUP_FOREGROUND "AutogroupInForeground"
#define KWIN_SEPARATE_SCREEN_FOCUS "SeparateScreenFocus"
#define KWIN_ACTIVE_MOUSE_SCREEN "ActiveMouseScreen"
//CT 15mar 98 - magics
#define KWM_BRDR_SNAP_ZONE "BorderSnapZone"
#define KWM_BRDR_SNAP_ZONE_DEFAULT 10
#define KWM_WNDW_SNAP_ZONE "WindowSnapZone"
#define KWM_WNDW_SNAP_ZONE_DEFAULT 10
#define KWM_CNTR_SNAP_ZONE "CenterSnapZone"
#define KWM_CNTR_SNAP_ZONE_DEFAULT 0
#define MAX_BRDR_SNAP 100
#define MAX_WNDW_SNAP 100
#define MAX_CNTR_SNAP 100
#define MAX_EDGE_RES 1000
#define CLICK_TO_FOCUS 0
#define FOCUS_FOLLOWS_MOUSE 2
#define FOCUS_UNDER_MOUSE 4
#define FOCUS_STRICTLY_UNDER_MOUSE 5
KFocusConfig::~KFocusConfig()
{
if (standAlone)
delete config;
}
KWinFocusConfigForm::KWinFocusConfigForm(QWidget* parent)
: QWidget(parent)
{
setupUi(parent);
}
// removed the LCD display over the slider - this is not good GUI design :) RNolden 051701
KFocusConfig::KFocusConfig(bool _standAlone, KConfig *_config, QWidget * parent)
: KCModule(parent), config(_config), standAlone(_standAlone)
, m_ui(new KWinFocusConfigForm(this))
{
connect(m_ui->focusStealing, SIGNAL(activated(int)), SLOT(changed()));
- connect(m_ui->windowFocusPolicy, SIGNAL(valueChanged(int)), SLOT(changed()));
- connect(m_ui->windowFocusPolicy, SIGNAL(valueChanged(int)), this, SLOT(focusPolicyChanged()));
- connect(m_ui->windowFocusPolicy, SIGNAL(valueChanged(int)), this, SLOT(setDelayFocusEnabled()));
- connect(m_ui->windowFocusPolicy, SIGNAL(valueChanged(int)), this, SLOT(updateActiveMouseScreen()));
+ connect(m_ui->windowFocusPolicyCombo, SIGNAL(currentIndexChanged(int)), SLOT(changed()));
+ connect(m_ui->windowFocusPolicyCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(focusPolicyChanged()));
+ connect(m_ui->windowFocusPolicyCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(setDelayFocusEnabled()));
+ connect(m_ui->windowFocusPolicyCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(updateActiveMouseScreen()));
connect(m_ui->autoRaiseOn, SIGNAL(clicked()), SLOT(changed()));
connect(m_ui->autoRaiseOn, SIGNAL(toggled(bool)), SLOT(autoRaiseOnTog(bool)));
connect(m_ui->clickRaiseOn, SIGNAL(clicked()), SLOT(changed()));
connect(m_ui->autoRaise, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(m_ui->delayFocus, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(m_ui->separateScreenFocus, SIGNAL(clicked()), SLOT(changed()));
connect(m_ui->activeMouseScreen, SIGNAL(clicked()), SLOT(changed()));
connect(QApplication::desktop(), SIGNAL(screenCountChanged(int)), SLOT(updateMultiScreen()));
updateMultiScreen();
load();
}
void KFocusConfig::updateMultiScreen()
{
- m_ui->multiscreenBox->setVisible(QApplication::screens().count() > 1);
+ m_ui->multiscreenBehaviorLabel->setVisible(QApplication::screens().count() > 1);
+ m_ui->activeMouseScreen->setVisible(QApplication::screens().count() > 1);
+ m_ui->separateScreenFocus->setVisible(QApplication::screens().count() > 1);
}
int KFocusConfig::getFocus()
{
- int policy = m_ui->windowFocusPolicy->value();
+ int policy = m_ui->windowFocusPolicyCombo->currentIndex();
if (policy == 1 || policy == 3)
--policy; // fix the NextFocusPrefersMouse condition
return policy;
}
void KFocusConfig::setFocus(int foc)
{
- m_ui->windowFocusPolicy->setValue(foc);
+ m_ui->windowFocusPolicyCombo->setCurrentIndex(foc);
// this will disable/hide the auto raise delay widget if focus==click
focusPolicyChanged();
}
void KFocusConfig::setAutoRaiseInterval(int tb)
{
m_ui->autoRaise->setValue(tb);
}
void KFocusConfig::setDelayFocusInterval(int tb)
{
m_ui->delayFocus->setValue(tb);
}
int KFocusConfig::getAutoRaiseInterval()
{
return m_ui->autoRaise->value();
}
int KFocusConfig::getDelayFocusInterval()
{
return m_ui->delayFocus->value();
}
void KFocusConfig::setAutoRaise(bool on)
{
m_ui->autoRaiseOn->setChecked(on);
}
void KFocusConfig::setClickRaise(bool on)
{
m_ui->clickRaiseOn->setChecked(on);
}
void KFocusConfig::focusPolicyChanged()
{
+ switch (m_ui->windowFocusPolicyCombo->currentIndex()) {
+ case 0:
+ m_ui->windowFocusPolicyDescriptionLabel->setText(i18n("Click to focus: A window becomes active when you click into it. This behavior is common on other operating systems and likely what you want.
"));
+ break;
+ case 1:
+ m_ui->windowFocusPolicyDescriptionLabel->setText(i18n("Click to focus (mouse precedence): Mostly the same as Click to focus. If an active window has to be chosen by the system (eg. because the currently active one was closed) the window under the mouse is the preferred candidate. Unusual, but possible variant of Click to focus.
"));
+ break;
+ case 2:
+ m_ui->windowFocusPolicyDescriptionLabel->setText(i18n("Focus follows mouse: Moving the mouse onto a window will activate it. Eg. windows randomly appearing under the mouse will not gain the focus. Focus stealing prevention takes place as usual. Think as Click to focus just without having to actually click.
"));
+ break;
+ case 3:
+ m_ui->windowFocusPolicyDescriptionLabel->setText(i18n("This is mostly the same as Focus follows mouse. If an active window has to be chosen by the system (eg. because the currently active one was closed) the window under the mouse is the preferred candidate. Choose this, if you want a hover controlled focus.
"));
+ break;
+ case 4:
+ m_ui->windowFocusPolicyDescriptionLabel->setText(i18n("Focus under mouse: The focus always remains on the window under the mouse.
Warning: Focus stealing prevention and the tabbox ('Alt+Tab') contradict the activation policy and will not work. You very likely want to use Focus follows mouse (mouse precedence) instead!
"));
+ break;
+ case 5:
+ m_ui->windowFocusPolicyDescriptionLabel->setText(i18n("Focus strictly under mouse: The focus is always on the window under the mouse (in doubt nowhere) very much like the focus behavior in an unmanaged legacy X11 environment.
Warning: Focus stealing prevention and the tabbox ('Alt+Tab') contradict the activation policy and will not work. You very likely want to use Focus follows mouse (mouse precedence) instead!
"));
+ break;
+ }
+
int policyIndex = getFocus();
// the auto raise related widgets are: autoRaise
m_ui->autoRaiseOn->setEnabled(policyIndex != CLICK_TO_FOCUS);
autoRaiseOnTog(policyIndex != CLICK_TO_FOCUS && m_ui->autoRaiseOn->isChecked());
m_ui->focusStealing->setDisabled(policyIndex == FOCUS_UNDER_MOUSE || policyIndex == FOCUS_STRICTLY_UNDER_MOUSE);
m_ui->focusStealingLabel->setEnabled(m_ui->focusStealing->isEnabled());
setDelayFocusEnabled();
}
void KFocusConfig::setDelayFocusEnabled()
{
int policyIndex = getFocus();
// the delayed focus related widgets are: delayFocus
m_ui->delayFocusOnLabel->setEnabled(policyIndex != CLICK_TO_FOCUS);
delayFocusOnTog(policyIndex != CLICK_TO_FOCUS);
}
void KFocusConfig::autoRaiseOnTog(bool a)
{
m_ui->autoRaise->setEnabled(a);
m_ui->clickRaiseOn->setEnabled(!a);
}
void KFocusConfig::delayFocusOnTog(bool a)
{
m_ui->delayFocus->setEnabled(a);
}
void KFocusConfig::setFocusStealing(int l)
{
l = qMax(0, qMin(4, l));
m_ui->focusStealing->setCurrentIndex(l);
}
void KFocusConfig::setSeparateScreenFocus(bool s)
{
m_ui->separateScreenFocus->setChecked(s);
}
void KFocusConfig::setActiveMouseScreen(bool a)
{
m_ui->activeMouseScreen->setChecked(a);
}
void KFocusConfig::updateActiveMouseScreen()
{
// on by default for non click to focus policies
KConfigGroup cfg(config, "Windows");
if (!cfg.hasKey(KWIN_ACTIVE_MOUSE_SCREEN))
setActiveMouseScreen(getFocus() != 0);
}
void KFocusConfig::showEvent(QShowEvent *ev)
{
if (!standAlone) {
QWidget::showEvent(ev);
return;
}
KCModule::showEvent(ev);
}
void KFocusConfig::load(void)
{
QString key;
KConfigGroup cg(config, "Windows");
const bool focusNextToMouse = cg.readEntry("NextFocusPrefersMouse", false);
key = cg.readEntry(KWIN_FOCUS);
if (key == "ClickToFocus")
setFocus(CLICK_TO_FOCUS + focusNextToMouse);
else if (key == "FocusFollowsMouse")
setFocus(FOCUS_FOLLOWS_MOUSE + focusNextToMouse);
else if (key == "FocusUnderMouse")
setFocus(FOCUS_UNDER_MOUSE);
else if (key == "FocusStrictlyUnderMouse")
setFocus(FOCUS_STRICTLY_UNDER_MOUSE);
int k = cg.readEntry(KWIN_AUTORAISE_INTERVAL, 750);
setAutoRaiseInterval(k);
k = cg.readEntry(KWIN_DELAYFOCUS_INTERVAL, 300);
setDelayFocusInterval(k);
setAutoRaise(cg.readEntry(KWIN_AUTORAISE, false));
setClickRaise(cg.readEntry(KWIN_CLICKRAISE, true));
focusPolicyChanged(); // this will disable/hide the auto raise delay widget if focus==click
setSeparateScreenFocus(cg.readEntry(KWIN_SEPARATE_SCREEN_FOCUS, false));
// on by default for non click to focus policies
setActiveMouseScreen(cg.readEntry(KWIN_ACTIVE_MOUSE_SCREEN, getFocus() != 0));
// setFocusStealing( cg.readEntry(KWIN_FOCUS_STEALING, 2 ));
// TODO default to low for now
setFocusStealing(cg.readEntry(KWIN_FOCUS_STEALING, 1));
emit KCModule::changed(false);
}
void KFocusConfig::save(void)
{
int v;
KConfigGroup cg(config, "Windows");
v = getFocus();
if (v == CLICK_TO_FOCUS)
cg.writeEntry(KWIN_FOCUS, "ClickToFocus");
else if (v == FOCUS_UNDER_MOUSE)
cg.writeEntry(KWIN_FOCUS, "FocusUnderMouse");
else if (v == FOCUS_STRICTLY_UNDER_MOUSE)
cg.writeEntry(KWIN_FOCUS, "FocusStrictlyUnderMouse");
else
cg.writeEntry(KWIN_FOCUS, "FocusFollowsMouse");
- cg.writeEntry("NextFocusPrefersMouse", v != m_ui->windowFocusPolicy->value());
+ cg.writeEntry("NextFocusPrefersMouse", v != m_ui->windowFocusPolicyCombo->currentIndex());
v = getAutoRaiseInterval();
if (v < 0) v = 0;
cg.writeEntry(KWIN_AUTORAISE_INTERVAL, v);
v = getDelayFocusInterval();
if (v < 0) v = 0;
cg.writeEntry(KWIN_DELAYFOCUS_INTERVAL, v);
cg.writeEntry(KWIN_AUTORAISE, m_ui->autoRaiseOn->isChecked());
cg.writeEntry(KWIN_CLICKRAISE, m_ui->clickRaiseOn->isChecked());
cg.writeEntry(KWIN_SEPARATE_SCREEN_FOCUS, m_ui->separateScreenFocus->isChecked());
cg.writeEntry(KWIN_ACTIVE_MOUSE_SCREEN, m_ui->activeMouseScreen->isChecked());
cg.writeEntry(KWIN_FOCUS_STEALING, m_ui->focusStealing->currentIndex());
cg.writeEntry(KWIN_SEPARATE_SCREEN_FOCUS, m_ui->separateScreenFocus->isChecked());
cg.writeEntry(KWIN_ACTIVE_MOUSE_SCREEN, m_ui->activeMouseScreen->isChecked());
if (standAlone) {
config->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
emit KCModule::changed(false);
}
void KFocusConfig::defaults()
{
setAutoRaiseInterval(0);
setDelayFocusInterval(0);
setFocus(CLICK_TO_FOCUS);
setAutoRaise(false);
setClickRaise(true);
setSeparateScreenFocus(false);
// setFocusStealing(2);
// TODO default to low for now
setFocusStealing(1);
// on by default for non click to focus policies
setActiveMouseScreen(getFocus() != 0);
setDelayFocusEnabled();
emit KCModule::changed(true);
}
KWinAdvancedConfigForm::KWinAdvancedConfigForm(QWidget* parent)
: QWidget(parent)
{
setupUi(parent);
}
KAdvancedConfig::~KAdvancedConfig()
{
if (standAlone)
delete config;
}
KAdvancedConfig::KAdvancedConfig(bool _standAlone, KConfig *_config, QWidget *parent)
: KCModule(parent), config(_config), standAlone(_standAlone)
, m_ui(new KWinAdvancedConfigForm(this))
{
m_ui->placementCombo->setItemData(0, "Smart");
m_ui->placementCombo->setItemData(1, "Maximizing");
m_ui->placementCombo->setItemData(2, "Cascade");
m_ui->placementCombo->setItemData(3, "Random");
m_ui->placementCombo->setItemData(4, "Centered");
m_ui->placementCombo->setItemData(5, "ZeroCornered");
m_ui->placementCombo->setItemData(6, "UnderMouse");
connect(m_ui->shadeHoverOn, SIGNAL(toggled(bool)), this, SLOT(shadeHoverChanged(bool)));
connect(m_ui->inactiveTabsSkipTaskbar, SIGNAL(toggled(bool)), SLOT(changed()));
connect(m_ui->autogroupSimilarWindows, SIGNAL(toggled(bool)), SLOT(changed()));
connect(m_ui->autogroupInForeground, SIGNAL(toggled(bool)), SLOT(changed()));
connect(m_ui->shadeHoverOn, SIGNAL(toggled(bool)), SLOT(changed()));
connect(m_ui->shadeHover, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(m_ui->placementCombo, SIGNAL(activated(int)), SLOT(changed()));
connect(m_ui->hideUtilityWindowsForInactive, SIGNAL(toggled(bool)), SLOT(changed()));
m_ui->inactiveTabsSkipTaskbar->setVisible(false); // TODO: We want translations in case this is fixed...
load();
}
void KAdvancedConfig::setShadeHover(bool on)
{
m_ui->shadeHoverOn->setChecked(on);
- m_ui->shadeHoverLabel->setEnabled(on);
m_ui->shadeHover->setEnabled(on);
}
void KAdvancedConfig::setShadeHoverInterval(int k)
{
m_ui->shadeHover->setValue(k);
}
int KAdvancedConfig::getShadeHoverInterval()
{
return m_ui->shadeHover->value();
}
void KAdvancedConfig::shadeHoverChanged(bool a)
{
- m_ui->shadeHoverLabel->setEnabled(a);
m_ui->shadeHover->setEnabled(a);
}
void KAdvancedConfig::showEvent(QShowEvent *ev)
{
if (!standAlone) {
QWidget::showEvent(ev);
return;
}
KCModule::showEvent(ev);
}
void KAdvancedConfig::load(void)
{
KConfigGroup cg(config, "Windows");
setShadeHover(cg.readEntry(KWIN_SHADEHOVER, false));
setShadeHoverInterval(cg.readEntry(KWIN_SHADEHOVER_INTERVAL, 250));
QString key;
key = cg.readEntry(KWIN_PLACEMENT);
int idx = m_ui->placementCombo->findData(key);
if (idx < 0)
idx = m_ui->placementCombo->findData("Smart");
m_ui->placementCombo->setCurrentIndex(idx);
setHideUtilityWindowsForInactive(cg.readEntry(KWIN_HIDE_UTILITY, true));
setInactiveTabsSkipTaskbar(cg.readEntry(KWIN_INACTIVE_SKIP_TASKBAR, false));
setAutogroupSimilarWindows(cg.readEntry(KWIN_AUTOGROUP_SIMILAR, false));
setAutogroupInForeground(cg.readEntry(KWIN_AUTOGROUP_FOREGROUND, true));
emit KCModule::changed(false);
}
void KAdvancedConfig::save(void)
{
int v;
KConfigGroup cg(config, "Windows");
cg.writeEntry(KWIN_SHADEHOVER, m_ui->shadeHoverOn->isChecked());
v = getShadeHoverInterval();
if (v < 0) v = 0;
cg.writeEntry(KWIN_SHADEHOVER_INTERVAL, v);
cg.writeEntry(KWIN_PLACEMENT, m_ui->placementCombo->itemData(m_ui->placementCombo->currentIndex()).toString());
cg.writeEntry(KWIN_HIDE_UTILITY, m_ui->hideUtilityWindowsForInactive->isChecked());
cg.writeEntry(KWIN_INACTIVE_SKIP_TASKBAR, m_ui->inactiveTabsSkipTaskbar->isChecked());
cg.writeEntry(KWIN_AUTOGROUP_SIMILAR, m_ui->autogroupSimilarWindows->isChecked());
cg.writeEntry(KWIN_AUTOGROUP_FOREGROUND, m_ui->autogroupInForeground->isChecked());
if (standAlone) {
config->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
emit KCModule::changed(false);
}
void KAdvancedConfig::defaults()
{
setShadeHover(false);
setShadeHoverInterval(250);
m_ui->placementCombo->setCurrentIndex(0); // default to Smart
setHideUtilityWindowsForInactive(true);
setInactiveTabsSkipTaskbar(false);
setAutogroupSimilarWindows(false);
setAutogroupInForeground(true);
emit KCModule::changed(true);
}
void KAdvancedConfig::setHideUtilityWindowsForInactive(bool s)
{
m_ui->hideUtilityWindowsForInactive->setChecked(s);
}
void KAdvancedConfig::setInactiveTabsSkipTaskbar(bool s)
{
m_ui->inactiveTabsSkipTaskbar->setChecked(s);
}
void KAdvancedConfig::setAutogroupSimilarWindows(bool s)
{
m_ui->autogroupSimilarWindows->setChecked(s);
}
void KAdvancedConfig::setAutogroupInForeground(bool s)
{
m_ui->autogroupInForeground->setChecked(s);
}
KWinMovingConfigForm::KWinMovingConfigForm(QWidget* parent)
: QWidget(parent)
{
setupUi(parent);
}
KMovingConfig::~KMovingConfig()
{
if (standAlone)
delete config;
}
KMovingConfig::KMovingConfig(bool _standAlone, KConfig *_config, QWidget *parent)
: KCModule(parent), config(_config), standAlone(_standAlone)
, m_ui(new KWinMovingConfigForm(this))
{
// Any changes goes to slotChanged()
connect(m_ui->geometryTipOn, SIGNAL(clicked()), SLOT(changed()));
connect(m_ui->borderSnap, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(m_ui->windowSnap, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(m_ui->centerSnap, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(m_ui->OverlapSnap, SIGNAL(clicked()), SLOT(changed()));
load();
}
void KMovingConfig::setGeometryTip(bool showGeometryTip)
{
m_ui->geometryTipOn->setChecked(showGeometryTip);
}
bool KMovingConfig::getGeometryTip()
{
return m_ui->geometryTipOn->isChecked();
}
void KMovingConfig::showEvent(QShowEvent *ev)
{
if (!standAlone) {
QWidget::showEvent(ev);
return;
}
KCModule::showEvent(ev);
}
void KMovingConfig::load(void)
{
QString key;
KConfigGroup cg(config, "Windows");
//KS 10Jan2003 - Geometry Tip during window move/resize
bool showGeomTip = cg.readEntry(KWIN_GEOMETRY, false);
setGeometryTip(showGeomTip);
int v;
v = cg.readEntry(KWM_BRDR_SNAP_ZONE, KWM_BRDR_SNAP_ZONE_DEFAULT);
if (v > MAX_BRDR_SNAP) setBorderSnapZone(MAX_BRDR_SNAP);
else if (v < 0) setBorderSnapZone(0);
else setBorderSnapZone(v);
v = cg.readEntry(KWM_WNDW_SNAP_ZONE, KWM_WNDW_SNAP_ZONE_DEFAULT);
if (v > MAX_WNDW_SNAP) setWindowSnapZone(MAX_WNDW_SNAP);
else if (v < 0) setWindowSnapZone(0);
else setWindowSnapZone(v);
v = cg.readEntry(KWM_CNTR_SNAP_ZONE, KWM_CNTR_SNAP_ZONE_DEFAULT);
if (v > MAX_CNTR_SNAP) setCenterSnapZone(MAX_CNTR_SNAP);
else if (v < 0) setCenterSnapZone(0);
else setCenterSnapZone(v);
m_ui->OverlapSnap->setChecked(cg.readEntry("SnapOnlyWhenOverlapping", false));
emit KCModule::changed(false);
}
void KMovingConfig::save(void)
{
KConfigGroup cg(config, "Windows");
cg.writeEntry(KWIN_GEOMETRY, getGeometryTip());
cg.writeEntry(KWM_BRDR_SNAP_ZONE, getBorderSnapZone());
cg.writeEntry(KWM_WNDW_SNAP_ZONE, getWindowSnapZone());
cg.writeEntry(KWM_CNTR_SNAP_ZONE, getCenterSnapZone());
cg.writeEntry("SnapOnlyWhenOverlapping", m_ui->OverlapSnap->isChecked());
const bool geometryTip = getGeometryTip();
KConfigGroup(config, "Plugins").writeEntry("windowgeometryEnabled", geometryTip);
if (standAlone) {
config->sync();
// Send signal to all kwin instances
QDBusMessage message =
QDBusMessage::createSignal("/KWin", "org.kde.KWin", "reloadConfig");
QDBusConnection::sessionBus().send(message);
}
// and reconfigure the effect
OrgKdeKwinEffectsInterface interface(QStringLiteral("org.kde.KWin"),
QStringLiteral("/Effects"),
QDBusConnection::sessionBus());
if (geometryTip) {
interface.loadEffect(KWin::BuiltInEffects::nameForEffect(KWin::BuiltInEffect::WindowGeometry));
} else {
interface.unloadEffect(KWin::BuiltInEffects::nameForEffect(KWin::BuiltInEffect::WindowGeometry));
}
emit KCModule::changed(false);
}
void KMovingConfig::defaults()
{
setGeometryTip(false);
//copied from kcontrol/konq/kwindesktop, aleXXX
setWindowSnapZone(KWM_WNDW_SNAP_ZONE_DEFAULT);
setBorderSnapZone(KWM_BRDR_SNAP_ZONE_DEFAULT);
setCenterSnapZone(KWM_CNTR_SNAP_ZONE_DEFAULT);
m_ui->OverlapSnap->setChecked(false);
emit KCModule::changed(true);
}
int KMovingConfig::getBorderSnapZone()
{
return m_ui->borderSnap->value();
}
void KMovingConfig::setBorderSnapZone(int pxls)
{
m_ui->borderSnap->setValue(pxls);
}
int KMovingConfig::getWindowSnapZone()
{
return m_ui->windowSnap->value();
}
void KMovingConfig::setWindowSnapZone(int pxls)
{
m_ui->windowSnap->setValue(pxls);
}
int KMovingConfig::getCenterSnapZone()
{
return m_ui->centerSnap->value();
}
void KMovingConfig::setCenterSnapZone(int pxls)
{
m_ui->centerSnap->setValue(pxls);
}