monitor_ui.py 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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(488, 356)
  13. self.label = QtWidgets.QLabel(Dialog)
  14. self.label.setGeometry(QtCore.QRect(60, 50, 351, 201))
  15. self.label.setStyleSheet("border-width:3px;\n"
  16. "border-style:solid;\n"
  17. "border-radius:10px;\n"
  18. "border-top-color:red;\n"
  19. "border-bottom-color:green;\n"
  20. "border-left-color:yellow;\n"
  21. "border-right-color:pink;\n"
  22. "")
  23. self.label.setObjectName("label")
  24. self.pushButton = QtWidgets.QPushButton(Dialog)
  25. self.pushButton.setGeometry(QtCore.QRect(190, 270, 101, 31))
  26. self.pushButton.setStyleSheet("border-width:1px;\n"
  27. "border-style:solid;\n"
  28. "border-radius:7px;\n"
  29. "border-top-color:#ffffff;\n"
  30. "border-left-color:#ffffff;\n"
  31. "border-bottom-color:#888888;\n"
  32. "border-right-color:#888888;\n"
  33. "\n"
  34. "")
  35. self.pushButton.setObjectName("pushButton")
  36. self.retranslateUi(Dialog)
  37. QtCore.QMetaObject.connectSlotsByName(Dialog)
  38. def retranslateUi(self, Dialog):
  39. _translate = QtCore.QCoreApplication.translate
  40. Dialog.setWindowTitle(_translate("Dialog", "智能交通监控系统"))
  41. self.label.setText(_translate("Dialog", "视频显示区"))
  42. self.pushButton.setText(_translate("Dialog", "处理视频"))