traffic_ui.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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(500, 381)
  13. self.IBIVideo = QtWidgets.QLabel(Traffic)
  14. self.IBIVideo.setGeometry(QtCore.QRect(40, 70, 301, 181))
  15. self.IBIVideo.setStyleSheet("border-width:3px;\n"
  16. "border-style:solid;\n"
  17. "border-radius:10px;\n"
  18. "border-top-color:red;\n"
  19. "border-bottom-color:green;\n"
  20. "border-left-color:yellow;\n"
  21. "border-right-color:pink;")
  22. self.IBIVideo.setObjectName("IBIVideo")
  23. self.btnCapture = QtWidgets.QPushButton(Traffic)
  24. self.btnCapture.setGeometry(QtCore.QRect(170, 270, 93, 28))
  25. self.btnCapture.setObjectName("btnCapture")
  26. self.label = QtWidgets.QLabel(Traffic)
  27. self.label.setGeometry(QtCore.QRect(180, 30, 171, 16))
  28. self.label.setObjectName("label")
  29. self.label_2 = QtWidgets.QLabel(Traffic)
  30. self.label_2.setGeometry(QtCore.QRect(390, 120, 72, 15))
  31. self.label_2.setObjectName("label_2")
  32. self.label_3 = QtWidgets.QLabel(Traffic)
  33. self.label_3.setGeometry(QtCore.QRect(400, 170, 72, 15))
  34. self.label_3.setObjectName("label_3")
  35. self.retranslateUi(Traffic)
  36. QtCore.QMetaObject.connectSlotsByName(Traffic)
  37. def retranslateUi(self, Traffic):
  38. _translate = QtCore.QCoreApplication.translate
  39. Traffic.setWindowTitle(_translate("Traffic", "智能交通监控系统"))
  40. self.IBIVideo.setText(_translate("Traffic", "TextLabel"))
  41. self.btnCapture.setText(_translate("Traffic", "PushButton"))
  42. self.label.setText(_translate("Traffic", "智能交通监控系统"))
  43. self.label_2.setText(_translate("Traffic", "识别信息"))
  44. self.label_3.setText(_translate("Traffic", "显示信息"))