<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ProxySettings</class> <widget class="QDialog" name="ProxySettings"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>318</width> <height>199</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" colspan="2"> <widget class="QCheckBox" name="proxyCheckBox"> <property name="text"> <string>Use http proxy</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="serverAddressLabel"> <property name="text"> <string>Server Address:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="proxyServerEdit"/> </item> <item row="2" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Port:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="proxyPortEdit"/> </item> <item row="3" column="0"> <widget class="QLabel" name="usernameLabel"> <property name="text"> <string>Username:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLineEdit" name="usernameEdit"/> </item> <item row="4" column="0"> <widget class="QLabel" name="passwordLabel"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QLineEdit" name="passwordEdit"> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> </widget> </item> <item row="5" column="0" colspan="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>ProxySettings</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>ProxySettings</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>