127 lines
3.3 KiB
Plaintext
Raw Normal View History

2025-03-14 15:46:15 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>netUI</class>
<widget class="QDialog" name="netUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>216</width>
<height>252</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>271</width>
<height>291</height>
</size>
</property>
<property name="title">
<string>网络设置</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>协议类型</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_protocol">
<item>
<property name="text">
<string>UDP</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>本地主机地址</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_localAddr">
<property name="toolTipDuration">
<number>0</number>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="currentText">
<string>127.0.0.1</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>127.0.0.1</string>
</property>
</item>
<item>
<property name="text">
<string>0.0.0.0</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>本地主机端口</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_port">
<property name="text">
<string>9000</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_openNet">
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 255, 0);</string>
</property>
<property name="text">
<string>打开网络</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_closeNet">
<property name="text">
<string>关闭网络</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>