kwin: implement configuration interface for the presentwindows effect drag to close feature

disabled by default, there was no configuration interface for it so I
assume experimental

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-30 03:48:41 +03:00
parent da20c01ce3
commit 27f513449d

View file

@ -387,6 +387,31 @@
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="kcfg_LayoutMode">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>Natural</string>
</property>
</item>
<item>
<property name="text">
<string>Regular Grid</string>
</property>
</item>
<item>
<property name="text">
<string>Flexible Grid</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="kcfg_DrawWindowCaptions">
<property name="text">
@ -415,29 +440,11 @@
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="kcfg_LayoutMode">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<item row="6" column="0" colspan="2">
<widget class="QCheckBox" name="kcfg_DragToClose">
<property name="text">
<string>Drag &amp;to close</string>
</property>
<item>
<property name="text">
<string>Natural</string>
</property>
</item>
<item>
<property name="text">
<string>Regular Grid</string>
</property>
</item>
<item>
<property name="text">
<string>Flexible Grid</string>
</property>
</item>
</widget>
</item>
</layout>