-
Notifications
You must be signed in to change notification settings - Fork 0
/
window.py
102 lines (95 loc) · 5.3 KB
/
window.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
90
91
92
93
94
95
96
97
98
99
100
101
102
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\window.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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(729, 449)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
MainWindow.setFont(font)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setAcceptDrops(True)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(16, 20, 701, 391))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.pushButtonDir = QtWidgets.QPushButton(self.verticalLayoutWidget)
self.pushButtonDir.setObjectName("pushButtonDir")
self.horizontalLayout.addWidget(self.pushButtonDir)
self.lineEditDir = QtWidgets.QLineEdit(self.verticalLayoutWidget)
self.lineEditDir.setObjectName("lineEditDir")
self.horizontalLayout.addWidget(self.lineEditDir)
self.line = QtWidgets.QFrame(self.verticalLayoutWidget)
self.line.setFrameShape(QtWidgets.QFrame.VLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.horizontalLayout.addWidget(self.line)
self.checkBox = QtWidgets.QCheckBox(self.verticalLayoutWidget)
self.checkBox.setLayoutDirection(QtCore.Qt.LeftToRight)
self.checkBox.setText("")
self.checkBox.setObjectName("checkBox")
self.horizontalLayout.addWidget(self.checkBox)
self.label = QtWidgets.QLabel(self.verticalLayoutWidget)
self.label.setText("")
self.label.setObjectName("label")
self.horizontalLayout.addWidget(self.label)
self.label_3 = QtWidgets.QLabel(self.verticalLayoutWidget)
self.label_3.setObjectName("label_3")
self.horizontalLayout.addWidget(self.label_3)
self.doubleSpinBoxThreshold = QtWidgets.QDoubleSpinBox(self.verticalLayoutWidget)
self.doubleSpinBoxThreshold.setMaximum(99999999.0)
self.doubleSpinBoxThreshold.setObjectName("doubleSpinBoxThreshold")
self.horizontalLayout.addWidget(self.doubleSpinBoxThreshold)
self.label_2 = QtWidgets.QLabel(self.verticalLayoutWidget)
self.label_2.setObjectName("label_2")
self.horizontalLayout.addWidget(self.label_2)
self.line_2 = QtWidgets.QFrame(self.verticalLayoutWidget)
self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.horizontalLayout.addWidget(self.line_2)
self.label_4 = QtWidgets.QLabel(self.verticalLayoutWidget)
self.label_4.setObjectName("label_4")
self.horizontalLayout.addWidget(self.label_4)
self.spinBox = QtWidgets.QSpinBox(self.verticalLayoutWidget)
self.spinBox.setProperty("value", 3)
self.spinBox.setObjectName("spinBox")
self.horizontalLayout.addWidget(self.spinBox)
self.pushButtonStart = QtWidgets.QPushButton(self.verticalLayoutWidget)
self.pushButtonStart.setObjectName("pushButtonStart")
self.horizontalLayout.addWidget(self.pushButtonStart)
self.verticalLayout.addLayout(self.horizontalLayout)
self.line_3 = QtWidgets.QFrame(self.verticalLayoutWidget)
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.verticalLayout.addWidget(self.line_3)
self.textBrowser = QtWidgets.QTextBrowser(self.verticalLayoutWidget)
self.textBrowser.setObjectName("textBrowser")
self.verticalLayout.addWidget(self.textBrowser)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "图片序列帧检查助手"))
self.pushButtonDir.setText(_translate("MainWindow", "选择或拖拽目录"))
self.label_3.setText(_translate("MainWindow", "小于"))
self.label_2.setText(_translate("MainWindow", "KB的视为坏帧 "))
self.label_4.setText(_translate("MainWindow", "序号位数"))
self.pushButtonStart.setText(_translate("MainWindow", "开始检测"))
self.textBrowser.setPlaceholderText(_translate("MainWindow", "可以直接拖拽文件夹到这个文本框"))