419 lines
10 KiB
Plaintext
419 lines
10 KiB
Plaintext
![]() |
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<ui version="4.0">
|
|||
|
<class>lis</class>
|
|||
|
<widget class="QWidget" name="lis">
|
|||
|
<property name="geometry">
|
|||
|
<rect>
|
|||
|
<x>0</x>
|
|||
|
<y>0</y>
|
|||
|
<width>900</width>
|
|||
|
<height>740</height>
|
|||
|
</rect>
|
|||
|
</property>
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>900</width>
|
|||
|
<height>700</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="maximumSize">
|
|||
|
<size>
|
|||
|
<width>900</width>
|
|||
|
<height>740</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="windowTitle">
|
|||
|
<string>Form</string>
|
|||
|
</property>
|
|||
|
<property name="styleSheet">
|
|||
|
<string notr="true">QWidget{
|
|||
|
font:18px;
|
|||
|
}
|
|||
|
|
|||
|
QRadioButton {
|
|||
|
background: transparent;
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
QRadioButton:checked {
|
|||
|
|
|||
|
color: rgb(0, 170, 255);
|
|||
|
}
|
|||
|
QRadioButton::indicator:checked {
|
|||
|
image: url(:/new/icon/yuan.png);
|
|||
|
width:18px;
|
|||
|
height: 18px;
|
|||
|
}
|
|||
|
|
|||
|
QRadioButton::indicator {
|
|||
|
width:15px;
|
|||
|
height: 15px;
|
|||
|
}
|
|||
|
QRadioButton::indicator:unchecked {
|
|||
|
|
|||
|
width:18px;
|
|||
|
height: 18px;
|
|||
|
}</string>
|
|||
|
</property>
|
|||
|
<layout class="QGridLayout" name="gridLayout">
|
|||
|
<property name="leftMargin">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<property name="topMargin">
|
|||
|
<number>30</number>
|
|||
|
</property>
|
|||
|
<property name="spacing">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<item row="0" column="0">
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|||
|
<property name="spacing">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<property name="rightMargin">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label">
|
|||
|
<property name="text">
|
|||
|
<string>数据上传设置</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QGroupBox" name="groupBox">
|
|||
|
<property name="title">
|
|||
|
<string/>
|
|||
|
</property>
|
|||
|
<layout class="QGridLayout" name="gridLayout_2">
|
|||
|
<property name="leftMargin">
|
|||
|
<number>0</number>
|
|||
|
</property>
|
|||
|
<property name="rightMargin">
|
|||
|
<number>0</number>
|
|||
|
</property>
|
|||
|
<property name="horizontalSpacing">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<item row="0" column="1">
|
|||
|
<widget class="QRadioButton" name="radioButton_2">
|
|||
|
<property name="text">
|
|||
|
<string>手动上传</string>
|
|||
|
</property>
|
|||
|
<property name="checked">
|
|||
|
<bool>true</bool>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item row="0" column="0">
|
|||
|
<widget class="QRadioButton" name="radioButton">
|
|||
|
<property name="text">
|
|||
|
<string>自动上传</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_4">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>40</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item row="1" column="0">
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|||
|
<property name="spacing">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<property name="rightMargin">
|
|||
|
<number>50</number>
|
|||
|
</property>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_2">
|
|||
|
<property name="text">
|
|||
|
<string>数据传输方式</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QGroupBox" name="groupBox_2">
|
|||
|
<property name="title">
|
|||
|
<string/>
|
|||
|
</property>
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|||
|
<item>
|
|||
|
<widget class="QRadioButton" name="radioButton_3">
|
|||
|
<property name="text">
|
|||
|
<string>COM</string>
|
|||
|
</property>
|
|||
|
<property name="checked">
|
|||
|
<bool>true</bool>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_7">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeType">
|
|||
|
<enum>QSizePolicy::Fixed</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>50</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QRadioButton" name="radioButton_4">
|
|||
|
<property name="text">
|
|||
|
<string>TCP/IP</string>
|
|||
|
</property>
|
|||
|
<property name="checked">
|
|||
|
<bool>false</bool>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_3">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>40</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item row="2" column="0">
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|||
|
<property name="spacing">
|
|||
|
<number>0</number>
|
|||
|
</property>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_3">
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>100</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="maximumSize">
|
|||
|
<size>
|
|||
|
<width>100</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string>IP地址</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLineEdit" name="lineEdit">
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>250</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="maximumSize">
|
|||
|
<size>
|
|||
|
<width>250</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="styleSheet">
|
|||
|
<string notr="true"> border: 1px solid rgb(175, 175, 175) ; /* 设置1px宽的灰色实线边框 */
|
|||
|
border-radius:4px; /* 边框圆角半径为4像素,实现倒角效果 */
|
|||
|
padding: 2px 4px; /* 可选,设置内部文字的内边距,这里示例上下2像素,左右4像素 */</string>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string/>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>393</width>
|
|||
|
<height>13</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item row="3" column="0">
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|||
|
<property name="spacing">
|
|||
|
<number>0</number>
|
|||
|
</property>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_4">
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>100</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="maximumSize">
|
|||
|
<size>
|
|||
|
<width>100</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string>端口</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLineEdit" name="lineEdit_2">
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>250</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="maximumSize">
|
|||
|
<size>
|
|||
|
<width>250</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="styleSheet">
|
|||
|
<string notr="true"> border: 1px solid rgb(175, 175, 175) ; /* 设置1px宽的灰色实线边框 */
|
|||
|
border-radius: 2px; /* 边框圆角半径为4像素,实现倒角效果 */
|
|||
|
padding: 2px 4px; /* 可选,设置内部文字的内边距,这里示例上下2像素,左右4像素 */</string>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string/>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_2">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>393</width>
|
|||
|
<height>13</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item row="4" column="0">
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_5">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeType">
|
|||
|
<enum>QSizePolicy::Fixed</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>150</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QPushButton" name="pushButton_4">
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>92</width>
|
|||
|
<height>37</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="maximumSize">
|
|||
|
<size>
|
|||
|
<width>92</width>
|
|||
|
<height>37</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="styleSheet">
|
|||
|
<string notr="true">QPushButton {
|
|||
|
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1,
|
|||
|
stop:0 rgba(0, 255, 255, 255) ,
|
|||
|
stop:1 rgba(0, 144, 209, 255)
|
|||
|
|
|||
|
|
|||
|
|
|||
|
);
|
|||
|
color: rgb(255, 255, 255);
|
|||
|
border-radius: 4px;
|
|||
|
}
|
|||
|
|
|||
|
</string>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string>确定</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_6">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>40</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item row="5" column="0">
|
|||
|
<spacer name="verticalSpacer">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Vertical</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>20</width>
|
|||
|
<height>40</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</widget>
|
|||
|
<resources/>
|
|||
|
<connections/>
|
|||
|
</ui>
|