You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

654 lines
17 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>602</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="send_file">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="cursor">
<cursorShape>OpenHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(85, 255, 127);</string>
</property>
<property name="text">
<string>发送文件</string>
</property>
</widget>
<widget class="QPushButton" name="receive_file">
<property name="geometry">
<rect>
<x>170</x>
<y>20</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(85, 255, 127);</string>
</property>
<property name="text">
<string>接收文件</string>
</property>
</widget>
<widget class="QStackedWidget" name="stackedWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>781</width>
<height>531</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page">
<widget class="QProgressBar" name="current_status_bar">
<property name="geometry">
<rect>
<x>140</x>
<y>320</y>
<width>641</width>
<height>31</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>20</x>
<y>360</y>
<width>731</width>
<height>21</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QProgressBar" name="total_status_bar">
<property name="geometry">
<rect>
<x>140</x>
<y>390</y>
<width>641</width>
<height>31</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
<widget class="QLabel" name="current_status">
<property name="geometry">
<rect>
<x>20</x>
<y>320</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>当前进度:</string>
</property>
</widget>
<widget class="QLabel" name="total_status">
<property name="geometry">
<rect>
<x>20</x>
<y>390</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>全部进度:</string>
</property>
</widget>
<widget class="QLabel" name="IP">
<property name="geometry">
<rect>
<x>20</x>
<y>440</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>IP:</string>
</property>
</widget>
<widget class="QLineEdit" name="IP_text">
<property name="geometry">
<rect>
<x>60</x>
<y>440</y>
<width>231</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="PORT">
<property name="geometry">
<rect>
<x>330</x>
<y>440</y>
<width>54</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>PORT:</string>
</property>
</widget>
<widget class="QLineEdit" name="PORT_text">
<property name="geometry">
<rect>
<x>400</x>
<y>440</y>
<width>191</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="text_file">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>文件列表:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="add_file">
<property name="geometry">
<rect>
<x>480</x>
<y>10</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(170, 255, 0);</string>
</property>
<property name="text">
<string>添加</string>
</property>
</widget>
<widget class="QPushButton" name="delete_file">
<property name="geometry">
<rect>
<x>580</x>
<y>10</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 0);</string>
</property>
<property name="text">
<string>删除</string>
</property>
</widget>
<widget class="QPushButton" name="empty_file">
<property name="geometry">
<rect>
<x>680</x>
<y>10</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 0, 127);</string>
</property>
<property name="text">
<string>清空</string>
</property>
</widget>
<widget class="QPushButton" name="handler">
<property name="geometry">
<rect>
<x>400</x>
<y>480</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>监听端口</string>
</property>
</widget>
<widget class="QPushButton" name="send">
<property name="geometry">
<rect>
<x>520</x>
<y>480</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
<widget class="QPushButton" name="cancel">
<property name="geometry">
<rect>
<x>640</x>
<y>480</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
<widget class="QLabel" name="receive_status_2">
<property name="geometry">
<rect>
<x>20</x>
<y>490</y>
<width>271</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QTableWidget" name="tableWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>741</width>
<height>251</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustIgnored</enum>
</property>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>360</number>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>50</number>
</attribute>
<row>
<property name="text">
<string>1</string>
</property>
<property name="background">
<color>
<red>170</red>
<green>255</green>
<blue>127</blue>
</color>
</property>
</row>
<row>
<property name="text">
<string>2</string>
</property>
</row>
<row>
<property name="text">
<string>3</string>
</property>
<property name="background">
<color>
<red>170</red>
<green>255</green>
<blue>127</blue>
</color>
</property>
</row>
<row>
<property name="text">
<string>4</string>
</property>
</row>
<row>
<property name="text">
<string>5</string>
</property>
<property name="background">
<color>
<red>170</red>
<green>255</green>
<blue>127</blue>
</color>
</property>
</row>
<row>
<property name="text">
<string>6</string>
</property>
</row>
<column>
<property name="text">
<string>文件路径</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
</column>
<column>
<property name="text">
<string>文件类型</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
</column>
</widget>
</widget>
<widget class="QWidget" name="page_2">
<widget class="QLabel" name="receive_status">
<property name="geometry">
<rect>
<x>30</x>
<y>400</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>当前进度:</string>
</property>
</widget>
<widget class="QProgressBar" name="receive_bar">
<property name="geometry">
<rect>
<x>140</x>
<y>400</y>
<width>641</width>
<height>31</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
<widget class="Line" name="line_2">
<property name="geometry">
<rect>
<x>30</x>
<y>430</y>
<width>721</width>
<height>31</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QPushButton" name="receive">
<property name="geometry">
<rect>
<x>510</x>
<y>480</y>
<width>121</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>接收</string>
</property>
</widget>
<widget class="QPushButton" name="receive_cancel">
<property name="geometry">
<rect>
<x>640</x>
<y>480</y>
<width>121</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 170, 255);</string>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
<widget class="QLabel" name="IP_receive">
<property name="geometry">
<rect>
<x>30</x>
<y>450</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>IP:</string>
</property>
</widget>
<widget class="QLineEdit" name="IP_receive_text">
<property name="geometry">
<rect>
<x>70</x>
<y>450</y>
<width>181</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="PORT_receive">
<property name="geometry">
<rect>
<x>280</x>
<y>450</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>PORT:</string>
</property>
</widget>
<widget class="QLineEdit" name="PORT_receive_text">
<property name="geometry">
<rect>
<x>350</x>
<y>450</y>
<width>111</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="send_receive">
<property name="geometry">
<rect>
<x>20</x>
<y>490</y>
<width>231</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>17</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QListWidget" name="receive_widget">
<property name="geometry">
<rect>
<x>15</x>
<y>11</y>
<width>751</width>
<height>371</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(170, 255, 127);</string>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>