2132b1e0c8
Summary: By changing all kcfg to have arg="true" we can pass in the same KSharedConfigPtr into all effects. This allows to have fake config in the tests and in the planned effect demo mode. Also it means that we don't have to hardcode the name kwinrc into the files. In the configs - where we cannot access the effectshandler - we use the define KWIN_CONFIG which gets generated based on the compile time arguments. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D3571
68 lines
2.6 KiB
XML
68 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
|
<kcfgfile arg="true"/>
|
|
<group name="Effect-Cube">
|
|
<entry name="BorderActivate" type="IntList" />
|
|
<entry name="BorderActivateCylinder" type="IntList" />
|
|
<entry name="BorderActivateSphere" type="IntList" />
|
|
<entry name="TouchBorderActivate" type="IntList" />
|
|
<entry name="TouchBorderActivateCylinder" type="IntList" />
|
|
<entry name="TouchBorderActivateSphere" type="IntList" />
|
|
<entry name="RotationDuration" type="Int">
|
|
<default>0</default>
|
|
</entry>
|
|
<entry name="Opacity" type="Int">
|
|
<default>80</default>
|
|
</entry>
|
|
<entry name="OpacityDesktopOnly" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
<entry name="DisplayDesktopName" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="Reflection" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="BackgroundColor" type="Color">
|
|
<default code="true">QColor(Qt::black)</default>
|
|
</entry>
|
|
<entry name="CapColor" type="Color">
|
|
<default code="true">QColor(KColorScheme(QPalette::Active, KColorScheme::Window).background().color())</default>
|
|
</entry>
|
|
<entry name="CapPath" type="String">
|
|
<default code="true">QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("cubecap.png"))</default>
|
|
</entry>
|
|
<entry name="TexturedCaps" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="Caps" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="CloseOnMouseRelease" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
<entry name="TabBox" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
<entry name="ZPosition" type="Int">
|
|
<default>100</default>
|
|
</entry>
|
|
<entry name="Wallpaper" type="Url"/>
|
|
<entry name="CapDeformation" type="Int">
|
|
<default>0</default>
|
|
</entry>
|
|
<entry name="InvertKeys" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
<entry name="InvertMouse" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
<entry name="ZOrdering" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
</group>
|
|
</kcfg>
|