<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Connect</class> <widget class="QDialog" name="Connect"> <property name="windowModality"> <enum>Qt::WindowModal</enum> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>343</width> <height>178</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>343</width> <height>178</height> </size> </property> <property name="windowTitle"> <string>Connect to Peer</string> </property> <property name="modal"> <bool>true</bool> </property> <layout class="QFormLayout" name="formLayout_2"> <item row="1" column="0"> <layout class="QFormLayout" name="formLayout"> <item row="1" column="0" colspan="2"> <widget class="QComboBox" name="host"> <property name="minimumSize"> <size> <width>311</width> <height>0</height> </size> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QLineEdit" name="nodeId"> <property name="placeholderText"> <string>Node Id</string> </property> </widget> </item> <item row="3" column="0" colspan="2"> <widget class="QCheckBox" name="required"> <property name="text"> <string>Required (Always Connect to this Peer)</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="tristate"> <bool>false</bool> </property> </widget> </item> <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::Ok</set> </property> </widget> </item> </layout> </item> <item row="0" column="0"> <widget class="QLabel" name="formLabel"> <property name="text"> <string>Enter a peer to which a connection may be made:</string> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>Connect</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>Connect</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>