f702221054
Now it uses a ui file which makes it easier to maintain. It brings together all options for multiple desktops. That is: * number of desktops * pager layout * activity per desktop * desktop names * desktop effect for switching animation * OSD on desktop switch * Shortcuts for desktop changing The plasma options (pager and activity) are still missing and currently disabled. FEATURE: 129605 CCBUG: 153799 svn path=/trunk/KDE/kdebase/workspace/; revision=995230
323 lines
10 KiB
XML
323 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KWinDesktopConfigForm</class>
|
|
<widget class="QWidget" name="KWinDesktopConfigForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>724</width>
|
|
<height>434</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="desktop">
|
|
<attribute name="title">
|
|
<string>Desktops</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Layout</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="numberLabel">
|
|
<property name="whatsThis">
|
|
<string>Here you can set how many virtual desktops you want on your KDE desktop. Move the slider to change the value.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Number of desktops:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>numberSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="KIntSpinBox" name="numberSpinBox">
|
|
<property name="whatsThis">
|
|
<string>Here you can set how many virtual desktops you want on your KDE desktop. Move the slider to change the value.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>4</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Number of rows:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>rowsSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KIntSpinBox" name="rowsSpinBox">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="activityCheckBox">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Different activity for each desktop</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="nameGroup">
|
|
<property name="title">
|
|
<string>Desktop Names</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="KWin::DesktopNamesWidget" name="desktopNames" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</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>
|
|
<widget class="QWidget" name="switching">
|
|
<attribute name="title">
|
|
<string>Switching</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Desktop Effect Animation</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Animation:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>effectComboBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="KComboBox" name="effectComboBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="KPushButton" name="effectConfigButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="KPushButton" name="effectInfoButton"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="verticalSpacer_3">
|
|
<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>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="shortcutsGroupBox">
|
|
<property name="title">
|
|
<string>Shortcuts</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QFrame" name="editorFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="allShortcutsCheckBox">
|
|
<property name="text">
|
|
<string>Show shortcuts for all possible desktops</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QGroupBox" name="popupInfoCheckBox">
|
|
<property name="title">
|
|
<string>Desktop Switch On-Screen Display</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="hideLabel">
|
|
<property name="text">
|
|
<string>Duration:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>popupHideSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="KIntSpinBox" name="popupHideSpinBox">
|
|
<property name="suffix">
|
|
<string> msec</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>5000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>50</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" 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>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KIntSpinBox</class>
|
|
<extends>QSpinBox</extends>
|
|
<header>knuminput.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>KPushButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>kpushbutton.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>KComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>kcombobox.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>KWin::DesktopNamesWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>desktopnameswidget.h</header>
|
|
<container>1</container>
|
|
<slots>
|
|
<slot>numberChanged(int)</slot>
|
|
</slots>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>numberSpinBox</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>desktopNames</receiver>
|
|
<slot>numberChanged(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>327</x>
|
|
<y>144</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>326</x>
|
|
<y>209</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|