traffic_ui.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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(625, 389)
  13. self.btnCapture = QtWidgets.QLabel(Dialog)
  14. self.btnCapture.setGeometry(QtCore.QRect(50, 60, 300, 300))
  15. self.btnCapture.setStyleSheet("border-width:10px;\n"
  16. "border-color:pink;\n"
  17. "border-style:solid;\n"
  18. "\n"
  19. "")
  20. self.btnCapture.setObjectName("btnCapture")
  21. self.label = QtWidgets.QLabel(Dialog)
  22. self.label.setGeometry(QtCore.QRect(220, 20, 171, 16))
  23. self.label.setObjectName("label")
  24. self.label_2 = QtWidgets.QLabel(Dialog)
  25. self.label_2.setGeometry(QtCore.QRect(460, 210, 72, 15))
  26. self.label_2.setObjectName("label_2")
  27. self.pushButton = QtWidgets.QPushButton(Dialog)
  28. self.pushButton.setGeometry(QtCore.QRect(460, 290, 101, 41))
  29. self.pushButton.setObjectName("pushButton")
  30. self.retranslateUi(Dialog)
  31. QtCore.QMetaObject.connectSlotsByName(Dialog)
  32. def retranslateUi(self, Dialog):
  33. _translate = QtCore.QCoreApplication.translate
  34. Dialog.setWindowTitle(_translate("Dialog", "智能交通监测系统"))
  35. self.btnCapture.setText(_translate("Dialog", "视频显示区"))
  36. self.label.setText(_translate("Dialog", "智能交通检测系统"))
  37. self.label_2.setText(_translate("Dialog", "识别信息"))
  38. self.pushButton.setText(_translate("Dialog", "抓取图像"))