classroom_ui.py 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'Classroom.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.15.9
  5. #
  6. # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  7. # run again. Do not edit this file unless you know what you are doing.
  8. from PyQt5 import QtCore, QtGui, QtWidgets
  9. class Ui_Classroom(object):
  10. def setupUi(self, Classroom):
  11. Classroom.setObjectName("Classroom")
  12. Classroom.resize(1250, 800)
  13. self.label = QtWidgets.QLabel(Classroom)
  14. self.label.setGeometry(QtCore.QRect(60, 125, 800, 550))
  15. self.label.setStyleSheet("border-style:solid;\n"
  16. "border-width:3px;\n"
  17. "border-radius:10px;\n"
  18. "border-color:silver;\n"
  19. "")
  20. self.label.setText("")
  21. self.label.setObjectName("label")
  22. self.pushButton = QtWidgets.QPushButton(Classroom)
  23. self.pushButton.setGeometry(QtCore.QRect(720, 700, 93, 28))
  24. self.pushButton.setStyleSheet("")
  25. self.pushButton.setObjectName("pushButton")
  26. self.label_2 = QtWidgets.QLabel(Classroom)
  27. self.label_2.setGeometry(QtCore.QRect(870, 600, 300, 50))
  28. self.label_2.setStyleSheet("border-width:0px;\n"
  29. "font: 10pt \"黑体\";\n"
  30. "")
  31. self.label_2.setObjectName("label_2")
  32. self.label_3 = QtWidgets.QLabel(Classroom)
  33. self.label_3.setGeometry(QtCore.QRect(870, 540, 300, 50))
  34. self.label_3.setStyleSheet("border-width:0px;\n"
  35. "font: 10pt \"黑体\";")
  36. self.label_3.setObjectName("label_3")
  37. self.pushButton_2 = QtWidgets.QPushButton(Classroom)
  38. self.pushButton_2.setGeometry(QtCore.QRect(450, 50, 300, 45))
  39. font = QtGui.QFont()
  40. font.setFamily("黑体")
  41. font.setPointSize(20)
  42. font.setBold(False)
  43. font.setItalic(False)
  44. font.setWeight(50)
  45. self.pushButton_2.setFont(font)
  46. self.pushButton_2.setStyleSheet("border-width:1px;\n"
  47. "font: 20pt \"黑体\";\n"
  48. "border-radius:10px;\n"
  49. "border-top-color:silver\n"
  50. "")
  51. self.pushButton_2.setObjectName("pushButton_2")
  52. self.label_4 = QtWidgets.QLabel(Classroom)
  53. self.label_4.setGeometry(QtCore.QRect(20, 10, 1200, 750))
  54. self.label_4.setStyleSheet("border-style:solid;\n"
  55. "border-width:3px;\n"
  56. "border-radius:10px;\n"
  57. "border-color:black;")
  58. self.label_4.setText("")
  59. self.label_4.setObjectName("label_4")
  60. self.retranslateUi(Classroom)
  61. QtCore.QMetaObject.connectSlotsByName(Classroom)
  62. def retranslateUi(self, Classroom):
  63. _translate = QtCore.QCoreApplication.translate
  64. Classroom.setWindowTitle(_translate("Classroom", "智能教室监控系统"))
  65. self.pushButton.setText(_translate("Classroom", "抓取图像"))
  66. self.label_2.setText(_translate("Classroom", "<html><head/><body><p align=\"center\"><span style=\" color:#ff0000;\">识别信息</span></p></body></html>"))
  67. self.label_3.setText(_translate("Classroom", "<html><head/><body><p align=\"center\"><span style=\" color:#ff0000;\">显示信息</span></p></body></html>"))
  68. self.pushButton_2.setText(_translate("Classroom", "智能教室监控系统"))