traffic_ui.py 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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(781, 675)
  13. Dialog.setStyleSheet("border-style: solid;\n"
  14. "border-radius:10px;\n"
  15. "border-top-color:#ffffff;\n"
  16. "border-left-color:#ffffff;\n"
  17. "border-right-color:#888888;\n"
  18. "border-bottom-color:#888888;")
  19. self.label = QtWidgets.QLabel(Dialog)
  20. self.label.setGeometry(QtCore.QRect(140, 160, 481, 311))
  21. self.label.setStyleSheet("border-width:3px;\n"
  22. "border-style:solid;\n"
  23. "border-color:blue;\n"
  24. "border-radius:10px;\n"
  25. "border-color:red;\n"
  26. "")
  27. self.label.setText("")
  28. self.label.setObjectName("label")
  29. self.pushButton_2 = QtWidgets.QPushButton(Dialog)
  30. self.pushButton_2.setGeometry(QtCore.QRect(260, 60, 171, 41))
  31. self.pushButton_2.setStyleSheet("border-width:3px;\n"
  32. "border-style: solid;\n"
  33. "border-radius:10px;\n"
  34. "border-top-color:#ffffff;\n"
  35. "border-left-color:#ffffff;\n"
  36. "border-right-color:#888888;\n"
  37. "border-bottom-color:#888888;")
  38. self.pushButton_2.setObjectName("pushButton_2")
  39. self.label_2 = QtWidgets.QLabel(Dialog)
  40. self.label_2.setGeometry(QtCore.QRect(390, 554, 141, 41))
  41. self.label_2.setStyleSheet("border-width:3px;\n"
  42. "border-style: solid;\n"
  43. "border-radius:10px;\n"
  44. "border-top-color:#ffffff;\n"
  45. "border-left-color:#ffffff;\n"
  46. "border-right-color:#888888;\n"
  47. "border-bottom-color:#888888;")
  48. self.label_2.setObjectName("label_2")
  49. self.retranslateUi(Dialog)
  50. QtCore.QMetaObject.connectSlotsByName(Dialog)
  51. def retranslateUi(self, Dialog):
  52. _translate = QtCore.QCoreApplication.translate
  53. Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
  54. self.pushButton_2.setText(_translate("Dialog", "智能交通应用系统"))
  55. self.label_2.setText(_translate("Dialog", "抓取图像"))