代码拉取完成,页面将自动刷新
同步操作将从 chen/疲劳检测 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(1060, 578)
self.actionOpen_camera = QAction(MainWindow)
self.actionOpen_camera.setObjectName(u"actionOpen_camera")
self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget")
self.verticalLayout_2 = QVBoxLayout(self.centralwidget)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.label = QLabel(self.centralwidget)
self.label.setObjectName(u"label")
self.label.setMinimumSize(QSize(720, 480))
self.label.setMaximumSize(QSize(720, 480))
self.horizontalLayout.addWidget(self.label)
self.verticalLayout = QVBoxLayout()
self.verticalLayout.setObjectName(u"verticalLayout")
self.horizontalLayout_5 = QHBoxLayout()
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
self.label_2 = QLabel(self.centralwidget)
self.label_2.setObjectName(u"label_2")
self.label_2.setMaximumSize(QSize(120, 30))
self.horizontalLayout_5.addWidget(self.label_2)
self.label_10 = QLabel(self.centralwidget)
self.label_10.setObjectName(u"label_10")
self.label_10.setMaximumSize(QSize(180, 30))
self.horizontalLayout_5.addWidget(self.label_10)
self.verticalLayout.addLayout(self.horizontalLayout_5)
self.horizontalLayout_2 = QHBoxLayout()
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.label_3 = QLabel(self.centralwidget)
self.label_3.setObjectName(u"label_3")
self.label_3.setMaximumSize(QSize(150, 30))
self.horizontalLayout_2.addWidget(self.label_3)
self.label_4 = QLabel(self.centralwidget)
self.label_4.setObjectName(u"label_4")
self.label_4.setMaximumSize(QSize(150, 30))
self.horizontalLayout_2.addWidget(self.label_4)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.horizontalLayout_4 = QHBoxLayout()
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
self.label_5 = QLabel(self.centralwidget)
self.label_5.setObjectName(u"label_5")
self.label_5.setMaximumSize(QSize(120, 30))
self.horizontalLayout_4.addWidget(self.label_5)
self.label_9 = QLabel(self.centralwidget)
self.label_9.setObjectName(u"label_9")
self.label_9.setMaximumSize(QSize(180, 30))
self.horizontalLayout_4.addWidget(self.label_9)
self.verticalLayout.addLayout(self.horizontalLayout_4)
self.horizontalLayout_3 = QHBoxLayout()
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
self.label_6 = QLabel(self.centralwidget)
self.label_6.setObjectName(u"label_6")
self.label_6.setMaximumSize(QSize(100, 30))
self.horizontalLayout_3.addWidget(self.label_6)
self.label_7 = QLabel(self.centralwidget)
self.label_7.setObjectName(u"label_7")
self.label_7.setMaximumSize(QSize(100, 30))
self.horizontalLayout_3.addWidget(self.label_7)
self.label_8 = QLabel(self.centralwidget)
self.label_8.setObjectName(u"label_8")
self.label_8.setMaximumSize(QSize(100, 30))
self.horizontalLayout_3.addWidget(self.label_8)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.textBrowser = QTextBrowser(self.centralwidget)
self.textBrowser.setObjectName(u"textBrowser")
self.textBrowser.setMaximumSize(QSize(300, 360))
self.verticalLayout.addWidget(self.textBrowser)
self.horizontalLayout.addLayout(self.verticalLayout)
self.verticalLayout_2.addLayout(self.horizontalLayout)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QMenuBar(MainWindow)
self.menubar.setObjectName(u"menubar")
self.menubar.setGeometry(QRect(0, 0, 1060, 26))
self.menu = QMenu(self.menubar)
self.menu.setObjectName(u"menu")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QStatusBar(MainWindow)
self.statusbar.setObjectName(u"statusbar")
MainWindow.setStatusBar(self.statusbar)
self.menubar.addAction(self.menu.menuAction())
self.menu.addAction(self.actionOpen_camera)
self.retranslateUi(MainWindow)
QMetaObject.connectSlotsByName(MainWindow)
# setupUi
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
self.actionOpen_camera.setText(QCoreApplication.translate("MainWindow", u"Open camera", None))
self.label.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_2.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_10.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_3.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_4.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_5.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_9.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_6.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_7.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.label_8.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None))
self.menu.setTitle(QCoreApplication.translate("MainWindow", u"Open", None))
# retranslateUi
# 消息框显示函数
def printf(self, mes):
self.textBrowser.append(mes) # 在指定的区域显示提示信息
self.cursot = self.textBrowser.textCursor()
self.textBrowser.moveCursor(self.cursot.End)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。