SYNERGY-799 Rearrange advanced settings tab

This commit is contained in:
Serhii Hadzhilov 2021-04-13 14:48:56 +03:00
parent 8377f783a2
commit 4c20c39ea8

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>795</width> <width>778</width>
<height>534</height> <height>453</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -17,7 +17,7 @@
<item> <item>
<widget class="QTabWidget" name="m_pTabWidget"> <widget class="QTabWidget" name="m_pTabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="m_pTabScreens"> <widget class="QWidget" name="m_pTabScreens">
<attribute name="title"> <attribute name="title">
@ -339,7 +339,15 @@
<string>Advanced server settings</string> <string>Advanced server settings</string>
</attribute> </attribute>
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="0" column="0"> <item row="1" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="m_pGroupSwitch"> <widget class="QGroupBox" name="m_pGroupSwitch">
<property name="font"> <property name="font">
<font> <font>
@ -347,7 +355,7 @@
</font> </font>
</property> </property>
<property name="title"> <property name="title">
<string>&amp;Switch</string> <string>&amp;Switch computer</string>
</property> </property>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout">
<item> <item>
@ -456,37 +464,30 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer>
<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> </layout>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item>
<widget class="QGroupBox" name="m_pGroupOptions"> <widget class="QGroupBox" name="groupBox_3">
<property name="font"> <property name="font">
<font> <font>
<kerning>false</kerning> <kerning>true</kerning>
</font> </font>
</property> </property>
<property name="title"> <property name="title">
<string>&amp;Options</string> <string>Clipboard sharing</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item row="8" column="0"> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QCheckBox" name="m_pCheckBoxEnableClipboard"> <widget class="QCheckBox" name="m_pCheckBoxEnableClipboard">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>Enable clipboard sharing</string> <string>Enable clipboard sharing</string>
</property> </property>
@ -514,7 +515,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>50</number> <number>10000</number>
</property> </property>
<property name="value"> <property name="value">
<number>3</number> <number>3</number>
@ -524,33 +525,136 @@
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="text"> <property name="text">
<string>MB</string> <string>mb</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="3" column="0"> <item>
<widget class="QCheckBox" name="m_pCheckBoxWin32KeepForeground"> <spacer name="verticalSpacer_3">
<property name="enabled"> <property name="orientation">
<bool>true</bool> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>23</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="5" column="0">
<spacer>
<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="4" column="0" colspan="3">
<widget class="QGroupBox" name="m_pGroupSwitchCorners">
<property name="font">
<font>
<kerning>true</kerning>
</font>
</property>
<property name="title">
<string>&amp;Dead corners</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout">
<item row="1" column="0" colspan="3">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopLeft">
<property name="text"> <property name="text">
<string>Don't take &amp;foreground window on Windows servers</string> <string>To&amp;p-left</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="3" colspan="2">
<widget class="QCheckBox" name="m_pCheckBoxRelativeMouseMoves"> <widget class="QCheckBox" name="m_pCheckBoxCornerTopRight">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text"> <property name="text">
<string>Use &amp;relative mouse moves</string> <string>Top-rig&amp;ht</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="12" column="0"> <item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomLeft">
<property name="text">
<string>&amp;Bottom-left</string>
</property>
</widget>
</item>
<item row="2" column="3" colspan="2">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomRight">
<property name="text">
<string>Bottom-ri&amp;ght</string>
</property>
</widget>
</item>
<item row="1" column="5">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Cor&amp;ner Size:</string>
</property>
<property name="buddy">
<cstring>m_pSpinBoxSwitchCornerSize</cstring>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="m_pSpinBoxSwitchCornerSize">
<property name="maximum">
<number>30000</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>px</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="m_pGroupOptions">
<property name="font">
<font>
<kerning>false</kerning>
</font>
</property>
<property name="title">
<string>&amp;Options</string>
</property>
<layout class="QGridLayout">
<item row="11" column="0">
<spacer> <spacer>
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@ -563,15 +667,21 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="4" column="0"> <item row="1" column="0">
<widget class="QCheckBox" name="m_pCheckBoxIgnoreAutoConfigClient"> <widget class="QCheckBox" name="m_pCheckBoxRelativeMouseMoves">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text"> <property name="text">
<string>Ignore auto config clients</string> <string>Use &amp;relative mouse moves</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<layout class="QHBoxLayout"> <layout class="QHBoxLayout">
<property name="spacing">
<number>0</number>
</property>
<item> <item>
<widget class="QCheckBox" name="m_pCheckBoxHeartbeat"> <widget class="QCheckBox" name="m_pCheckBoxHeartbeat">
<property name="enabled"> <property name="enabled">
@ -623,6 +733,13 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="4" column="0">
<widget class="QCheckBox" name="m_pCheckBoxIgnoreAutoConfigClient">
<property name="text">
<string>Ignore auto config clients</string>
</property>
</widget>
</item>
<item row="6" column="0"> <item row="6" column="0">
<widget class="QCheckBox" name="m_pCheckBoxDisableLockToScreen"> <widget class="QCheckBox" name="m_pCheckBoxDisableLockToScreen">
<property name="text"> <property name="text">
@ -630,109 +747,20 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="3" column="0">
</widget> <widget class="QCheckBox" name="m_pCheckBoxWin32KeepForeground">
</item> <property name="enabled">
<item row="1" column="0" colspan="2"> <bool>true</bool>
<widget class="QGroupBox" name="m_pGroupSwitchCorners">
<property name="font">
<font>
<kerning>true</kerning>
</font>
</property> </property>
<property name="title">
<string>&amp;Dead corners</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout">
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopLeft">
<property name="text"> <property name="text">
<string>To&amp;p-left</string> <string>Don't take &amp;foreground window on Windows servers</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" colspan="2">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopRight">
<property name="text">
<string>Top-rig&amp;ht</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomLeft">
<property name="text">
<string>&amp;Bottom-left</string>
</property>
</widget>
</item>
<item row="1" column="2" colspan="2">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomRight">
<property name="text">
<string>Bottom-ri&amp;ght</string>
</property>
</widget>
</item>
<item row="2" column="0">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1" colspan="2">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Cor&amp;ner Size:</string>
</property>
<property name="buddy">
<cstring>m_pSpinBoxSwitchCornerSize</cstring>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="m_pSpinBoxSwitchCornerSize"/>
</item>
</layout>
</item>
<item row="2" column="3">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="0"> </layout>
<spacer>
<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>
</layout> </layout>
</widget> </widget>