-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinfordia.py
55 lines (49 loc) · 3.61 KB
/
infordia.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'infordia.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_InforDialog(object):
def setupUi(self, InforDialog):
InforDialog.setObjectName("InforDialog")
InforDialog.resize(400, 300)
self.buttonBox = QtWidgets.QDialogButtonBox(InforDialog)
self.buttonBox.setGeometry(QtCore.QRect(30, 250, 341, 32))
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.label = QtWidgets.QLabel(InforDialog)
self.label.setGeometry(QtCore.QRect(150, 0, 101, 41))
font = QtGui.QFont()
font.setFamily("Harlow Solid Italic")
font.setPointSize(14)
font.setItalic(True)
self.label.setFont(font)
self.label.setTextFormat(QtCore.Qt.PlainText)
self.label.setObjectName("label")
self.textBrowser = QtWidgets.QTextBrowser(InforDialog)
self.textBrowser.setGeometry(QtCore.QRect(60, 40, 280, 192))
self.textBrowser.setObjectName("textBrowser")
self.retranslateUi(InforDialog)
self.buttonBox.accepted.connect(InforDialog.accept)
self.buttonBox.rejected.connect(InforDialog.reject)
QtCore.QMetaObject.connectSlotsByName(InforDialog)
def retranslateUi(self, InforDialog):
_translate = QtCore.QCoreApplication.translate
InforDialog.setWindowTitle(_translate("InforDialog", "Dialog"))
self.label.setText(_translate("InforDialog", "MyAPP"))
self.textBrowser.setHtml(_translate("InforDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">基于PyQT开发的电磁场仿真软件。</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">v1.0</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">基础功能编写。参考已有项目生成图像文件保存再显示。 </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">v2.0</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">调用FigureCanvasQTAgg类直接显示。 </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">v2.1</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">界面美化,完成三个实验汇总。 </p>\n"
"<p align=\"right\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">MR</p>\n"
"<p align=\"right\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> 2022/3</p></body></html>"))