64d1b0e93c
Summary: Some people may not like the sliding of desktop background. Add corresponding option to disable the sliding of desktop background. By disabling the sliding of desktop background and docks, one can get old slide effect. {F5912713, layout=center, size=full} Test Plan: * Unchecked "Slide desktop background" checkbox, switched desktop; * Checked "Slide desktop background" checkbox, switched desktop. Reviewers: #kwin, #plasma, #vdg, mart Reviewed By: #kwin, #plasma, #vdg, mart Subscribers: romangg, abetts, ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D13542
133 lines
3.6 KiB
XML
133 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SlideEffectConfig</class>
|
|
<widget class="QWidget" name="SlideEffectConfig">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>250</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QFormLayout" name="layout_Duration">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_Duration">
|
|
<property name="text">
|
|
<string>Duration:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="kcfg_Duration">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string extracomment="Duration of the slide animation.">Default</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> milliseconds</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>9999</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_Gaps">
|
|
<property name="title">
|
|
<string>Gap between desktops</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_HorizontalGap">
|
|
<property name="text">
|
|
<string>Horizontal:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="kcfg_HorizontalGap">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_VerticalGap">
|
|
<property name="text">
|
|
<string>Vertical:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="kcfg_VerticalGap">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="kcfg_SlideDocks">
|
|
<property name="text">
|
|
<string>Slide docks</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="kcfg_SlideBackground">
|
|
<property name="text">
|
|
<string>Slide desktop background</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|