figure_ui.py 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'figure.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_Ui_figure(object):
  10. def setupUi(self, Ui_figure):
  11. Ui_figure.setObjectName("Ui_figure")
  12. Ui_figure.resize(906, 749)
  13. self.buttonBox = QtWidgets.QDialogButtonBox(Ui_figure)
  14. self.buttonBox.setGeometry(QtCore.QRect(30, 240, 341, 32))
  15. self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  16. self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
  17. self.buttonBox.setObjectName("buttonBox")
  18. self.label = QtWidgets.QLabel(Ui_figure)
  19. self.label.setGeometry(QtCore.QRect(10, 100, 451, 351))
  20. self.label.setMaximumSize(QtCore.QSize(650, 450))
  21. self.label.setBaseSize(QtCore.QSize(640, 480))
  22. self.label.setStyleSheet("border-width:2px;\n"
  23. "border-style:solid;\n"
  24. "border-color:blue;\n"
  25. "border-radius:20px;\n"
  26. "border-top-color:blue;")
  27. self.label.setObjectName("label")
  28. self.pushButton = QtWidgets.QPushButton(Ui_figure)
  29. self.pushButton.setGeometry(QtCore.QRect(10, 460, 341, 81))
  30. self.pushButton.setStyleSheet("border-width:2px;\n"
  31. "border-style:solid;\n"
  32. "border-radius:10px;\n"
  33. "border-top-color:#ffffff;\n"
  34. "border-left-color:#ffffff;\n"
  35. "border-bottom-color:#bbbbbb;\n"
  36. "border-right-color:#bbbbbb;\n"
  37. "")
  38. self.pushButton.setObjectName("pushButton")
  39. self.label_2 = QtWidgets.QLabel(Ui_figure)
  40. self.label_2.setGeometry(QtCore.QRect(370, 20, 301, 61))
  41. font = QtGui.QFont()
  42. font.setFamily("新宋体")
  43. font.setPointSize(14)
  44. font.setBold(True)
  45. font.setWeight(75)
  46. self.label_2.setFont(font)
  47. self.label_2.setObjectName("label_2")
  48. self.label_3 = QtWidgets.QLabel(Ui_figure)
  49. self.label_3.setGeometry(QtCore.QRect(500, 100, 361, 61))
  50. self.label_3.setStyleSheet("border-width:2px;\n"
  51. "border-style:solid;\n"
  52. "border-color:red;\n"
  53. "border-radius:20px;\n"
  54. "")
  55. self.label_3.setObjectName("label_3")
  56. self.label_4 = QtWidgets.QLabel(Ui_figure)
  57. self.label_4.setGeometry(QtCore.QRect(500, 220, 371, 261))
  58. self.label_4.setStyleSheet("border-width:2px;\n"
  59. "border-style:solid;\n"
  60. "border-color:red;\n"
  61. "border-radius:20px;\n"
  62. "border-top-color:green;")
  63. self.label_4.setObjectName("label_4")
  64. self.retranslateUi(Ui_figure)
  65. self.buttonBox.accepted.connect(Ui_figure.accept) # type: ignore
  66. self.buttonBox.rejected.connect(Ui_figure.reject) # type: ignore
  67. QtCore.QMetaObject.connectSlotsByName(Ui_figure)
  68. def retranslateUi(self, Ui_figure):
  69. _translate = QtCore.QCoreApplication.translate
  70. Ui_figure.setWindowTitle(_translate("Ui_figure", "智能猜拳裁判系统"))
  71. self.label.setText(_translate("Ui_figure", "视频显示区"))
  72. self.pushButton.setText(_translate("Ui_figure", "抓取图像"))
  73. self.label_2.setText(_translate("Ui_figure", "智能猜拳裁判系统"))
  74. self.label_3.setText(_translate("Ui_figure", "识别信息:"))
  75. self.label_4.setText(_translate("Ui_figure", "显示信息"))