247 lines
7.2 KiB
Plaintext
247 lines
7.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>frmMain</class>
|
||
|
<widget class="QWidget" name="frmMain">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>800</width>
|
||
|
<height>600</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Form</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<property name="leftMargin">
|
||
|
<number>0</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="QTabWidget" name="tabWidget">
|
||
|
<property name="currentIndex">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="tab1">
|
||
|
<attribute name="title">
|
||
|
<string>服务器1</string>
|
||
|
</attribute>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<property name="leftMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QTextEdit" name="txtMain1">
|
||
|
<property name="readOnly">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget1" native="true">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>230</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<property name="leftMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<item row="0" column="0" colspan="2">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="labListenPort1">
|
||
|
<property name="text">
|
||
|
<string>监听端口</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="txtListenPort1"/>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QPushButton" name="btnListen1">
|
||
|
<property name="text">
|
||
|
<string>监听</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QPushButton" name="btnClear1">
|
||
|
<property name="text">
|
||
|
<string>清空</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0" colspan="2">
|
||
|
<widget class="QLabel" name="labCount1">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::Box</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Sunken</enum>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>共 0 个连接</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="0" colspan="2">
|
||
|
<widget class="QListWidget" name="listWidget1"/>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="tab2">
|
||
|
<attribute name="title">
|
||
|
<string>服务器2</string>
|
||
|
</attribute>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<property name="leftMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QTextEdit" name="txtMain2">
|
||
|
<property name="readOnly">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget2" native="true">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>230</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<property name="leftMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<item row="0" column="0" colspan="2">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="labListenPort2">
|
||
|
<property name="text">
|
||
|
<string>监听端口</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="txtListenPort2"/>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QPushButton" name="btnListen2">
|
||
|
<property name="text">
|
||
|
<string>监听</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QPushButton" name="btnClear2">
|
||
|
<property name="text">
|
||
|
<string>清空</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0" colspan="2">
|
||
|
<widget class="QLabel" name="labCount2">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>25</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::Box</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Sunken</enum>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>共 0 个连接</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="0" colspan="2">
|
||
|
<widget class="QListWidget" name="listWidget2"/>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|