# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Classroom.ui' # # Created by: PyQt5 UI code generator 5.15.9 # # 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_Classroom(object): def setupUi(self, Classroom): Classroom.setObjectName("Classroom") Classroom.resize(1250, 800) self.label = QtWidgets.QLabel(Classroom) self.label.setGeometry(QtCore.QRect(60, 125, 800, 550)) self.label.setStyleSheet("border-style:solid;\n" "border-width:3px;\n" "border-radius:10px;\n" "border-color:silver;\n" "") self.label.setText("") self.label.setObjectName("label") self.pushButton = QtWidgets.QPushButton(Classroom) self.pushButton.setGeometry(QtCore.QRect(720, 700, 93, 28)) self.pushButton.setStyleSheet("") self.pushButton.setObjectName("pushButton") self.label_2 = QtWidgets.QLabel(Classroom) self.label_2.setGeometry(QtCore.QRect(870, 600, 300, 50)) self.label_2.setStyleSheet("border-width:0px;\n" "font: 10pt \"黑体\";\n" "") self.label_2.setObjectName("label_2") self.label_3 = QtWidgets.QLabel(Classroom) self.label_3.setGeometry(QtCore.QRect(870, 540, 300, 50)) self.label_3.setStyleSheet("border-width:0px;\n" "font: 10pt \"黑体\";") self.label_3.setObjectName("label_3") self.pushButton_2 = QtWidgets.QPushButton(Classroom) self.pushButton_2.setGeometry(QtCore.QRect(450, 50, 300, 45)) font = QtGui.QFont() font.setFamily("黑体") font.setPointSize(20) font.setBold(False) font.setItalic(False) font.setWeight(50) self.pushButton_2.setFont(font) self.pushButton_2.setStyleSheet("border-width:1px;\n" "font: 20pt \"黑体\";\n" "border-radius:10px;\n" "border-top-color:silver\n" "") self.pushButton_2.setObjectName("pushButton_2") self.label_4 = QtWidgets.QLabel(Classroom) self.label_4.setGeometry(QtCore.QRect(20, 10, 1200, 750)) self.label_4.setStyleSheet("border-style:solid;\n" "border-width:3px;\n" "border-radius:10px;\n" "border-color:black;") self.label_4.setText("") self.label_4.setObjectName("label_4") self.retranslateUi(Classroom) QtCore.QMetaObject.connectSlotsByName(Classroom) def retranslateUi(self, Classroom): _translate = QtCore.QCoreApplication.translate Classroom.setWindowTitle(_translate("Classroom", "智能教室监控系统")) self.pushButton.setText(_translate("Classroom", "抓取图像")) self.label_2.setText(_translate("Classroom", "
识别信息
")) self.label_3.setText(_translate("Classroom", "显示信息
")) self.pushButton_2.setText(_translate("Classroom", "智能教室监控系统"))