unknown 1 år sedan
förälder
incheckning
561b83a79e
1 ändrade filer med 4 tillägg och 15 borttagningar
  1. 4 15
      day05/Aiapp/ui/traffic_ui.py

+ 4 - 15
day05/Aiapp/ui/traffic_ui.py

@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 
-# Form implementation generated from reading ui file '.\traffic.ui'
+# Form implementation generated from reading ui file 'traffic.ui'
 #
 # Created by: PyQt5 UI code generator 5.15.9
 #
@@ -16,25 +16,16 @@ class Ui_Dialog(object):
         Dialog.setObjectName("Dialog")
         Dialog.resize(625, 389)
         self.btnCapture = QtWidgets.QLabel(Dialog)
-        self.btnCapture.setGeometry(QtCore.QRect(50, 60, 300, 300))
-        self.btnCapture.setStyleSheet("border-width:10px;\n"
+        self.btnCapture.setGeometry(QtCore.QRect(60, 60, 231, 141))
+        self.btnCapture.setStyleSheet("border-width:1px;\n"
 "border-color:pink;\n"
 "border-style:solid;\n"
 "\n"
 "")
         self.btnCapture.setObjectName("btnCapture")
         self.pushButton = QtWidgets.QPushButton(Dialog)
-        self.pushButton.setGeometry(QtCore.QRect(460, 250, 141, 71))
-        self.pushButton.setStyleSheet("border-width:10px;\n"
-"border-color:pink;\n"
-"border-style:solid;")
+        self.pushButton.setGeometry(QtCore.QRect(380, 250, 141, 71))
         self.pushButton.setObjectName("pushButton")
-        self.label = QtWidgets.QLabel(Dialog)
-        self.label.setGeometry(QtCore.QRect(220, 20, 171, 16))
-        self.label.setObjectName("label")
-        self.label_2 = QtWidgets.QLabel(Dialog)
-        self.label_2.setGeometry(QtCore.QRect(460, 210, 72, 15))
-        self.label_2.setObjectName("label_2")
 
         self.retranslateUi(Dialog)
         QtCore.QMetaObject.connectSlotsByName(Dialog)
@@ -44,5 +35,3 @@ class Ui_Dialog(object):
         Dialog.setWindowTitle(_translate("Dialog", "智能交通监测系统"))
         self.btnCapture.setText(_translate("Dialog", "视频显示区"))
         self.pushButton.setText(_translate("Dialog", "抓取图像"))
-        self.label.setText(_translate("Dialog", "智能交通检测系统"))
-        self.label_2.setText(_translate("Dialog", "识别信息"))