191 lines
6 KiB
Text
191 lines
6 KiB
Text
|
<?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>239</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>
|
||
|
<widget class="QGroupBox" name="instructions_2">
|
||
|
<property name="title">
|
||
|
<string>Instructions</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="instructions">
|
||
|
<property name="text">
|
||
|
<string><html><head/><body><p>Directly connect to a friend by <span style=" font-weight:600;">Traversal server</span> or by<span style=" font-weight:600;"> IP address</span>. </p><p>To use the <span style=" font-weight:600;">Traversal Server</span>, ask the game host for their &quot;<span style=" font-weight:600;">Host Code</span>&quot; which will be visible on the create room screen after it is created.</p></body></html></string>
|
||
|
</property>
|
||
|
<property name="textFormat">
|
||
|
<enum>Qt::RichText</enum>
|
||
|
</property>
|
||
|
<property name="wordWrap">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<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>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>
|