traffic_ui.py 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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_Dialog(object):
  10. def setupUi(self, Dialog):
  11. Dialog.setObjectName("Dialog")
  12. Dialog.resize(986, 644)
  13. self.label = QtWidgets.QLabel(Dialog)
  14. self.label.setGeometry(QtCore.QRect(371, 130, 171, 121))
  15. self.label.setStyleSheet("border-width:1px;\n"
  16. "border-style:solid;\n"
  17. "border-color:red;")
  18. self.label.setText("")
  19. self.label.setObjectName("label")
  20. self.label_2 = QtWidgets.QLabel(Dialog)
  21. self.label_2.setGeometry(QtCore.QRect(850, 310, 72, 15))
  22. self.label_2.setText("")
  23. self.label_2.setObjectName("label_2")
  24. self.label_3 = QtWidgets.QLabel(Dialog)
  25. self.label_3.setGeometry(QtCore.QRect(110, 244, 141, 101))
  26. self.label_3.setText("")
  27. self.label_3.setObjectName("label_3")
  28. self.pushButton = QtWidgets.QPushButton(Dialog)
  29. self.pushButton.setGeometry(QtCore.QRect(420, 500, 93, 28))
  30. self.pushButton.setObjectName("pushButton")
  31. self.label_4 = QtWidgets.QLabel(Dialog)
  32. self.label_4.setGeometry(QtCore.QRect(780, 180, 72, 15))
  33. self.label_4.setObjectName("label_4")
  34. self.label_5 = QtWidgets.QLabel(Dialog)
  35. self.label_5.setGeometry(QtCore.QRect(790, 340, 72, 15))
  36. self.label_5.setStyleSheet("border-width:1px;\n"
  37. "border-style:solid;\n"
  38. "border-color:blue;")
  39. self.label_5.setObjectName("label_5")
  40. self.label_6 = QtWidgets.QLabel(Dialog)
  41. self.label_6.setGeometry(QtCore.QRect(390, 80, 151, 16))
  42. self.label_6.setObjectName("label_6")
  43. self.retranslateUi(Dialog)
  44. QtCore.QMetaObject.connectSlotsByName(Dialog)
  45. def retranslateUi(self, Dialog):
  46. _translate = QtCore.QCoreApplication.translate
  47. Dialog.setWindowTitle(_translate("Dialog", "智能交通监控系统"))
  48. self.pushButton.setText(_translate("Dialog", "抓取图像"))
  49. self.label_4.setText(_translate("Dialog", "识别信息"))
  50. self.label_5.setText(_translate("Dialog", "显示信息"))
  51. self.label_6.setText(_translate("Dialog", "智能监控交通系统"))