<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>DirectConnect</class> <widget class="QWidget" name="DirectConnect"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>455</width> <height>161</height> </rect> </property> <property name="windowTitle"> <string>Direct Connect</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>0</number> </property> <item> <widget class="QComboBox" name="connection_type"> <item> <property name="text"> <string>IP Address</string> </property> </item> </widget> </item> <item> <widget class="QWidget" name="ip_container" native="true"> <layout class="QHBoxLayout" name="ip_layout"> <property name="leftMargin"> <number>5</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string>IP</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="ip"> <property name="toolTip"> <string><html><head/><body><p>IPv4 address of the host</p></body></html></string> </property> <property name="maxLength"> <number>16</number> </property> </widget> </item> <item> <widget class="QLabel" name="label_3"> <property name="text"> <string>Port</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="port"> <property name="toolTip"> <string><html><head/><body><p>Port number the host is listening on</p></body></html></string> </property> <property name="maxLength"> <number>5</number> </property> <property name="placeholderText"> <string notr="true" extracomment="placeholder string that tells user default port">24872</string> </property> </widget> </item> </layout> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="label_5"> <property name="text"> <string>Nickname</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="nickname"> <property name="maxLength"> <number>20</number> </property> </widget> </item> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Password</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="password"/> </item> </layout> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="connect"> <property name="text"> <string>Connect</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <resources/> <connections/> </ui>