-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathUi_MainWindow.py
63 lines (55 loc) · 2.49 KB
/
Ui_MainWindow.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'E:\Python Space\ssd_pyqt\MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(851, 624)
self.centralWidget = QtWidgets.QWidget(MainWindow)
self.centralWidget.setObjectName("centralWidget")
self.label_imgshow = QtWidgets.QLabel(self.centralWidget)
self.label_imgshow.setGeometry(QtCore.QRect(10, 10, 720, 480))
font = QtGui.QFont()
font.setFamily("Agency FB")
font.setPointSize(11)
self.label_imgshow.setFont(font)
self.label_imgshow.setFrameShape(QtWidgets.QFrame.Box)
self.label_imgshow.setText("")
self.label_imgshow.setObjectName("label_imgshow")
self.pushButton_start = QtWidgets.QPushButton(self.centralWidget)
self.pushButton_start.setGeometry(QtCore.QRect(740, 160, 101, 31))
font = QtGui.QFont()
font.setFamily("Agency FB")
font.setPointSize(11)
self.pushButton_start.setFont(font)
self.pushButton_start.setObjectName("pushButton_start")
self.pushButton_end = QtWidgets.QPushButton(self.centralWidget)
self.pushButton_end.setGeometry(QtCore.QRect(740, 290, 101, 31))
font = QtGui.QFont()
font.setFamily("Agency FB")
font.setPointSize(11)
self.pushButton_end.setFont(font)
self.pushButton_end.setObjectName("pushButton_end")
self.textEdit = QtWidgets.QTextEdit(self.centralWidget)
self.textEdit.setGeometry(QtCore.QRect(10, 500, 831, 111))
self.textEdit.setObjectName("textEdit")
MainWindow.setCentralWidget(self.centralWidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "SSD300视频流检测"))
self.pushButton_start.setText(_translate("MainWindow", "开始"))
self.pushButton_end.setText(_translate("MainWindow", "结束"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())