Fixed issue 483

This commit is contained in:
Nick Bolton 2010-06-02 19:53:45 +00:00
parent 5c8a85c750
commit f3e1e81967
7 changed files with 1997 additions and 1976 deletions

View File

@ -1,151 +1,150 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AboutDialogBase</class>
<widget class="QDialog" name="AboutDialogBase" >
<property name="windowModality" >
<widget class="QDialog" name="AboutDialogBase">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry" >
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>368</width>
<height>350</height>
<width>374</width>
<height>212</height>
</rect>
</property>
<property name="minimumSize" >
<property name="minimumSize">
<size>
<width>368</width>
<height>350</height>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="windowTitle" >
<string>About QSynergy</string>
<property name="windowTitle">
<string>About Synergy+</string>
</property>
<property name="modal" >
<property name="modal">
<bool>true</bool>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
<layout class="QGridLayout">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large; font-weight:600;">&lt;span style=" font-size:x-large;">QSynergy&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:x-large;&quot;&gt;Synergy+&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap" >
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks" >
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags" >
<set>Qt::LinksAccessibleByMouse|Qt::NoTextInteraction|Qt::TextSelectableByMouse</set>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Version 0.9.0
<item row="1" column="0" rowspan="2" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>The Synergy+ GUI is based on QSynergy by Volker Lanz
Copyright 2008 Volker Lanz (vl@fidra.de)
QSynergy is open source and released under the GNU Public License (GPL) Version 2.
Synergy and the synergy icon: Copyright (C) 2002 Chris Schoeneman.</string>
Copyright © 2010 The Synergy+ Project
Copyright © 2008 Volker Lanz (vl@fidra.de)
Copyright © 2002 Chris Schoeneman</string>
</property>
<property name="wordWrap" >
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="Line" name="line" >
<property name="orientation" >
<item row="3" column="0" colspan="2">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2" >
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<item row="5" column="0" colspan="2">
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Synergy Version:</string>
<property name="text">
<string>Version:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="m_pLabelSynergyVersion" >
<property name="text" >
<item row="0" column="1">
<widget class="QLabel" name="m_pLabelSynergyVersion">
<property name="text">
<string>-</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_6" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<property name="text">
<string>Hostname:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="m_pLabelHostname" >
<property name="text" >
<item row="1" column="1">
<widget class="QLabel" name="m_pLabelHostname">
<property name="text">
<string>-</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_8" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<property name="text">
<string>IP-Address:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLabel" name="m_pLabelIPAddress" >
<property name="text" >
<item row="2" column="1">
<widget class="QLabel" name="m_pLabelIPAddress">
<property name="text">
<string>-</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item row="6" column="1" >
<item row="6" column="1">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>78</height>
@ -153,12 +152,12 @@ Synergy and the synergy icon: Copyright (C) 2002 Chris Schoeneman.</string>
</property>
</spacer>
</item>
<item row="7" column="0" >
<item row="7" column="0">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>131</width>
<height>20</height>
@ -166,9 +165,9 @@ Synergy and the synergy icon: Copyright (C) 2002 Chris Schoeneman.</string>
</property>
</spacer>
</item>
<item row="7" column="1" >
<widget class="QPushButton" name="buttonOk" >
<property name="text" >
<item row="7" column="1">
<widget class="QPushButton" name="buttonOk">
<property name="text">
<string>&amp;Ok</string>
</property>
</widget>
@ -183,11 +182,11 @@ Synergy and the synergy icon: Copyright (C) 2002 Chris Schoeneman.</string>
<receiver>AboutDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>315</x>
<y>374</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>301</x>
<y>3</y>
</hint>

View File

@ -1,7 +1,8 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ActionDialogBase</class>
<widget class="QDialog" name="ActionDialogBase" >
<property name="geometry" >
<widget class="QDialog" name="ActionDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,77 +10,77 @@
<height>484</height>
</rect>
</property>
<property name="windowTitle" >
<string>Configure action</string>
<property name="windowTitle">
<string>Configure Action</string>
</property>
<layout class="QVBoxLayout" >
<layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="m_pGroupType" >
<property name="title" >
<widget class="QGroupBox" name="m_pGroupType">
<property name="title">
<string>Choose the action to perform</string>
</property>
<layout class="QVBoxLayout" >
<layout class="QVBoxLayout">
<item>
<widget class="QRadioButton" name="m_pRadioPress" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioPress">
<property name="text">
<string>Press a hotkey</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="m_pRadioRelease" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioRelease">
<property name="text">
<string>Release a hotkey</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="m_pRadioPressAndRelease" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioPressAndRelease">
<property name="text">
<string>Press and release a hotkey</string>
</property>
</widget>
</item>
<item>
<widget class="KeySequenceWidget" name="m_pKeySequenceWidgetHotkey" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<widget class="KeySequenceWidget" name="m_pKeySequenceWidgetHotkey">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<property name="minimumSize">
<size>
<width>256</width>
<height>0</height>
</size>
</property>
<property name="text" >
<property name="text">
<string>dfgsfgsdfgsdfgsd</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="m_pGroupBoxScreens" >
<property name="title" >
<widget class="QGroupBox" name="m_pGroupBoxScreens">
<property name="title">
<string>only on these screens</string>
</property>
<property name="flat" >
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable" >
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -88,14 +89,14 @@
</spacer>
</item>
<item>
<widget class="QListWidget" name="m_pListScreens" >
<property name="minimumSize" >
<widget class="QListWidget" name="m_pListScreens">
<property name="minimumSize">
<size>
<width>128</width>
<height>64</height>
</size>
</property>
<property name="selectionMode" >
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
</widget>
@ -104,27 +105,27 @@
</widget>
</item>
<item>
<widget class="Line" name="line" >
<property name="orientation" >
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QRadioButton" name="m_pRadioSwitchToScreen" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioSwitchToScreen">
<property name="text">
<string>Switch to screen</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -133,8 +134,8 @@
</spacer>
</item>
<item>
<widget class="QComboBox" name="m_pComboSwitchToScreen" >
<property name="enabled" >
<widget class="QComboBox" name="m_pComboSwitchToScreen">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
@ -142,20 +143,20 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QRadioButton" name="m_pRadioSwitchInDirection" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioSwitchInDirection">
<property name="text">
<string>Switch in direction</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -164,27 +165,27 @@
</spacer>
</item>
<item>
<widget class="QComboBox" name="m_pComboSwitchInDirection" >
<property name="enabled" >
<widget class="QComboBox" name="m_pComboSwitchInDirection">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text" >
<property name="text">
<string>left</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>right</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>up</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>down</string>
</property>
</item>
@ -193,20 +194,20 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QRadioButton" name="m_pRadioLockCursorToScreen" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioLockCursorToScreen">
<property name="text">
<string>Lock cursor to screen</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -215,22 +216,22 @@
</spacer>
</item>
<item>
<widget class="QComboBox" name="m_pComboLockCursorToScreen" >
<property name="enabled" >
<widget class="QComboBox" name="m_pComboLockCursorToScreen">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text" >
<property name="text">
<string>toggle</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>on</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>off</string>
</property>
</item>
@ -242,24 +243,24 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>This action is performed when</string>
</property>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QRadioButton" name="m_pRadioHotkeyPressed" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioHotkeyPressed">
<property name="text">
<string>the hotkey is pressed</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="m_pRadioHotkeyReleased" >
<property name="text" >
<widget class="QRadioButton" name="m_pRadioHotkeyReleased">
<property name="text">
<string>the hotkey is released</string>
</property>
</widget>
@ -268,12 +269,12 @@
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@ -294,11 +295,11 @@
<receiver>ActionDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>245</x>
<y>474</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
@ -310,11 +311,11 @@
<receiver>ActionDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>313</x>
<y>474</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
@ -326,11 +327,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>104</x>
<y>194</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>110</x>
<y>132</y>
</hint>
@ -342,11 +343,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>118</x>
<y>322</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>81</x>
<y>129</y>
</hint>
@ -358,11 +359,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>101</x>
<y>353</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>68</x>
<y>126</y>
</hint>
@ -374,11 +375,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>48</x>
<y>48</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>45</x>
<y>129</y>
</hint>
@ -390,11 +391,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>135</x>
<y>70</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>148</x>
<y>125</y>
</hint>
@ -406,11 +407,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>194</x>
<y>100</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>201</x>
<y>125</y>
</hint>
@ -422,11 +423,11 @@
<receiver>m_pComboSwitchToScreen</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>148</x>
<y>291</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>350</x>
<y>290</y>
</hint>
@ -438,11 +439,11 @@
<receiver>m_pComboSwitchInDirection</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>158</x>
<y>322</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>350</x>
<y>321</y>
</hint>
@ -454,11 +455,11 @@
<receiver>m_pComboLockCursorToScreen</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>180</x>
<y>353</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>350</x>
<y>352</y>
</hint>
@ -470,11 +471,11 @@
<receiver>m_pGroupBoxScreens</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>25</x>
<y>47</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>33</x>
<y>155</y>
</hint>
@ -486,11 +487,11 @@
<receiver>m_pGroupBoxScreens</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>48</x>
<y>278</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>98</x>
<y>153</y>
</hint>
@ -502,11 +503,11 @@
<receiver>m_pGroupBoxScreens</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>264</x>
<y>67</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>241</x>
<y>158</y>
</hint>
@ -518,11 +519,11 @@
<receiver>m_pGroupBoxScreens</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>286</x>
<y>98</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>290</x>
<y>156</y>
</hint>
@ -534,11 +535,11 @@
<receiver>m_pGroupBoxScreens</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>38</x>
<y>313</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>64</x>
<y>195</y>
</hint>
@ -550,11 +551,11 @@
<receiver>m_pGroupBoxScreens</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>48</x>
<y>339</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>79</x>
<y>234</y>
</hint>
@ -566,11 +567,11 @@
<receiver>m_pKeySequenceWidgetHotkey</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>84</x>
<y>280</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>185</x>
<y>123</y>
</hint>

View File

@ -1,36 +1,36 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>HotkeyDialogBase</class>
<widget class="QDialog" name="HotkeyDialogBase" >
<property name="geometry" >
<widget class="QDialog" name="HotkeyDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>344</width>
<height>106</height>
<height>86</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Hotkey</string>
</property>
<layout class="QVBoxLayout" >
<layout class="QVBoxLayout">
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<widget class="QLabel" name="label">
<property name="text">
<string>Enter the specification for the hotkey:</string>
</property>
</widget>
</item>
<item>
<widget class="KeySequenceWidget" name="m_pKeySequenceWidgetHotkey" >
</widget>
<widget class="KeySequenceWidget" name="m_pKeySequenceWidgetHotkey"/>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@ -39,7 +39,7 @@
<customwidgets>
<customwidget>
<class>KeySequenceWidget</class>
<extends>QPushButton</extends>
<extends>QLineEdit</extends>
<header>KeySequenceWidget.h</header>
</customwidget>
</customwidgets>
@ -51,11 +51,11 @@
<receiver>HotkeyDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
@ -67,11 +67,11 @@
<receiver>HotkeyDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>

View File

@ -1,88 +1,83 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindowBase</class>
<widget class="QMainWindow" name="MainWindowBase" >
<property name="geometry" >
<widget class="QMainWindow" name="MainWindowBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>397</width>
<height>306</height>
<height>247</height>
</rect>
</property>
<property name="windowTitle" >
<string>QSynergy</string>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QGroupBox" name="m_pGroupClient" >
<property name="title" >
<string>Control &amp;this computer from another one (be a client)</string>
<property name="windowTitle">
<string>Synergy+</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout">
<item row="4" column="1">
<widget class="QPushButton" name="m_pButtonToggleStart">
<property name="text">
<string>&amp;Start</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="m_pLabel_2" >
<property name="text" >
<string>&amp;Name of the server:</string>
</property>
<property name="buddy" >
<cstring>m_pLineEditHostname</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="m_pLineEditHostname" />
</item>
</layout>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QGroupBox" name="m_pGroupServer" >
<property name="title" >
<string>Use this computer to control &amp;others (be a server)</string>
<item row="1" column="0" colspan="2">
<widget class="QGroupBox" name="m_pGroupServer">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="checkable" >
<property name="title">
<string>&amp;Server (share this computer's mouse and keyboard):</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<layout class="QVBoxLayout">
<item>
<widget class="QRadioButton" name="m_pRadioExternalConfig" >
<property name="text" >
<string>Start synergy with an &amp;existing configuration</string>
<widget class="QRadioButton" name="m_pRadioExternalConfig">
<property name="text">
<string>Use existing configuration:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="m_pLabel_4" >
<property name="text" >
<widget class="QLabel" name="m_pLabelConfigurationFile">
<property name="text">
<string>&amp;Configuration file:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pLineEditConfigFile</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="m_pLineEditConfigFile" >
<property name="enabled" >
<widget class="QLineEdit" name="m_pLineEditConfigFile">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_pButtonBrowseConfigFile" >
<property name="enabled" >
<widget class="QPushButton" name="m_pButtonBrowseConfigFile">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text" >
<property name="text">
<string>&amp;Browse...</string>
</property>
</widget>
@ -90,43 +85,30 @@
</layout>
</item>
<item>
<widget class="QRadioButton" name="m_pRadioInternalConfig" >
<property name="text" >
<string>&amp;Interactively configure synergy</string>
<widget class="QRadioButton" name="m_pRadioInternalConfig">
<property name="text">
<string>Configure interactively:</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="m_pButtonConfigureServer" >
<property name="text" >
<widget class="QPushButton" name="m_pButtonConfigureServer">
<property name="text">
<string>&amp;Configure Server...</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -139,12 +121,12 @@
</layout>
</widget>
</item>
<item row="3" column="0" >
<item row="4" column="0">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -152,98 +134,135 @@
</property>
</spacer>
</item>
<item row="3" column="1" >
<widget class="QPushButton" name="m_pButtonStart" >
<property name="text" >
<string>&amp;Start</string>
<item row="3" column="0" colspan="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" colspan="2">
<widget class="QGroupBox" name="m_pGroupClient">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>&amp;Client (use another computer's keyboard and mouse):</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="m_pLabelServerName">
<property name="text">
<string>&amp;Name of the server:</string>
</property>
<property name="buddy">
<cstring>m_pLineEditHostname</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="m_pLineEditHostname"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<action name="m_pActionAbout" >
<property name="text" >
<action name="m_pActionAbout">
<property name="text">
<string>&amp;About QSynergy...</string>
</property>
</action>
<action name="m_pActionQuit" >
<property name="text" >
<action name="m_pActionQuit">
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="statusTip" >
<property name="statusTip">
<string>Quit QSynergy.</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="m_pActionStartSynergy" >
<property name="text" >
<action name="m_pActionStartSynergy">
<property name="text">
<string>&amp;Start Synergy</string>
</property>
<property name="statusTip" >
<property name="statusTip">
<string>Run synergy program.</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="m_pActionStopSynergy" >
<property name="enabled" >
<action name="m_pActionStopSynergy">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text" >
<property name="text">
<string>S&amp;top Synergy</string>
</property>
<property name="statusTip" >
<property name="statusTip">
<string>Stop Synergy program.</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+T</string>
</property>
</action>
<action name="actionShowStatus" >
<property name="text" >
<action name="actionShowStatus">
<property name="text">
<string>S&amp;how Status</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+H</string>
</property>
</action>
<action name="m_pActionMinimize" >
<property name="text" >
<action name="m_pActionMinimize">
<property name="text">
<string>&amp;Minimize</string>
</property>
</action>
<action name="m_pActionRestore" >
<property name="text" >
<action name="m_pActionRestore">
<property name="text">
<string>&amp;Restore</string>
</property>
</action>
<action name="m_pActionSave" >
<property name="text" >
<action name="m_pActionSave">
<property name="text">
<string>Save configuration &amp;as...</string>
</property>
<property name="statusTip" >
<property name="statusTip">
<string>Save the interactively generated server configuration to a file.</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+Alt+S</string>
</property>
</action>
<action name="m_pActionSettings" >
<property name="text" >
<action name="m_pActionSettings">
<property name="text">
<string>Settings</string>
</property>
<property name="statusTip" >
<property name="statusTip">
<string>Edit settings for QSynergy and synergy itself</string>
</property>
</action>
<action name="m_pActionLogOutput" >
<property name="text" >
<action name="m_pActionLogOutput">
<property name="text">
<string>Log output</string>
</property>
<property name="statusTip" >
<property name="statusTip">
<string>Open a window with synergy's output</string>
</property>
</action>
@ -251,48 +270,32 @@
<resources/>
<connections>
<connection>
<sender>m_pButtonStart</sender>
<sender>m_pButtonToggleStart</sender>
<signal>clicked()</signal>
<receiver>m_pActionStartSynergy</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>361</x>
<y>404</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_pRadioInternalConfig</sender>
<signal>toggled(bool)</signal>
<receiver>m_pButtonConfigureServer</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>204</x>
<y>244</y>
</hint>
<hint type="destinationlabel" >
<x>212</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_pRadioExternalConfig</sender>
<signal>toggled(bool)</signal>
<receiver>m_pLineEditConfigFile</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>156</x>
<y>179</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>169</x>
<y>209</y>
</hint>
@ -304,15 +307,31 @@
<receiver>m_pButtonBrowseConfigFile</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>353</x>
<y>182</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>356</x>
<y>211</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_pRadioInternalConfig</sender>
<signal>toggled(bool)</signal>
<receiver>m_pButtonConfigureServer</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>204</x>
<y>244</y>
</hint>
<hint type="destinationlabel">
<x>212</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -1,85 +1,86 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ScreenSettingsDialogBase</class>
<widget class="QDialog" name="ScreenSettingsDialogBase" >
<property name="geometry" >
<widget class="QDialog" name="ScreenSettingsDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>434</width>
<height>484</height>
<height>437</height>
</rect>
</property>
<property name="windowTitle" >
<string>Screen settings</string>
<property name="windowTitle">
<string>Screen Settings</string>
</property>
<layout class="QVBoxLayout" >
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label_7" >
<property name="text" >
<widget class="QLabel" name="label_7">
<property name="text">
<string>Screen &amp;name:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pLineEditName</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="m_pLineEditName" />
<widget class="QLineEdit" name="m_pLineEditName"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QGroupBox" name="m_pGroupAliases" >
<property name="enabled" >
<widget class="QGroupBox" name="m_pGroupAliases">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title" >
<property name="title">
<string>A&amp;liases</string>
</property>
<property name="checked" >
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLineEdit" name="m_pLineEditAlias" />
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLineEdit" name="m_pLineEditAlias"/>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="m_pButtonAddAlias" >
<property name="enabled" >
<item row="0" column="1">
<widget class="QPushButton" name="m_pButtonAddAlias">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text" >
<property name="text">
<string>&amp;Add</string>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="0" >
<widget class="QListWidget" name="m_pListAliases" >
<property name="selectionMode" >
<item row="1" column="0" rowspan="2">
<widget class="QListWidget" name="m_pListAliases">
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="m_pButtonRemoveAlias" >
<property name="enabled" >
<item row="1" column="1">
<widget class="QPushButton" name="m_pButtonRemoveAlias">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text" >
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<item row="2" column="1">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>126</height>
@ -91,252 +92,252 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="m_pGroupModifiers" >
<property name="title" >
<widget class="QGroupBox" name="m_pGroupModifiers">
<property name="title">
<string>&amp;Modifier keys</string>
</property>
<property name="checked" >
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&amp;Shift:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pComboBoxShift</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="m_pComboBoxShift" >
<item row="0" column="1">
<widget class="QComboBox" name="m_pComboBoxShift">
<item>
<property name="text" >
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Ctrl:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pComboBoxCtrl</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="m_pComboBoxCtrl" >
<property name="currentIndex" >
<item row="1" column="1">
<widget class="QComboBox" name="m_pComboBoxCtrl">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text" >
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Al&amp;t:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pComboBoxAlt</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="m_pComboBoxAlt" >
<property name="currentIndex" >
<item row="2" column="1">
<widget class="QComboBox" name="m_pComboBoxAlt">
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text" >
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>M&amp;eta:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pComboBoxMeta</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="m_pComboBoxMeta" >
<property name="currentIndex" >
<item row="3" column="1">
<widget class="QComboBox" name="m_pComboBoxMeta">
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text" >
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<item row="4" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>S&amp;uper:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pComboBoxSuper</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QComboBox" name="m_pComboBoxSuper" >
<property name="currentIndex" >
<item row="4" column="1">
<widget class="QComboBox" name="m_pComboBoxSuper">
<property name="currentIndex">
<number>4</number>
</property>
<item>
<property name="text" >
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0" >
<item row="5" column="0">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
@ -350,62 +351,62 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout">
<item>
<widget class="QGroupBox" name="m_pGroupSwitchCorners" >
<property name="title" >
<widget class="QGroupBox" name="m_pGroupSwitchCorners">
<property name="title">
<string>&amp;Dead corners</string>
</property>
<property name="checked" >
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QCheckBox" name="m_pCheckBoxCornerTopLeft" >
<property name="text" >
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopLeft">
<property name="text">
<string>Top-left</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QCheckBox" name="m_pCheckBoxCornerTopRight" >
<property name="text" >
<item row="0" column="1">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopRight">
<property name="text">
<string>Top-right</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomLeft" >
<property name="text" >
<item row="1" column="0">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomLeft">
<property name="text">
<string>Bottom-left</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomRight" >
<property name="text" >
<item row="1" column="1">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomRight">
<property name="text">
<string>Bottom-right</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<item row="2" column="0" colspan="2">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<widget class="QLabel" name="label">
<property name="text">
<string>Corner Si&amp;ze:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pSpinBoxSwitchCornerSize</cstring>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -414,7 +415,7 @@
</spacer>
</item>
<item>
<widget class="QSpinBox" name="m_pSpinBoxSwitchCornerSize" />
<widget class="QSpinBox" name="m_pSpinBoxSwitchCornerSize"/>
</item>
</layout>
</item>
@ -422,51 +423,51 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="m_pGroupFixes" >
<property name="title" >
<widget class="QGroupBox" name="m_pGroupFixes">
<property name="title">
<string>&amp;Fixes</string>
</property>
<property name="checked" >
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QCheckBox" name="m_pCheckBoxCapsLock" >
<property name="text" >
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="m_pCheckBoxCapsLock">
<property name="text">
<string>Fix CAPS LOCK key</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="m_pCheckBoxNumLock" >
<property name="text" >
<item row="1" column="0">
<widget class="QCheckBox" name="m_pCheckBoxNumLock">
<property name="text">
<string>Fix NUM LOCK key</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="m_pCheckBoxScrollLock" >
<property name="text" >
<item row="2" column="0">
<widget class="QCheckBox" name="m_pCheckBoxScrollLock">
<property name="text">
<string>Fix SCROLL LOCK key</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="m_pCheckBoxXTest" >
<property name="text" >
<item row="3" column="0">
<widget class="QCheckBox" name="m_pCheckBoxXTest">
<property name="text">
<string>Fix XTest for Xinerama</string>
</property>
<property name="checked" >
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0" >
<item row="4" column="0">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
@ -481,10 +482,10 @@
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
@ -493,12 +494,12 @@
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="m_pButtonBox" >
<property name="orientation" >
<widget class="QDialogButtonBox" name="m_pButtonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@ -512,11 +513,11 @@
<receiver>ScreenSettingsDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>222</x>
<y>502</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
@ -528,11 +529,11 @@
<receiver>ScreenSettingsDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>290</x>
<y>508</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>

View File

@ -1,69 +1,70 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SettingsDialogBase</class>
<widget class="QDialog" name="SettingsDialogBase" >
<property name="geometry" >
<widget class="QDialog" name="SettingsDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>372</width>
<height>390</height>
<height>325</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Settings</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QGroupBox" name="m_pGroupBox_2" >
<property name="title" >
<layout class="QGridLayout">
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="m_pGroupBox_2">
<property name="title">
<string>&amp;Programs</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="m_pLabel_17" >
<property name="whatsThis" >
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="m_pLabel_17">
<property name="whatsThis">
<string>This is the synergy client program, usually called synergyc or synergyc.exe.</string>
</property>
<property name="text" >
<property name="text">
<string>&amp;Client:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pLineEditSynergyc</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="m_pLineEditSynergyc" />
<item row="0" column="1">
<widget class="QLineEdit" name="m_pLineEditSynergyc"/>
</item>
<item row="0" column="2" >
<widget class="QPushButton" name="m_pButtonBrowseSynergyc" >
<property name="text" >
<item row="0" column="2">
<widget class="QPushButton" name="m_pButtonBrowseSynergyc">
<property name="text">
<string>&amp;Browse...</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="m_pLabel_18" >
<property name="toolTip" >
<item row="1" column="0">
<widget class="QLabel" name="m_pLabel_18">
<property name="toolTip">
<string/>
</property>
<property name="whatsThis" >
<property name="whatsThis">
<string>This is the synergy server program, usually called synergys or synergys.exe.</string>
</property>
<property name="text" >
<property name="text">
<string>S&amp;erver:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pLineEditSynergys</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="m_pLineEditSynergys" />
<item row="1" column="1">
<widget class="QLineEdit" name="m_pLineEditSynergys"/>
</item>
<item row="1" column="2" >
<widget class="QPushButton" name="m_pButtonBrowseSynergys" >
<property name="text" >
<item row="1" column="2">
<widget class="QPushButton" name="m_pButtonBrowseSynergys">
<property name="text">
<string>Bro&amp;wse...</string>
</property>
</widget>
@ -71,65 +72,65 @@
</layout>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QGroupBox" name="m_pGroupBox_3" >
<property name="title" >
<item row="1" column="0" colspan="2">
<widget class="QGroupBox" name="m_pGroupBox_3">
<property name="title">
<string>&amp;Advanced</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="m_pLabel_19" >
<property name="text" >
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="m_pLabel_19">
<property name="text">
<string>Sc&amp;reen name:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pLineEditScreenName</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="m_pLineEditScreenName" >
<property name="enabled" >
<item row="0" column="1">
<widget class="QLineEdit" name="m_pLineEditScreenName">
<property name="enabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="m_pLabel_20" >
<property name="text" >
<item row="1" column="0">
<widget class="QLabel" name="m_pLabel_20">
<property name="text">
<string>P&amp;ort:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pSpinBoxPort</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="m_pSpinBoxPort" >
<property name="enabled" >
<item row="1" column="1">
<widget class="QSpinBox" name="m_pSpinBoxPort">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximum" >
<property name="maximum">
<number>65535</number>
</property>
<property name="value" >
<property name="value">
<number>24800</number>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="m_pLabel_21" >
<property name="text" >
<item row="2" column="0">
<widget class="QLabel" name="m_pLabel_21">
<property name="text">
<string>&amp;Interface:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pLineEditInterface</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="m_pLineEditInterface" >
<property name="enabled" >
<item row="2" column="1">
<widget class="QLineEdit" name="m_pLineEditInterface">
<property name="enabled">
<bool>true</bool>
</property>
</widget>
@ -137,15 +138,15 @@
</layout>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QGroupBox" name="m_pGroupRunOptions" >
<property name="title" >
<item row="2" column="0" colspan="2">
<widget class="QGroupBox" name="m_pGroupRunOptions">
<property name="title">
<string>&amp;Start</string>
</property>
<layout class="QVBoxLayout" >
<layout class="QVBoxLayout">
<item>
<widget class="QCheckBox" name="m_pCheckBoxAutoConnect" >
<property name="text" >
<widget class="QCheckBox" name="m_pCheckBoxAutoConnect">
<property name="text">
<string>A&amp;utomatically start synergy when QSynergy starts</string>
</property>
</widget>
@ -153,62 +154,62 @@
</layout>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="m_pLabel_3" >
<property name="text" >
<item row="3" column="0">
<widget class="QLabel" name="m_pLabel_3">
<property name="text">
<string>&amp;Logging level:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>m_pComboLogLevel</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="m_pComboLogLevel" >
<item row="3" column="1">
<widget class="QComboBox" name="m_pComboLogLevel">
<item>
<property name="text" >
<property name="text">
<string>Error</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Warning</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Note</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Info</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Debug</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Debug1</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Debug2</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0" colspan="2" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<item row="4" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@ -222,11 +223,11 @@
<receiver>SettingsDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>257</x>
<y>380</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
@ -238,11 +239,11 @@
<receiver>SettingsDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>325</x>
<y>380</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>

View File

@ -368,15 +368,15 @@ void MainWindow::setSynergyState(qSynergyState state)
if (state == synergyConnected)
{
disconnect (m_pButtonStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger()));
connect (m_pButtonStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));
m_pButtonStart->setText(tr("&Stop"));
disconnect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger()));
connect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));
m_pButtonToggleStart->setText(tr("&Stop"));
}
else
{
disconnect (m_pButtonStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));
connect (m_pButtonStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger()));
m_pButtonStart->setText(tr("&Start"));
disconnect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));
connect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger()));
m_pButtonToggleStart->setText(tr("&Start"));
}
m_pGroupClient->setEnabled(state == synergyDisconnected);