663d139638
Summary: Apply the KDE HIG, use form layouts, make desktop files consistent and make the KCMs look better. {F7323519} {F7330485} {F7330486} {F7302318} {F7302319} Test Plan: Open the {nav Window Behavior} KCMs. All options should still work Reviewers: #kwin, #plasma, #vdg, ngraham, zzag Reviewed By: #kwin, #plasma, #vdg, ngraham, zzag Subscribers: ngraham, davidedmundson, zzag, #vdg, #plasma, kwin, #kwin Tags: #kwin Maniphest Tasks: T10273 Differential Revision: https://phabricator.kde.org/D23615
170 lines
5.2 KiB
XML
170 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KWinMovingConfigForm</class>
|
|
<widget class="QWidget" name="KWinMovingConfigForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>600</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="formAlignment">
|
|
<set>Qt::AlignHCenter|Qt::AlignTop</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="geometryTipLabel">
|
|
<property name="text">
|
|
<string>Window &geometry:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>geometryTipOn</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="geometryTipOn">
|
|
<property name="whatsThis">
|
|
<string>Enable this option if you want a window's geometry to be displayed while it is being moved or resized. The window position relative to the top-left corner of the screen is displayed together with its size.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Display when moving or resizing</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="borderSnapLabel">
|
|
<property name="text">
|
|
<string>Screen &edge snap zone:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>borderSnap</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="borderSnap">
|
|
<property name="whatsThis">
|
|
<string>Here you can set the snap zone for screen edges, i.e. the 'strength' of the magnetic field which will make windows snap to the border when moved near it.</string>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> px</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSpinBox" name="windowSnap">
|
|
<property name="whatsThis">
|
|
<string>Here you can set the snap zone for windows, i.e. the 'strength' of the magnetic field which will make windows snap to each other when they are moved near another window.</string>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> px</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QSpinBox" name="centerSnap">
|
|
<property name="whatsThis">
|
|
<string>Here you can set the snap zone for the screen center, i.e. the 'strength' of the magnetic field which will make windows snap to the center of the screen when moved near it.</string>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> px</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="OverlapSnap">
|
|
<property name="whatsThis">
|
|
<string>Here you can set that windows will be only snapped if you try to overlap them, i.e. they will not be snapped if the windows comes only near another window or border.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Only when overlapping</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="windowSnapLabel">
|
|
<property name="text">
|
|
<string>&Window snap zone:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>windowSnap</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="centerSnaplabel">
|
|
<property name="text">
|
|
<string>&Center snap zone:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>centerSnap</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="OverlapSnapLabel">
|
|
<property name="text">
|
|
<string>&Snap windows:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>OverlapSnap</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<spacer name="verticalSpacer_1">
|
|
<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>2</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|