b274203a6a
This includes: * use of RotationData instead of glRotate * use of x/y/zTranslate instead of glTranslate * does not define own projection matrix * changed the direction of the animation (consistent with Cover Flow) * no special code for start/stop animations. That's now covered in the code for "normal" switching, thanks to not using glTranslate any more. Therefore minimized windows are faded instead of moved from panel * zoom - define how far away the windows appear (only in config dialog possible) * additional thumbnail bar which is shown when there are many (>= 8, configurable) windows * window covers can be clicked and become selected window (Sorry for the one big commit - looking forward to the days when we don't lose commit history when using git ;-)) svn path=/trunk/KDE/kdebase/workspace/; revision=883008
192 lines
5.9 KiB
XML
192 lines
5.9 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>608</width>
|
|
<height>238</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2" >
|
|
<item row="0" column="1" >
|
|
<widget class="QGroupBox" name="groupBox_3" >
|
|
<property name="title" >
|
|
<string>Thumbnail Bar</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout" >
|
|
<item row="0" column="0" >
|
|
<widget class="QCheckBox" name="checkThumbnails" >
|
|
<property name="text" >
|
|
<string>Use additional thumbnail bar</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QCheckBox" name="checkDynamicThumbnails" >
|
|
<property name="toolTip" >
|
|
<string>Only show thumbnail bar if there are at least specified number of windows</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Dynamic mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="labelThumbnailWindows" >
|
|
<property name="text" >
|
|
<string>Number of windows:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>spinThumbnailWindows</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QSpinBox" name="spinThumbnailWindows" />
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QGroupBox" name="groupBox_2" >
|
|
<property name="title" >
|
|
<string>Zoom</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_8" >
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="label_8" >
|
|
<property name="text" >
|
|
<string>Near</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QLabel" name="label_9" >
|
|
<property name="text" >
|
|
<string>Far</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QSlider" name="zPositionSlider" >
|
|
<property name="toolTip" >
|
|
<string>Define how far away the windows should appear</string>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>3000</number>
|
|
</property>
|
|
<property name="singleStep" >
|
|
<number>10</number>
|
|
</property>
|
|
<property name="pageStep" >
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition" >
|
|
<enum>QSlider::TicksBelow</enum>
|
|
</property>
|
|
<property name="tickInterval" >
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item rowspan="2" row="0" column="0" >
|
|
<widget class="QGroupBox" name="groupBox" >
|
|
<property name="title" >
|
|
<string>Appearance</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" >
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QCheckBox" name="checkAnimateSwitch" >
|
|
<property name="text" >
|
|
<string>Animate 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 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 close</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2" >
|
|
<widget class="QCheckBox" name="checkReflection" >
|
|
<property name="text" >
|
|
<string>Reflections</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" >
|
|
<widget class="QSpinBox" name="spinDuration" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<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>
|
|
<item row="4" column="0" >
|
|
<widget class="QLabel" name="label_3" >
|
|
<property name="text" >
|
|
<string>Animation duration:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>spinDuration</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<zorder>groupBox_3</zorder>
|
|
<zorder>groupBox</zorder>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>checkAnimateSwitch</tabstop>
|
|
<tabstop>checkAnimateStart</tabstop>
|
|
<tabstop>checkAnimateStop</tabstop>
|
|
<tabstop>checkReflection</tabstop>
|
|
<tabstop>spinDuration</tabstop>
|
|
<tabstop>checkThumbnails</tabstop>
|
|
<tabstop>checkDynamicThumbnails</tabstop>
|
|
<tabstop>spinThumbnailWindows</tabstop>
|
|
<tabstop>zPositionSlider</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|