kwin/kcmkwin/kwinscreenedges
Cyril Rossi cf7762eaa8 KCM KWinScreenEdges disable widgets if is immutable
Summary:
Same as D28507

Disable screen edge modification, but allow the user to open an edge context menu and see the settings.

To set an edge immutable, just add `[$i]` right after the entry in `ElectricBorders` group, although the edges settings are shared between some `[Effect-something]` group under the key `BorderActivateSomething`.

Since one entry like `BorderActivateSomething` lists all edges that use this effect, it doesn't make sense to set it immutable.

Test Plan:
In `kwinrc`, set the `ElectricBorders` and/or `Windows` group immutable or any entry.

```
[ElectricBorders]
BottomLeft[$i]=None
Left=None
Right=None
Top[$i]=None

[Windows][$i]
ElectricBorderCornerRatio=0.29
ElectricBorderDelay=300
ElectricBorderMaximize=false
ElectricBorderTiling=true
ElectricBorders=2
```

Reviewers: ervin, bport, meven, zzag, #kwin, mart

Reviewed By: ervin, zzag, #kwin, mart

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D28508
2020-04-22 11:10:17 +02:00
..
CMakeLists.txt KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
kwinscreenedge.cpp KCM KWinTouchEdges disable edge if is immutable 2020-04-22 11:10:12 +02:00
kwinscreenedge.h KCM KWinTouchEdges disable edge if is immutable 2020-04-22 11:10:12 +02:00
kwinscreenedgeconfigform.cpp KCM KWinScreenEdges disable widgets if is immutable 2020-04-22 11:10:17 +02:00
kwinscreenedgeconfigform.h KCM KWinScreenEdges disable widgets if is immutable 2020-04-22 11:10:17 +02:00
kwinscreenedges.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2020-03-27 06:43:00 +01:00
kwinscreenedgescriptsettings.kcfg KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
kwinscreenedgescriptsettings.kcfgc KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
kwinscreenedgesettings.kcfg KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
kwinscreenedgesettings.kcfgc KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
kwintouchscreen.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2020-03-27 06:43:00 +01:00
kwintouchscreenedgeconfigform.cpp KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
kwintouchscreenedgeconfigform.h KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
kwintouchscreenscriptsettings.kcfg KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
kwintouchscreenscriptsettings.kcfgc KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
kwintouchscreensettings.kcfg KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
kwintouchscreensettings.kcfgc KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
main.cpp KCM KWinScreenEdges disable widgets if is immutable 2020-04-22 11:10:17 +02:00
main.h KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
main.ui KCM KWinScreenEdges port to KConfigXT 2020-04-22 11:10:02 +02:00
Messages.sh
monitor.cpp KCM KWinTouchEdges disable edge if is immutable 2020-04-22 11:10:12 +02:00
monitor.h KCM KWinTouchEdges disable edge if is immutable 2020-04-22 11:10:12 +02:00
screenpreviewwidget.cpp
screenpreviewwidget.h
touch.cpp KCM KWinTouchEdges disable edge if is immutable 2020-04-22 11:10:12 +02:00
touch.h KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00
touch.ui KCM KWinTouchScreen port to KConfigXT 2020-04-22 11:09:39 +02:00