kwin/effects/coverswitch_config.ui
Luboš Luňák 2a87593638 Add a global configuration option for animation speed. See description
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00

87 lines
2.5 KiB
XML

<ui version="4.0" >
<class>KWin::CoverSwitchEffectConfigForm</class>
<widget class="QWidget" name="KWin::CoverSwitchEffectConfigForm" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>289</width>
<height>237</height>
</rect>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Appearance</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QCheckBox" name="checkAnimateSwitch" >
<property name="text" >
<string>Animate &amp;switch</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QCheckBox" name="checkAnimateStart" >
<property name="text" >
<string>Animation on tab box &amp;open</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QCheckBox" name="checkAnimateStop" >
<property name="text" >
<string>Animation on tab box &amp;close</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QCheckBox" name="checkReflection" >
<property name="text" >
<string>&amp;Reflections</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>&amp;Animation duration:</string>
</property>
<property name="buddy" >
<cstring>spinDuration</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QSpinBox" name="spinDuration" >
<property name="specialValueText" >
<string>Default</string>
</property>
<property name="suffix" >
<string> msec</string>
</property>
<property name="maximum" >
<number>5000</number>
</property>
<property name="singleStep" >
<number>10</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>checkAnimateSwitch</tabstop>
<tabstop>checkAnimateStart</tabstop>
<tabstop>checkAnimateStop</tabstop>
<tabstop>checkReflection</tabstop>
<tabstop>spinDuration</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>