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.

700 lines
21 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?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>883</width>
<height>692</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QStackedWidget" name="stackedWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>821</width>
<height>551</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: qlineargradient(x1:0, y0:0, x2:1, y2:0,stop:0 rgb(234, 249, 253), stop:1 rgb(91, 218, 211));
border-radius:20px</string>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page">
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>781</width>
<height>521</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">QTabWidget::pane{top:-1px;}
border-width:0;border-style:outset;
</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>发送方</string>
</attribute>
<widget class="QTextEdit" name="textEdit_2">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>561</width>
<height>451</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(240, 249, 253);
border-radius: 10px;</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_9">
<property name="geometry">
<rect>
<x>620</x>
<y>10</y>
<width>131</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(234, 249, 253);
border-radius: 10px;</string>
</property>
<property name="text">
<string>建立连接</string>
</property>
</widget>
<widget class="QFrame" name="frame_3">
<property name="geometry">
<rect>
<x>600</x>
<y>50</y>
<width>181</width>
<height>451</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(234, 249, 253);
border-radius: 10px;
</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QToolButton" name="toolButton">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>选择文件</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_8">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>生成密钥对</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>加密明文</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>20</x>
<y>230</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>数字签名</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>20</x>
<y>300</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>加密对称密钥</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_10">
<property name="geometry">
<rect>
<x>20</x>
<y>370</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>发送加密包</string>
</property>
</widget>
</widget>
<widget class="QFrame" name="frame_4">
<property name="geometry">
<rect>
<x>-20</x>
<y>0</y>
<width>831</width>
<height>511</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color: qlineargradient(x1:0, y0:0, x2:1, y2:0,stop:0 rgb(234, 249, 253), stop:1 rgb(91, 218, 211));
border-radius: 10px;</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>50</x>
<y>10</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(140, 225, 230)</string>
</property>
<property name="text">
<string> 接收方IP</string>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="indent">
<number>0</number>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>10</y>
<width>441</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Agency FB</family>
<pointsize>15</pointsize>
</font>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(234, 249, 253);
border-radius: 10px;</string>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::NoWrap</enum>
</property>
</widget>
</widget>
<zorder>frame_4</zorder>
<zorder>frame_3</zorder>
<zorder>textEdit_2</zorder>
<zorder>pushButton_9</zorder>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>接收方</string>
</attribute>
<widget class="QFrame" name="frame">
<property name="geometry">
<rect>
<x>0</x>
<y>-10</y>
<width>781</width>
<height>521</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color: qlineargradient(x1:0, y0:0, x2:1, y2:0,stop:0 rgb(234, 249, 253), stop:1 rgb(91, 218, 211));
border-radius: 10px;</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QTextEdit" name="textEdit_3">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>561</width>
<height>451</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(240, 249, 253);
border-radius: 10px;</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QFrame" name="frame_2">
<property name="geometry">
<rect>
<x>600</x>
<y>60</y>
<width>181</width>
<height>451</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(234, 249, 253);
</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>生成密钥对</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_11">
<property name="geometry">
<rect>
<x>20</x>
<y>110</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>等待对方发送加密包</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="geometry">
<rect>
<x>20</x>
<y>200</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>解密对称密钥</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_6">
<property name="geometry">
<rect>
<x>20</x>
<y>290</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color: rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>解密文</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_7">
<property name="geometry">
<rect>
<x>20</x>
<y>380</y>
<width>140</width>
<height>51</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(91, 218, 211);
border-radius: 10px;</string>
</property>
<property name="text">
<string>签名验证</string>
</property>
</widget>
<zorder>pushButton_4</zorder>
<zorder>pushButton_11</zorder>
<zorder>pushButton_5</zorder>
<zorder>pushButton_7</zorder>
<zorder>pushButton_6</zorder>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(140, 225, 230)
</string>
</property>
<property name="text">
<string> 发送方IP</string>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="indent">
<number>0</number>
</property>
</widget>
<widget class="QPushButton" name="pushButton_12">
<property name="geometry">
<rect>
<x>620</x>
<y>20</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>华文中宋</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(234, 249, 253);
border-radius: 10px;</string>
</property>
<property name="text">
<string>发送公钥</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit_2">
<property name="geometry">
<rect>
<x>130</x>
<y>20</y>
<width>441</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Agency FB</family>
<pointsize>15</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(234, 249, 253);
border-radius: 10px;</string>
</property>
</widget>
<zorder>textEdit_3</zorder>
<zorder>frame_2</zorder>
<zorder>pushButton_12</zorder>
<zorder>label_2</zorder>
<zorder>plainTextEdit_2</zorder>
</widget>
</widget>
</widget>
<widget class="QPushButton" name="pushButton_13">
<property name="geometry">
<rect>
<x>770</x>
<y>1</y>
<width>31</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Agency FB</family>
<pointsize>28</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-width:0;border-style:outset;
background-color:rgb(87, 170, 226);
border-radius: 10px;
border :none ;
</string>
</property>
<property name="text">
<string>×</string>
</property>
<property name="icon">
<iconset theme="下线">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>883</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections>
<connection>
<sender>pushButton_13</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>862</x>
<y>90</y>
</hint>
<hint type="destinationlabel">
<x>919</x>
<y>51</y>
</hint>
</hints>
</connection>
</connections>
</ui>