kwin/effects/zoom/zoom_config.ui
Vlad Zahorodnii c1ea0412a4 [effects/zoom] Implement focus tracking with QAccessibilityClient
Currently, the focus tracking functionality in the zoom effect does not
work because it relies on kaccessibleapp, which is dead. Luckily for us,
there is a library called libqaccessibilityclient that provides a way
to monitor focus changes.

BUG: 421234
2020-06-01 10:43:59 +03:00

181 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>KWin::ZoomEffectConfigForm</class>
<widget class="QWidget" name="KWin::ZoomEffectConfigForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>304</width>
<height>288</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupSize">
<property name="title">
<string/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="whatsThis">
<string>On zoom-in and zoom-out change the zoom by the defined zoom-factor.</string>
</property>
<property name="text">
<string>Zoom Factor:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_ZoomFactor</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="kcfg_ZoomFactor">
<property name="whatsThis">
<string>On zoom-in and zoom-out change the zoom by the defined zoom-factor.</string>
</property>
<property name="suffix">
<string/>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="maximum">
<double>9999.000000000000000</double>
</property>
<property name="singleStep">
<double>0.050000000000000</double>
</property>
<property name="value">
<double>1.250000000000000</double>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="kcfg_EnableFocusTracking">
<property name="toolTip">
<string/>
</property>
<property name="whatsThis">
<string>Enable tracking of the focused location. This needs QAccessible to be enabled per application (&quot;export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1&quot;).</string>
</property>
<property name="text">
<string>Enable Focus Tracking</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Mouse Pointer:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_MousePointer</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="kcfg_MousePointer">
<property name="whatsThis">
<string>Visibility of the mouse-pointer.</string>
</property>
<item>
<property name="text">
<string>Scale</string>
</property>
</item>
<item>
<property name="text">
<string>Keep</string>
</property>
</item>
<item>
<property name="text">
<string>Hide</string>
</property>
</item>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="kcfg_MouseTracking">
<property name="whatsThis">
<string>Track moving of the mouse.</string>
</property>
<item>
<property name="text">
<string>Proportional</string>
</property>
</item>
<item>
<property name="text">
<string>Centered</string>
</property>
</item>
<item>
<property name="text">
<string>Push</string>
</property>
</item>
<item>
<property name="text">
<string>Disabled</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Mouse Tracking:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_MouseTracking</cstring>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="KShortcutsEditor" name="editor">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KShortcutsEditor</class>
<extends>QWidget</extends>
<header>kshortcutseditor.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>kcfg_ZoomFactor</tabstop>
<tabstop>kcfg_MousePointer</tabstop>
<tabstop>kcfg_MouseTracking</tabstop>
<tabstop>kcfg_EnableFocusTracking</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>