加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
form.py 14.43 KB
一键复制 编辑 原始数据 按行查看 历史
vv 提交于 2023-07-14 01:20 . update form.py.
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'form.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(1922, 949)
Form.setStyleSheet("border-color: rgb(0, 85, 255);")
self.gridLayoutWidget = QtWidgets.QWidget(Form)
self.gridLayoutWidget.setGeometry(QtCore.QRect(200, 170, 1431, 751))
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.Camera1 = QtWidgets.QLabel(self.gridLayoutWidget)
self.Camera1.setStyleSheet("QLabel{\n"
"width: 960px;\n"
"height: 540px;\n"
"border: 2px dashed #409eff;\n"
"}")
self.Camera1.setText("")
self.Camera1.setObjectName("Camera1")
self.gridLayout.addWidget(self.Camera1, 0, 0, 1, 1)
self.Camera2 = QtWidgets.QLabel(self.gridLayoutWidget)
self.Camera2.setStyleSheet("")
self.Camera2.setText("")
self.Camera2.setObjectName("Camera2")
self.gridLayout.addWidget(self.Camera2, 0, 1, 1, 1)
self.Camera3 = QtWidgets.QLabel(self.gridLayoutWidget)
self.Camera3.setStyleSheet("")
self.Camera3.setText("")
self.Camera3.setObjectName("Camera3")
self.gridLayout.addWidget(self.Camera3, 1, 0, 1, 1)
self.Camera4 = QtWidgets.QLabel(self.gridLayoutWidget)
self.Camera4.setStyleSheet("")
self.Camera4.setText("")
self.Camera4.setObjectName("Camera4")
self.gridLayout.addWidget(self.Camera4, 1, 1, 1, 1)
self.label_12 = QtWidgets.QLabel(Form)
self.label_12.setGeometry(QtCore.QRect(210, 30, 651, 52))
self.label_12.setStyleSheet("QLabel{\n"
"width: 592px;\n"
"height: 52px;\n"
"font-size: 36px;\n"
"font-family: AlibabaPuHuiTi_2_75_SemiBold;\n"
"background: #F9F9F9;\n"
"color: #4E4EF2;\n"
"line-height: 52px;\n"
"font-weight: bold;\n"
"}")
self.label_12.setObjectName("label_12")
self.label_14 = QtWidgets.QLabel(Form)
self.label_14.setGeometry(QtCore.QRect(-40, 0, 1961, 96))
self.label_14.setStyleSheet("QLabel{\n"
"width: 1920px;\n"
"height: 96px;\n"
"background: #F9F9F9;\n"
"}")
self.label_14.setText("")
self.label_14.setObjectName("label_14")
self.label_11 = QtWidgets.QLabel(Form)
self.label_11.setGeometry(QtCore.QRect(0, 0, 211, 121))
self.label_11.setStyleSheet("QLabel{\n"
"width: 212px;\n"
"height: 112px;\n"
"background: linear-gradient(270deg, #5453FF 0%, #553BD2 100%);\n"
"}")
self.label_11.setText("")
self.label_11.setPixmap(QtGui.QPixmap(":/1/source/first/1.PNG"))
self.label_11.setScaledContents(True)
self.label_11.setObjectName("label_11")
self.label_13 = QtWidgets.QLabel(Form)
self.label_13.setGeometry(QtCore.QRect(0, 10, 181, 81))
self.label_13.setText("")
self.label_13.setPixmap(QtGui.QPixmap(":/1/source/first/PP.PNG"))
self.label_13.setScaledContents(True)
self.label_13.setObjectName("label_13")
self.widget_18 = QtWidgets.QWidget(Form)
self.widget_18.setGeometry(QtCore.QRect(1680, 250, 159, 113))
self.widget_18.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_18.setObjectName("widget_18")
self.label_51 = QtWidgets.QLabel(self.widget_18)
self.label_51.setGeometry(QtCore.QRect(60, 40, 48, 48))
self.label_51.setText("")
self.label_51.setPixmap(QtGui.QPixmap(":/1/source/first/icon/轨迹跟踪.png"))
self.label_51.setObjectName("label_51")
self.label_61 = QtWidgets.QLabel(self.widget_18)
self.label_61.setGeometry(QtCore.QRect(20, 90, 120, 22))
self.label_61.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_61.setObjectName("label_61")
self.widget_23 = QtWidgets.QWidget(Form)
self.widget_23.setGeometry(QtCore.QRect(1680, 580, 159, 112))
self.widget_23.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_23.setObjectName("widget_23")
self.label_76 = QtWidgets.QLabel(self.widget_23)
self.label_76.setGeometry(QtCore.QRect(60, 40, 71, 48))
self.label_76.setText("")
self.label_76.setPixmap(QtGui.QPixmap(":/1/source/first/icon/人流量统计.png"))
self.label_76.setObjectName("label_76")
self.label_77 = QtWidgets.QLabel(self.widget_23)
self.label_77.setGeometry(QtCore.QRect(30, 90, 101, 22))
self.label_77.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_77.setObjectName("label_77")
self.widget_19 = QtWidgets.QWidget(Form)
self.widget_19.setGeometry(QtCore.QRect(1680, 360, 159, 112))
self.widget_19.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_19.setObjectName("widget_19")
self.label_68 = QtWidgets.QLabel(self.widget_19)
self.label_68.setGeometry(QtCore.QRect(60, 40, 48, 48))
self.label_68.setText("")
self.label_68.setPixmap(QtGui.QPixmap(":/1/source/first/icon/车流量统计.png"))
self.label_68.setObjectName("label_68")
self.label_69 = QtWidgets.QLabel(self.widget_19)
self.label_69.setGeometry(QtCore.QRect(20, 90, 120, 22))
self.label_69.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_69.setObjectName("label_69")
self.widget_22 = QtWidgets.QWidget(Form)
self.widget_22.setGeometry(QtCore.QRect(1680, 800, 161, 121))
self.widget_22.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_22.setObjectName("widget_22")
self.label_74 = QtWidgets.QLabel(self.widget_22)
self.label_74.setGeometry(QtCore.QRect(60, 40, 48, 48))
self.label_74.setText("")
self.label_74.setPixmap(QtGui.QPixmap(":/1/source/first/icon/单镜头.png"))
self.label_74.setObjectName("label_74")
self.label_75 = QtWidgets.QLabel(self.widget_22)
self.label_75.setGeometry(QtCore.QRect(20, 90, 141, 22))
self.label_75.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_75.setObjectName("label_75")
self.widget_17 = QtWidgets.QWidget(Form)
self.widget_17.setGeometry(QtCore.QRect(1680, 140, 159, 112))
self.widget_17.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_17.setObjectName("widget_17")
self.label_34 = QtWidgets.QLabel(self.widget_17)
self.label_34.setGeometry(QtCore.QRect(60, 40, 48, 48))
self.label_34.setText("")
self.label_34.setPixmap(QtGui.QPixmap(":/1/source/first/icon/跨镜头.png"))
self.label_34.setObjectName("label_34")
self.label_35 = QtWidgets.QLabel(self.widget_17)
self.label_35.setGeometry(QtCore.QRect(20, 90, 120, 22))
self.label_35.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_35.setObjectName("label_35")
self.widget_20 = QtWidgets.QWidget(Form)
self.widget_20.setGeometry(QtCore.QRect(1680, 470, 159, 113))
self.widget_20.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_20.setObjectName("widget_20")
self.label_70 = QtWidgets.QLabel(self.widget_20)
self.label_70.setGeometry(QtCore.QRect(60, 40, 48, 48))
self.label_70.setText("")
self.label_70.setPixmap(QtGui.QPixmap(":/1/source/first/icon/行人车辆检测.png"))
self.label_70.setObjectName("label_70")
self.label_71 = QtWidgets.QLabel(self.widget_20)
self.label_71.setGeometry(QtCore.QRect(10, 90, 141, 22))
self.label_71.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_71.setObjectName("label_71")
self.label_78 = QtWidgets.QLabel(Form)
self.label_78.setGeometry(QtCore.QRect(1710, 100, 101, 41))
self.label_78.setStyleSheet("QLabel{\n"
"width: 96px;\n"
"height: 36px;\n"
"font-size: 24px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #333333;\n"
"line-height: 36px;\n"
"font-weight:bold;\n"
"}")
self.label_78.setObjectName("label_78")
self.widget_21 = QtWidgets.QWidget(Form)
self.widget_21.setGeometry(QtCore.QRect(1680, 690, 159, 113))
self.widget_21.setStyleSheet("QWidget{\n"
"width: 180px;\n"
"height: 166px;\n"
"background: rgb(255, 255, 255);\n"
"}")
self.widget_21.setObjectName("widget_21")
self.label_72 = QtWidgets.QLabel(self.widget_21)
self.label_72.setGeometry(QtCore.QRect(60, 40, 71, 48))
self.label_72.setText("")
self.label_72.setPixmap(QtGui.QPixmap(":/1/source/first/small.PNG"))
self.label_72.setObjectName("label_72")
self.label_73 = QtWidgets.QLabel(self.widget_21)
self.label_73.setGeometry(QtCore.QRect(30, 90, 101, 22))
self.label_73.setStyleSheet("QLabel{\n"
"width: 120px;\n"
"height: 22px;\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #666666;\n"
"line-height: 22px;\n"
"font-weight: bold;\n"
"}")
self.label_73.setObjectName("label_73")
self.label_15 = QtWidgets.QLabel(Form)
self.label_15.setGeometry(QtCore.QRect(210, 30, 651, 52))
self.label_15.setStyleSheet("QLabel{\n"
"width: 592px;\n"
"height: 52px;\n"
"font-size: 36px;\n"
"font-family: AlibabaPuHuiTi_2_75_SemiBold;\n"
"background: #F9F9F9;\n"
"color: #4E4EF2;\n"
"line-height: 52px;\n"
"font-weight: bold;\n"
"}")
self.label_15.setObjectName("label_15")
self.listWidget = QtWidgets.QListWidget(Form)
self.listWidget.setGeometry(QtCore.QRect(20, 170, 141, 751))
self.listWidget.setStyleSheet("")
self.listWidget.setObjectName("listWidget")
self.search_camera = QtWidgets.QPushButton(Form)
self.search_camera.setGeometry(QtCore.QRect(20, 120, 141, 41))
self.search_camera.setStyleSheet("QPushButton{\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #FFFFFF; \n"
"line-height: 26px;\n"
"\n"
"width: 120px;\n"
"height: 44px;\n"
"background: #409eff;\n"
"border-radius: 4px;\n"
"font-weight: bold;\n"
"}\n"
"\n"
"QPushButton:hover{\n"
"width: 120px;\n"
"height: 44px;\n"
"background: #408eff;\n"
"border-radius: 4px;\n"
"opacity: 0.8;\n"
"\n"
"font-size: 18px;\n"
"font-family: AlibabaPuHuiTi_2_65_Medium;\n"
"color: #FFFFFF; \n"
"line-height: 26px;\n"
"font-weight: bold;\n"
"}")
self.search_camera.setObjectName("search_camera")
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Form"))
self.label_12.setText(_translate("Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'AlibabaPuHuiTi_2_75_SemiBold\'; font-size:36px; font-weight:600; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:22pt; color:#409eff;\">人群计数/景区管理系统</span></p></body></html>"))
self.label_61.setText(_translate("Form", "<html><head/><body><p align=\"center\"><span style=\" font-size:11pt;\">行人追踪</span></p></body></html>"))
self.label_77.setText(_translate("Form", "<html><head/><body><p align=\"center\">群众冲突</p></body></html>"))
self.label_69.setText(_translate("Form", "<html><head/><body><p align=\"center\"><span style=\" font-size:11pt;\">摔倒监测</span></p></body></html>"))
self.label_75.setText(_translate("Form", "<html><head/><body><p align=\"center\">游客属性分析</p></body></html>"))
self.label_35.setText(_translate("Form", "<html><head/><body><p align=\"center\">人群计数</p></body></html>"))
self.label_71.setText(_translate("Form", "<html><head/><body><p align=\"center\">危险区域监测</p></body></html>"))
self.label_78.setText(_translate("Form", "<html><head/><body><p align=\"center\"><span style=\" font-size:14pt;\">功能列表</span></p></body></html>"))
self.label_73.setText(_translate("Form", "<html><head/><body><p align=\"center\">火灾监测</p></body></html>"))
self.label_15.setText(_translate("Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'AlibabaPuHuiTi_2_75_SemiBold\'; font-size:36px; font-weight:600; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:22pt; color:#409eff;\">人群计数/景区管理系统</span></p></body></html>"))
self.search_camera.setText(_translate("Form", "搜索摄像头"))
import firstSource_rc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化