|
|
@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'd:\[数据]\空白\Desktop\安全文件传输 (3)\untitled.ui'
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# Created by: PyQt5 UI code generator 5.15.9
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
|
|
|
|
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
|
|
|
|
|
|
def setupUi(self, MainWindow):
|
|
|
|
|
|
|
|
MainWindow.setObjectName("MainWindow")
|
|
|
|
|
|
|
|
MainWindow.resize(883, 692)
|
|
|
|
|
|
|
|
MainWindow.setStyleSheet("")
|
|
|
|
|
|
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
|
|
|
|
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
|
|
|
|
|
|
self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
|
|
|
|
|
|
|
|
self.stackedWidget.setGeometry(QtCore.QRect(0, 0, 821, 551))
|
|
|
|
|
|
|
|
self.stackedWidget.setStyleSheet("background-color: qlineargradient(x1:0, y0:0, x2:1, y2:0,stop:0 rgb(234, 249, 253), stop:1 rgb(91, 218, 211));\n"
|
|
|
|
|
|
|
|
"border-radius:20px")
|
|
|
|
|
|
|
|
self.stackedWidget.setMidLineWidth(0)
|
|
|
|
|
|
|
|
self.stackedWidget.setObjectName("stackedWidget")
|
|
|
|
|
|
|
|
self.page = QtWidgets.QWidget()
|
|
|
|
|
|
|
|
self.page.setObjectName("page")
|
|
|
|
|
|
|
|
self.tabWidget = QtWidgets.QTabWidget(self.page)
|
|
|
|
|
|
|
|
self.tabWidget.setGeometry(QtCore.QRect(20, 10, 781, 521))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(10)
|
|
|
|
|
|
|
|
self.tabWidget.setFont(font)
|
|
|
|
|
|
|
|
self.tabWidget.setStyleSheet("QTabWidget::pane{top:-1px;}\n"
|
|
|
|
|
|
|
|
"border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"\n"
|
|
|
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
self.tabWidget.setObjectName("tabWidget")
|
|
|
|
|
|
|
|
self.tab = QtWidgets.QWidget()
|
|
|
|
|
|
|
|
self.tab.setObjectName("tab")
|
|
|
|
|
|
|
|
self.textEdit_2 = QtWidgets.QTextEdit(self.tab)
|
|
|
|
|
|
|
|
self.textEdit_2.setGeometry(QtCore.QRect(20, 50, 561, 451))
|
|
|
|
|
|
|
|
self.textEdit_2.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(240, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.textEdit_2.setReadOnly(True)
|
|
|
|
|
|
|
|
self.textEdit_2.setObjectName("textEdit_2")
|
|
|
|
|
|
|
|
self.pushButton_9 = QtWidgets.QPushButton(self.tab)
|
|
|
|
|
|
|
|
self.pushButton_9.setGeometry(QtCore.QRect(620, 10, 131, 30))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_9.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_9.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(234, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_9.setObjectName("pushButton_9")
|
|
|
|
|
|
|
|
self.frame_3 = QtWidgets.QFrame(self.tab)
|
|
|
|
|
|
|
|
self.frame_3.setGeometry(QtCore.QRect(600, 50, 181, 451))
|
|
|
|
|
|
|
|
self.frame_3.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(234, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;\n"
|
|
|
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
|
|
|
|
|
|
self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
|
|
|
|
|
|
self.frame_3.setObjectName("frame_3")
|
|
|
|
|
|
|
|
self.toolButton = QtWidgets.QToolButton(self.frame_3)
|
|
|
|
|
|
|
|
self.toolButton.setGeometry(QtCore.QRect(20, 20, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.toolButton.setFont(font)
|
|
|
|
|
|
|
|
self.toolButton.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.toolButton.setObjectName("toolButton")
|
|
|
|
|
|
|
|
self.pushButton_8 = QtWidgets.QPushButton(self.frame_3)
|
|
|
|
|
|
|
|
self.pushButton_8.setGeometry(QtCore.QRect(20, 90, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_8.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_8.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_8.setObjectName("pushButton_8")
|
|
|
|
|
|
|
|
self.pushButton_3 = QtWidgets.QPushButton(self.frame_3)
|
|
|
|
|
|
|
|
self.pushButton_3.setGeometry(QtCore.QRect(20, 160, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_3.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_3.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_3.setObjectName("pushButton_3")
|
|
|
|
|
|
|
|
self.pushButton_2 = QtWidgets.QPushButton(self.frame_3)
|
|
|
|
|
|
|
|
self.pushButton_2.setGeometry(QtCore.QRect(20, 230, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_2.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_2.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_2.setObjectName("pushButton_2")
|
|
|
|
|
|
|
|
self.pushButton = QtWidgets.QPushButton(self.frame_3)
|
|
|
|
|
|
|
|
self.pushButton.setGeometry(QtCore.QRect(20, 300, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton.setObjectName("pushButton")
|
|
|
|
|
|
|
|
self.pushButton_10 = QtWidgets.QPushButton(self.frame_3)
|
|
|
|
|
|
|
|
self.pushButton_10.setGeometry(QtCore.QRect(20, 370, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_10.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_10.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_10.setObjectName("pushButton_10")
|
|
|
|
|
|
|
|
self.frame_4 = QtWidgets.QFrame(self.tab)
|
|
|
|
|
|
|
|
self.frame_4.setGeometry(QtCore.QRect(-20, 0, 831, 511))
|
|
|
|
|
|
|
|
self.frame_4.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color: qlineargradient(x1:0, y0:0, x2:1, y2:0,stop:0 rgb(234, 249, 253), stop:1 rgb(91, 218, 211));\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.frame_4.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
|
|
|
|
|
|
self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
|
|
|
|
|
|
self.frame_4.setObjectName("frame_4")
|
|
|
|
|
|
|
|
self.label = QtWidgets.QLabel(self.frame_4)
|
|
|
|
|
|
|
|
self.label.setGeometry(QtCore.QRect(50, 10, 81, 31))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
|
|
|
self.label.setFont(font)
|
|
|
|
|
|
|
|
self.label.setStyleSheet("background-color:rgb(140, 225, 230)")
|
|
|
|
|
|
|
|
self.label.setIndent(0)
|
|
|
|
|
|
|
|
self.label.setObjectName("label")
|
|
|
|
|
|
|
|
self.plainTextEdit = QtWidgets.QPlainTextEdit(self.frame_4)
|
|
|
|
|
|
|
|
self.plainTextEdit.setGeometry(QtCore.QRect(150, 10, 441, 31))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("Agency FB")
|
|
|
|
|
|
|
|
font.setPointSize(15)
|
|
|
|
|
|
|
|
self.plainTextEdit.setFont(font)
|
|
|
|
|
|
|
|
self.plainTextEdit.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
|
|
|
|
self.plainTextEdit.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(234, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.plainTextEdit.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
|
|
|
|
|
|
|
|
self.plainTextEdit.setObjectName("plainTextEdit")
|
|
|
|
|
|
|
|
self.frame_4.raise_()
|
|
|
|
|
|
|
|
self.frame_3.raise_()
|
|
|
|
|
|
|
|
self.textEdit_2.raise_()
|
|
|
|
|
|
|
|
self.pushButton_9.raise_()
|
|
|
|
|
|
|
|
self.tabWidget.addTab(self.tab, "")
|
|
|
|
|
|
|
|
self.tab_2 = QtWidgets.QWidget()
|
|
|
|
|
|
|
|
self.tab_2.setObjectName("tab_2")
|
|
|
|
|
|
|
|
self.frame = QtWidgets.QFrame(self.tab_2)
|
|
|
|
|
|
|
|
self.frame.setGeometry(QtCore.QRect(0, -10, 781, 521))
|
|
|
|
|
|
|
|
self.frame.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color: qlineargradient(x1:0, y0:0, x2:1, y2:0,stop:0 rgb(234, 249, 253), stop:1 rgb(91, 218, 211));\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
|
|
|
|
|
|
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
|
|
|
|
|
|
self.frame.setObjectName("frame")
|
|
|
|
|
|
|
|
self.textEdit_3 = QtWidgets.QTextEdit(self.frame)
|
|
|
|
|
|
|
|
self.textEdit_3.setGeometry(QtCore.QRect(20, 60, 561, 451))
|
|
|
|
|
|
|
|
self.textEdit_3.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(240, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.textEdit_3.setReadOnly(True)
|
|
|
|
|
|
|
|
self.textEdit_3.setObjectName("textEdit_3")
|
|
|
|
|
|
|
|
self.frame_2 = QtWidgets.QFrame(self.frame)
|
|
|
|
|
|
|
|
self.frame_2.setGeometry(QtCore.QRect(600, 60, 181, 451))
|
|
|
|
|
|
|
|
self.frame_2.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(234, 249, 253);\n"
|
|
|
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
|
|
|
|
|
|
|
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
|
|
|
|
|
|
|
|
self.frame_2.setObjectName("frame_2")
|
|
|
|
|
|
|
|
self.pushButton_4 = QtWidgets.QPushButton(self.frame_2)
|
|
|
|
|
|
|
|
self.pushButton_4.setGeometry(QtCore.QRect(20, 20, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_4.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_4.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_4.setObjectName("pushButton_4")
|
|
|
|
|
|
|
|
self.pushButton_11 = QtWidgets.QPushButton(self.frame_2)
|
|
|
|
|
|
|
|
self.pushButton_11.setGeometry(QtCore.QRect(20, 110, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_11.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_11.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_11.setObjectName("pushButton_11")
|
|
|
|
|
|
|
|
self.pushButton_5 = QtWidgets.QPushButton(self.frame_2)
|
|
|
|
|
|
|
|
self.pushButton_5.setGeometry(QtCore.QRect(20, 200, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_5.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_5.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_5.setObjectName("pushButton_5")
|
|
|
|
|
|
|
|
self.pushButton_6 = QtWidgets.QPushButton(self.frame_2)
|
|
|
|
|
|
|
|
self.pushButton_6.setGeometry(QtCore.QRect(20, 290, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_6.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_6.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color: rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_6.setObjectName("pushButton_6")
|
|
|
|
|
|
|
|
self.pushButton_7 = QtWidgets.QPushButton(self.frame_2)
|
|
|
|
|
|
|
|
self.pushButton_7.setGeometry(QtCore.QRect(20, 380, 140, 51))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_7.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_7.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(91, 218, 211);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_7.setObjectName("pushButton_7")
|
|
|
|
|
|
|
|
self.pushButton_4.raise_()
|
|
|
|
|
|
|
|
self.pushButton_11.raise_()
|
|
|
|
|
|
|
|
self.pushButton_5.raise_()
|
|
|
|
|
|
|
|
self.pushButton_7.raise_()
|
|
|
|
|
|
|
|
self.pushButton_6.raise_()
|
|
|
|
|
|
|
|
self.label_2 = QtWidgets.QLabel(self.frame)
|
|
|
|
|
|
|
|
self.label_2.setGeometry(QtCore.QRect(30, 20, 81, 31))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
|
|
|
self.label_2.setFont(font)
|
|
|
|
|
|
|
|
self.label_2.setStyleSheet("background-color:rgb(140, 225, 230)\n"
|
|
|
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
self.label_2.setIndent(0)
|
|
|
|
|
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
|
|
|
|
|
self.pushButton_12 = QtWidgets.QPushButton(self.frame)
|
|
|
|
|
|
|
|
self.pushButton_12.setGeometry(QtCore.QRect(620, 20, 131, 31))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("华文中宋")
|
|
|
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
|
|
|
self.pushButton_12.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_12.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(234, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.pushButton_12.setObjectName("pushButton_12")
|
|
|
|
|
|
|
|
self.plainTextEdit_2 = QtWidgets.QPlainTextEdit(self.frame)
|
|
|
|
|
|
|
|
self.plainTextEdit_2.setGeometry(QtCore.QRect(130, 20, 441, 31))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("Agency FB")
|
|
|
|
|
|
|
|
font.setPointSize(15)
|
|
|
|
|
|
|
|
self.plainTextEdit_2.setFont(font)
|
|
|
|
|
|
|
|
self.plainTextEdit_2.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(234, 249, 253);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;")
|
|
|
|
|
|
|
|
self.plainTextEdit_2.setObjectName("plainTextEdit_2")
|
|
|
|
|
|
|
|
self.textEdit_3.raise_()
|
|
|
|
|
|
|
|
self.frame_2.raise_()
|
|
|
|
|
|
|
|
self.pushButton_12.raise_()
|
|
|
|
|
|
|
|
self.label_2.raise_()
|
|
|
|
|
|
|
|
self.plainTextEdit_2.raise_()
|
|
|
|
|
|
|
|
self.tabWidget.addTab(self.tab_2, "")
|
|
|
|
|
|
|
|
self.pushButton_13 = QtWidgets.QPushButton(self.page)
|
|
|
|
|
|
|
|
self.pushButton_13.setGeometry(QtCore.QRect(770, 1, 31, 21))
|
|
|
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
|
|
|
font.setFamily("Agency FB")
|
|
|
|
|
|
|
|
font.setPointSize(28)
|
|
|
|
|
|
|
|
self.pushButton_13.setFont(font)
|
|
|
|
|
|
|
|
self.pushButton_13.setStyleSheet("border-width:0;border-style:outset;\n"
|
|
|
|
|
|
|
|
"background-color:rgb(87, 170, 226);\n"
|
|
|
|
|
|
|
|
"border-radius: 10px;\n"
|
|
|
|
|
|
|
|
"border :none ;\n"
|
|
|
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
icon = QtGui.QIcon.fromTheme("下线")
|
|
|
|
|
|
|
|
self.pushButton_13.setIcon(icon)
|
|
|
|
|
|
|
|
self.pushButton_13.setObjectName("pushButton_13")
|
|
|
|
|
|
|
|
self.stackedWidget.addWidget(self.page)
|
|
|
|
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
|
|
|
|
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
|
|
|
|
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 883, 23))
|
|
|
|
|
|
|
|
self.menubar.setObjectName("menubar")
|
|
|
|
|
|
|
|
MainWindow.setMenuBar(self.menubar)
|
|
|
|
|
|
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
|
|
|
|
|
|
self.statusbar.setObjectName("statusbar")
|
|
|
|
|
|
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.retranslateUi(MainWindow)
|
|
|
|
|
|
|
|
self.stackedWidget.setCurrentIndex(0)
|
|
|
|
|
|
|
|
self.tabWidget.setCurrentIndex(1)
|
|
|
|
|
|
|
|
self.pushButton_13.clicked.connect(MainWindow.close) # type: ignore
|
|
|
|
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
|
|
|
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
|
|
|
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
|
|
|
|
|
|
self.pushButton_9.setText(_translate("MainWindow", "建立连接"))
|
|
|
|
|
|
|
|
self.toolButton.setText(_translate("MainWindow", "选择文件"))
|
|
|
|
|
|
|
|
self.pushButton_8.setText(_translate("MainWindow", "生成密钥对"))
|
|
|
|
|
|
|
|
self.pushButton_3.setText(_translate("MainWindow", "加密明文"))
|
|
|
|
|
|
|
|
self.pushButton_2.setText(_translate("MainWindow", "数字签名"))
|
|
|
|
|
|
|
|
self.pushButton.setText(_translate("MainWindow", "加密对称密钥"))
|
|
|
|
|
|
|
|
self.pushButton_10.setText(_translate("MainWindow", "发送加密包"))
|
|
|
|
|
|
|
|
self.label.setText(_translate("MainWindow", " 接收方IP"))
|
|
|
|
|
|
|
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "发送方"))
|
|
|
|
|
|
|
|
self.pushButton_4.setText(_translate("MainWindow", "生成密钥对"))
|
|
|
|
|
|
|
|
self.pushButton_11.setText(_translate("MainWindow", "等待对方发送加密包"))
|
|
|
|
|
|
|
|
self.pushButton_5.setText(_translate("MainWindow", "解密对称密钥"))
|
|
|
|
|
|
|
|
self.pushButton_6.setText(_translate("MainWindow", "解密文"))
|
|
|
|
|
|
|
|
self.pushButton_7.setText(_translate("MainWindow", "签名验证"))
|
|
|
|
|
|
|
|
self.label_2.setText(_translate("MainWindow", " 发送方IP"))
|
|
|
|
|
|
|
|
self.pushButton_12.setText(_translate("MainWindow", "发送公钥"))
|
|
|
|
|
|
|
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "接收方"))
|
|
|
|
|
|
|
|
self.pushButton_13.setText(_translate("MainWindow", "×"))
|
|
|
|
|
|
|
|
MainWindow.setWindowFlags(QtCore.Qt.FramelessWindowHint)
|
|
|
|
|
|
|
|
MainWindow.setAttribute(QtCore.Qt.WA_TranslucentBackground)
|