Mercurial > hg > octave-nkf
diff gui/src/SettingsDialog.ui @ 13609:b355901aade4
Added username and password field to proxy settings.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Wed, 17 Aug 2011 01:42:00 +0200 |
parents | ac9ef5a29460 |
children | d98c6ef06dff |
line wrap: on
line diff
--- a/gui/src/SettingsDialog.ui +++ b/gui/src/SettingsDialog.ui @@ -241,16 +241,6 @@ </property> <item> <property name="text"> - <string>NoProxy</string> - </property> - </item> - <item> - <property name="text"> - <string>DefaultProxy</string> - </property> - </item> - <item> - <property name="text"> <string>HttpProxy</string> </property> </item> @@ -259,16 +249,6 @@ <string>Socks5Proxy</string> </property> </item> - <item> - <property name="text"> - <string>HttpCachingProxy</string> - </property> - </item> - <item> - <property name="text"> - <string>FtpCachingProxy</string> - </property> - </item> </widget> </item> <item row="1" column="0"> @@ -305,6 +285,43 @@ </property> </widget> </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_6"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Username:</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="proxyUserName"> + <property name="enabled"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_7"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Password:</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QLineEdit" name="proxyPassword"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> + </property> + </widget> + </item> </layout> </item> </layout> @@ -490,5 +507,69 @@ </hint> </hints> </connection> + <connection> + <sender>useProxyServer</sender> + <signal>toggled(bool)</signal> + <receiver>proxyUserName</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>249</x> + <y>59</y> + </hint> + <hint type="destinationlabel"> + <x>291</x> + <y>190</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyServer</sender> + <signal>toggled(bool)</signal> + <receiver>proxyPassword</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>249</x> + <y>59</y> + </hint> + <hint type="destinationlabel"> + <x>291</x> + <y>223</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyServer</sender> + <signal>toggled(bool)</signal> + <receiver>label_6</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>249</x> + <y>59</y> + </hint> + <hint type="destinationlabel"> + <x>56</x> + <y>190</y> + </hint> + </hints> + </connection> + <connection> + <sender>useProxyServer</sender> + <signal>toggled(bool)</signal> + <receiver>label_7</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>249</x> + <y>59</y> + </hint> + <hint type="destinationlabel"> + <x>55</x> + <y>223</y> + </hint> + </hints> + </connection> </connections> </ui>