diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-11-04 21:24:51 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-04 17:24:31 -0800 |
commit | 4491711e097a3f4fd9813f3affd0aa5dbb6e0982 (patch) | |
tree | 5e6c46af2a434464be67e6e5acc04cc99d0de459 /desktop-widgets/preferences/preferences_network.ui | |
parent | ba55c603953bb530de2fe97fa46098d8c87e6aa5 (diff) | |
download | subsurface-4491711e097a3f4fd9813f3affd0aa5dbb6e0982.tar.gz |
Re-add the signal connections
The signal connections from the old preferences got lost when
we moved to the new ones because Designer is broken and can't
handle signals / connactions from copy/pasted content.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_network.ui')
-rw-r--r-- | desktop-widgets/preferences/preferences_network.ui | 66 |
1 files changed, 45 insertions, 21 deletions
diff --git a/desktop-widgets/preferences/preferences_network.ui b/desktop-widgets/preferences/preferences_network.ui index 8bb9bf9a0..0899c7c94 100644 --- a/desktop-widgets/preferences/preferences_network.ui +++ b/desktop-widgets/preferences/preferences_network.ui @@ -89,16 +89,6 @@ <item row="0" column="1" colspan="3"> <widget class="QComboBox" name="proxyType"/> </item> - <item row="2" column="1" colspan="3"> - <widget class="QCheckBox" name="proxyAuthRequired"> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="text"> - <string>Requires authentication</string> - </property> - </widget> - </item> <item row="3" column="1"> <widget class="QLineEdit" name="proxyUsername"> <property name="sizePolicy"> @@ -135,6 +125,16 @@ </property> </widget> </item> + <item row="2" column="1" colspan="3"> + <widget class="QCheckBox" name="proxyAuthRequired"> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="text"> + <string>Requires authentication</string> + </property> + </widget> + </item> </layout> </widget> </item> @@ -241,16 +241,7 @@ <property name="spacing"> <number>5</number> </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <item> @@ -289,5 +280,38 @@ </layout> </widget> <resources/> - <connections/> + <connections> + <connection> + <sender>proxyAuthRequired</sender> + <signal>toggled(bool)</signal> + <receiver>proxyUsername</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>207</x> + <y>107</y> + </hint> + <hint type="destinationlabel"> + <x>213</x> + <y>128</y> + </hint> + </hints> + </connection> + <connection> + <sender>proxyAuthRequired</sender> + <signal>toggled(bool)</signal> + <receiver>proxyPassword</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>555</x> + <y>109</y> + </hint> + <hint type="destinationlabel"> + <x>556</x> + <y>137</y> + </hint> + </hints> + </connection> + </connections> </ui> |