traffic_ui.py 2.1 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(1012, 738)
  13. self.label = QtWidgets.QLabel(Dialog)
  14. self.label.setGeometry(QtCore.QRect(161, 134, 471, 351))
  15. self.label.setStyleSheet("border-width:3px;\n"
  16. "border-style:solid;\n"
  17. "border-color:blue;\n"
  18. "border-radius:10px;\n"
  19. "border-top-color:red;\n"
  20. "border-bottom-color:green;\n"
  21. "border-left-color:pink;\n"
  22. "border-right-color:black;")
  23. self.label.setObjectName("label")
  24. self.pushButton = QtWidgets.QPushButton(Dialog)
  25. self.pushButton.setGeometry(QtCore.QRect(302, 567, 171, 71))
  26. self.pushButton.setStyleSheet("border-width:1px;\n"
  27. "border-style:solid;\n"
  28. "border-color:blue;\n"
  29. "border-radius:10px;\n"
  30. "border-top-color:red;\n"
  31. "border-bottom-color:green;\n"
  32. "border-left-color:pink;\n"
  33. "border-right-color:black;")
  34. self.pushButton.setObjectName("pushButton")
  35. self.pushButton_2 = QtWidgets.QPushButton(Dialog)
  36. self.pushButton_2.setGeometry(QtCore.QRect(232, 37, 251, 51))
  37. font = QtGui.QFont()
  38. font.setFamily("Bahnschrift")
  39. font.setBold(False)
  40. font.setItalic(True)
  41. font.setWeight(50)
  42. self.pushButton_2.setFont(font)
  43. self.pushButton_2.setObjectName("pushButton_2")
  44. self.retranslateUi(Dialog)
  45. QtCore.QMetaObject.connectSlotsByName(Dialog)
  46. def retranslateUi(self, Dialog):
  47. _translate = QtCore.QCoreApplication.translate
  48. Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
  49. self.label.setText(_translate("Dialog", "TextLabel"))
  50. self.pushButton.setText(_translate("Dialog", "处理视频"))
  51. self.pushButton_2.setText(_translate("Dialog", "精美窗口"))