monitor_ui.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'monitor.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(400, 300)
  13. self.label = QtWidgets.QLabel(Dialog)
  14. self.label.setGeometry(QtCore.QRect(20, 50, 111, 111))
  15. self.label.setStyleSheet("border-width:4px;\n"
  16. "border-style:solid;\n"
  17. "border-radius:10px;\n"
  18. "border-top-color:green;\n"
  19. "border-bottom-color:pink;\n"
  20. "border-left-color:gold;\n"
  21. "border-right-color:brown;\n"
  22. "\n"
  23. "")
  24. self.label.setObjectName("label")
  25. self.pushButton = QtWidgets.QPushButton(Dialog)
  26. self.pushButton.setGeometry(QtCore.QRect(30, 230, 75, 23))
  27. self.pushButton.setStyleSheet("border-width:2px;\n"
  28. "border-style:solid;\n"
  29. "border-randius:10px;\n"
  30. "border-top-color:#ffffff;\n"
  31. "border-left-color:#ffffff;\n"
  32. "border-bottom-color:#bbbbbb;\n"
  33. "border-right-color:#bbbbbb\n"
  34. "\n"
  35. "\n"
  36. "\n"
  37. "")
  38. self.pushButton.setObjectName("pushButton")
  39. self.retranslateUi(Dialog)
  40. QtCore.QMetaObject.connectSlotsByName(Dialog)
  41. def retranslateUi(self, Dialog):
  42. _translate = QtCore.QCoreApplication.translate
  43. Dialog.setWindowTitle(_translate("Dialog", "智能交通监控系统"))
  44. self.label.setText(_translate("Dialog", "视频显示区"))
  45. self.pushButton.setText(_translate("Dialog", "处理视频"))