traffic_ui.py 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'traffic.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_Traffic(object):
  10. def setupUi(self, Traffic):
  11. Traffic.setObjectName("Traffic")
  12. Traffic.resize(961, 643)
  13. self.lblVideo = QtWidgets.QLabel(Traffic)
  14. self.lblVideo.setGeometry(QtCore.QRect(30, 80, 640, 480))
  15. self.lblVideo.setStyleSheet("border-width:1px;\n"
  16. "border-style:solid;\n"
  17. "border-color:#FF0000;\n"
  18. "border-radius:10px;")
  19. self.lblVideo.setObjectName("lblVideo")
  20. self.btnCapture = QtWidgets.QPushButton(Traffic)
  21. self.btnCapture.setGeometry(QtCore.QRect(310, 580, 75, 31))
  22. self.btnCapture.setObjectName("btnCapture")
  23. self.label = QtWidgets.QLabel(Traffic)
  24. self.label.setGeometry(QtCore.QRect(230, 30, 261, 31))
  25. font = QtGui.QFont()
  26. font.setPointSize(24)
  27. font.setBold(True)
  28. self.label.setFont(font)
  29. self.label.setAlignment(QtCore.Qt.AlignCenter)
  30. self.label.setObjectName("label")
  31. self.label_2 = QtWidgets.QLabel(Traffic)
  32. self.label_2.setGeometry(QtCore.QRect(733, 230, 81, 20))
  33. self.label_2.setObjectName("label_2")
  34. self.lblInfo = QtWidgets.QLabel(Traffic)
  35. self.lblInfo.setGeometry(QtCore.QRect(700, 270, 171, 141))
  36. self.lblInfo.setStyleSheet("border-width:1px;\n"
  37. "border-style:dotted;\n"
  38. "border-color:blue;")
  39. self.lblInfo.setObjectName("lblInfo")
  40. self.retranslateUi(Traffic)
  41. QtCore.QMetaObject.connectSlotsByName(Traffic)
  42. def retranslateUi(self, Traffic):
  43. _translate = QtCore.QCoreApplication.translate
  44. Traffic.setWindowTitle(_translate("Traffic", "智能交通监控系统"))
  45. self.lblVideo.setText(_translate("Traffic", "TextLabel"))
  46. self.btnCapture.setText(_translate("Traffic", "抓取图像"))
  47. self.label.setText(_translate("Traffic", "智能交通监控系统"))
  48. self.label_2.setText(_translate("Traffic", "识别信息:"))
  49. self.lblInfo.setText(_translate("Traffic", "显示信息"))