kwin/kcmkwin/kwincompositing/main.ui
Martin Gräßlin 585addb450 Add a widget to assign an effect to screen edges in the kwincompositing dialog.
Remove the previous configuration for assigning screen edges from the config dialogs of the single effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=880728
2008-11-06 10:42:36 +00:00

366 lines
12 KiB
XML

<ui version="4.0" >
<class>KWinCompositingConfig</class>
<widget class="QWidget" name="KWinCompositingConfig" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>728</width>
<height>537</height>
</rect>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QTabWidget" name="tabWidget" >
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="tab" >
<attribute name="title" >
<string>General</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="KTitleWidget" name="statusTitleWidget" />
</item>
<item>
<widget class="QCheckBox" name="useCompositing" >
<property name="text" >
<string comment="@option:check" >Enable desktop effects</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="compositingOptionsContainer" >
<layout class="QVBoxLayout" >
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Common Effects</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QCheckBox" name="effectWinManagement" >
<property name="text" >
<string>Improved window management</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="effectShadows" >
<property name="text" >
<string>Shadows</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="effectAnimations" >
<property name="text" >
<string>Various animations</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" >
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="0" colspan="2" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>You can find more effects in the 'All Effects' tab</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Effect for window switching:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>windowSwitchingCombo</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QComboBox" name="windowSwitchingCombo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Effect for desktop switching:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>desktopSwitchingCombo</cstring>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QComboBox" name="desktopSwitchingCombo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Animation speed:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>animationSpeedCombo</cstring>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QComboBox" name="animationSpeedCombo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex" >
<number>3</number>
</property>
<item>
<property name="text" >
<string>Instant</string>
</property>
</item>
<item>
<property name="text" >
<string>Very fast</string>
</property>
</item>
<item>
<property name="text" >
<string>Fast</string>
</property>
</item>
<item>
<property name="text" >
<string>Normal</string>
</property>
</item>
<item>
<property name="text" >
<string>Slow</string>
</property>
</item>
<item>
<property name="text" >
<string>Very slow</string>
</property>
</item>
<item>
<property name="text" >
<string>Extremely slow</string>
</property>
</item>
</widget>
</item>
<item rowspan="3" row="1" column="1" >
<widget class="KWin::Monitor" native="1" name="edges_monitor" >
<property name="focusPolicy" >
<enum>Qt::StrongFocus</enum>
</property>
</widget>
</item>
<item row="3" column="0" >
<spacer name="verticalSpacer_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Screen edges:</string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="buddy" >
<cstring>edges_monitor</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>101</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="advancedOptions" >
<property name="text" >
<string>Advanced Options</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
</layout>
<zorder>statusTitleWidget</zorder>
<zorder>useCompositing</zorder>
<zorder>compositingOptionsContainer</zorder>
<zorder>groupBox</zorder>
</widget>
<widget class="QWidget" name="tab_2" >
<attribute name="title" >
<string>All Effects</string>
</attribute>
<layout class="QVBoxLayout" >
<item>
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Hint: To find out or configure how to activate an effect, look at the effect's settings.</string>
</property>
</widget>
</item>
<item>
<widget class="KPluginSelector" native="1" name="effectSelector" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
<zorder>tabWidget</zorder>
</widget>
<customwidgets>
<customwidget>
<class>KTitleWidget</class>
<extends>QWidget</extends>
<header>ktitlewidget.h</header>
</customwidget>
<customwidget>
<class>KPluginSelector</class>
<extends>QWidget</extends>
<header>kpluginselector.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>KWin::Monitor</class>
<extends>QWidget</extends>
<header>monitor.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>useCompositing</tabstop>
<tabstop>effectWinManagement</tabstop>
<tabstop>effectShadows</tabstop>
<tabstop>effectAnimations</tabstop>
<tabstop>edges_monitor</tabstop>
<tabstop>windowSwitchingCombo</tabstop>
<tabstop>desktopSwitchingCombo</tabstop>
<tabstop>animationSpeedCombo</tabstop>
<tabstop>advancedOptions</tabstop>
<tabstop>tabWidget</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>useCompositing</sender>
<signal>toggled(bool)</signal>
<receiver>groupBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>86</x>
<y>66</y>
</hint>
<hint type="destinationlabel" >
<x>102</x>
<y>156</y>
</hint>
</hints>
</connection>
</connections>
</ui>