|
@@ -0,0 +1,107 @@
|
|
|
+# -*- 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(975, 553)
|
|
|
+ Traffic.setStyleSheet("")
|
|
|
+ self.lblVideo = QtWidgets.QLabel(Traffic)
|
|
|
+ self.lblVideo.setGeometry(QtCore.QRect(30, 100, 481, 321))
|
|
|
+ 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(140, 30, 231, 41))
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setFamily("楷体")
|
|
|
+ font.setPointSize(20)
|
|
|
+ font.setBold(False)
|
|
|
+ font.setItalic(False)
|
|
|
+ font.setWeight(50)
|
|
|
+ self.label.setFont(font)
|
|
|
+ self.label.setStyleSheet("font: 22pt \"楷体\";\n"
|
|
|
+"font: 20pt \"楷体\";")
|
|
|
+ self.label.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
+ self.label.setObjectName("label")
|
|
|
+ self.line = QtWidgets.QFrame(Traffic)
|
|
|
+ self.line.setGeometry(QtCore.QRect(20, 40, 121, 20))
|
|
|
+ self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
|
|
+ self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
|
+ self.line.setObjectName("line")
|
|
|
+ self.groupBox = QtWidgets.QGroupBox(Traffic)
|
|
|
+ self.groupBox.setGeometry(QtCore.QRect(20, 90, 501, 341))
|
|
|
+ self.groupBox.setStyleSheet("border-width:8px;\n"
|
|
|
+"border-style:solid;\n"
|
|
|
+"border-radius:10px;\n"
|
|
|
+"border-top-color:yellow;\n"
|
|
|
+"border-left-color:pink;\n"
|
|
|
+"border-bottom-color:orange;\n"
|
|
|
+"border-right-color:red;\n"
|
|
|
+"")
|
|
|
+ self.groupBox.setTitle("")
|
|
|
+ self.groupBox.setObjectName("groupBox")
|
|
|
+ self.line_2 = QtWidgets.QFrame(Traffic)
|
|
|
+ self.line_2.setGeometry(QtCore.QRect(370, 40, 141, 20))
|
|
|
+ self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
|
|
|
+ self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
|
+ self.line_2.setObjectName("line_2")
|
|
|
+ self.groupBox_2 = QtWidgets.QGroupBox(Traffic)
|
|
|
+ self.groupBox_2.setGeometry(QtCore.QRect(530, 60, 351, 191))
|
|
|
+ self.groupBox_2.setStyleSheet("border-width:2px;\n"
|
|
|
+"border-style:solid;\n"
|
|
|
+"border-radius:10px;\n"
|
|
|
+"border-top-color:#ffffff;\n"
|
|
|
+"border-left-color:#ffffff;\n"
|
|
|
+"border-bottom-color:#bbbbbb;\n"
|
|
|
+"border-right-color:#bbbbbb;\n"
|
|
|
+"font: 12pt \"楷体\";\n"
|
|
|
+"")
|
|
|
+ self.groupBox_2.setObjectName("groupBox_2")
|
|
|
+ self.lblInfo = QtWidgets.QLabel(self.groupBox_2)
|
|
|
+ self.lblInfo.setGeometry(QtCore.QRect(10, 30, 321, 131))
|
|
|
+ self.lblInfo.setStyleSheet("border-width:3px;\n"
|
|
|
+"font: 12pt \"楷体\";\n"
|
|
|
+"border-style:dotted;\n"
|
|
|
+"boder-color:blue;")
|
|
|
+ self.lblInfo.setObjectName("lblInfo")
|
|
|
+ self.label_2 = QtWidgets.QLabel(Traffic)
|
|
|
+ self.label_2.setGeometry(QtCore.QRect(580, 300, 271, 91))
|
|
|
+ self.label_2.setStyleSheet("border-width:2px;\n"
|
|
|
+"font: 11pt \"楷体\";\n"
|
|
|
+"border-style:solid;\n"
|
|
|
+"border-radius:10px;\n"
|
|
|
+"border-top-color:#ffffff;\n"
|
|
|
+"border-left-color:#ffffff;\n"
|
|
|
+"border-bottom-color:#bbbbbb;\n"
|
|
|
+"border-right-color:#bbbbbb;\n"
|
|
|
+"")
|
|
|
+ self.label_2.setObjectName("label_2")
|
|
|
+
|
|
|
+ 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", "<html><head/><body><p>智能猜拳裁判系统</p></body></html>"))
|
|
|
+ self.groupBox_2.setTitle(_translate("Traffic", "识别信息:"))
|
|
|
+ self.lblInfo.setText(_translate("Traffic", "显示信息:"))
|
|
|
+ self.label_2.setText(_translate("Traffic", "<html><head/><body><p>猜拳游戏操作方便猜拳游戏操作方便,</p><p>贴近于生活,</p><p>能很好地满足玩家的好奇心和竞争性。</p><p><br/></p><p><br/></p></body></html>"))
|