# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'traffic.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_Traffic(object): def setupUi(self, Traffic): Traffic.setObjectName("Traffic") Traffic.resize(961, 643) self.lblVideo = QtWidgets.QLabel(Traffic) self.lblVideo.setGeometry(QtCore.QRect(30, 80, 640, 480)) self.lblVideo.setStyleSheet("border-width:1px;\n" "border-style:solid;\n" "border-color:#FF0000;\n" "border-radius:10px;") self.lblVideo.setObjectName("lblVideo") self.btnCapture = QtWidgets.QPushButton(Traffic) self.btnCapture.setGeometry(QtCore.QRect(310, 580, 75, 31)) self.btnCapture.setObjectName("btnCapture") self.label = QtWidgets.QLabel(Traffic) self.label.setGeometry(QtCore.QRect(230, 30, 261, 31)) font = QtGui.QFont() font.setPointSize(24) font.setBold(True) self.label.setFont(font) self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName("label") self.label_2 = QtWidgets.QLabel(Traffic) self.label_2.setGeometry(QtCore.QRect(733, 230, 81, 20)) self.label_2.setObjectName("label_2") self.lblInfo = QtWidgets.QLabel(Traffic) self.lblInfo.setGeometry(QtCore.QRect(700, 270, 171, 141)) self.lblInfo.setStyleSheet("border-width:1px;\n" "border-style:dotted;\n" "border-color:blue;") self.lblInfo.setObjectName("lblInfo") self.retranslateUi(Traffic) QtCore.QMetaObject.connectSlotsByName(Traffic) def retranslateUi(self, Traffic): _translate = QtCore.QCoreApplication.translate Traffic.setWindowTitle(_translate("Traffic", "智能交通监控系统")) self.lblVideo.setText(_translate("Traffic", "TextLabel")) self.btnCapture.setText(_translate("Traffic", "抓取图像")) self.label.setText(_translate("Traffic", "智能交通监控系统")) self.label_2.setText(_translate("Traffic", "识别信息:")) self.lblInfo.setText(_translate("Traffic", "显示信息"))