-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathUi_about.py
89 lines (82 loc) · 5.86 KB
/
Ui_about.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Ui_about.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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_About(object):
def setupUi(self, About):
About.setObjectName("About")
About.resize(517, 348)
self.pushButton = QtWidgets.QPushButton(About)
self.pushButton.setGeometry(QtCore.QRect(400, 310, 93, 28))
self.pushButton.setObjectName("pushButton")
self.tabWidget = QtWidgets.QTabWidget(About)
self.tabWidget.setGeometry(QtCore.QRect(20, 20, 481, 281))
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.textBrowser = QtWidgets.QTextBrowser(self.tab)
self.textBrowser.setGeometry(QtCore.QRect(0, 111, 461, 141))
self.textBrowser.setObjectName("textBrowser")
self.LogoLabel = QtWidgets.QLabel(self.tab)
self.LogoLabel.setGeometry(QtCore.QRect(0, 20, 100, 80))
self.LogoLabel.setLayoutDirection(QtCore.Qt.LeftToRight)
self.LogoLabel.setTextFormat(QtCore.Qt.PlainText)
self.LogoLabel.setObjectName("LogoLabel")
self.horizontalLayoutWidget = QtWidgets.QWidget(self.tab)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(110, 10, 351, 101))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
self.VersionLabel = QtWidgets.QLabel(self.horizontalLayoutWidget)
self.VersionLabel.setText("")
self.VersionLabel.setObjectName("VersionLabel")
self.gridLayout.addWidget(self.VersionLabel, 1, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(14)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
self.horizontalLayout.addLayout(self.gridLayout)
self.tabWidget.addTab(self.tab, "")
self.tab2 = QtWidgets.QWidget()
self.tab2.setObjectName("tab2")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.tab2)
self.textBrowser_2.setGeometry(QtCore.QRect(10, 20, 441, 221))
self.textBrowser_2.setObjectName("textBrowser_2")
self.tabWidget.addTab(self.tab2, "")
self.retranslateUi(About)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(About)
def retranslateUi(self, About):
_translate = QtCore.QCoreApplication.translate
About.setWindowTitle(_translate("About", "Form"))
self.pushButton.setText(_translate("About", "确定"))
self.textBrowser.setHtml(_translate("About", "<!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;\"><span style=\" font-size:10pt;\">powered by chenlong</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">contact to [email protected]</span></p></body></html>"))
self.LogoLabel.setText(_translate("About", "logo"))
self.label_3.setText(_translate("About", "PlayDemo"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("About", "Page"))
self.textBrowser_2.setHtml(_translate("About", "<!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;\"><span style=\" font-size:10pt;\">快捷键 指令</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">----------------------------------</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">Enter 屏幕->全屏</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">↑ 声音->音量 +</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">↓ 声音->音量 -</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">→ 播放->定位->步进5 秒</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt;\">← 播放->定位->步退5 秒</span></p></body></html>"))