spidermanYT 1 năm trước cách đây
mục cha
commit
62f3af03c9

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3 - 3
day03/Day03卷积.ipynb


+ 13 - 0
day03/codes/ex_qt01.py

@@ -0,0 +1,13 @@
+from PyQt5.QtWidgets import QApplication
+from PyQt5.QtWidgets import QDialog
+#创建Qt应用
+app =QApplication([])#参数 命令行参数
+dlg =QDialog()
+dlg.resize(1000,1000)
+dlg.move(100,100)
+dlg.setWindowTitle("我的窗体")
+btn = QPushButton
+btn.resize(100,36)
+bth.move(200,200)
+dlg.show()
+app.exec()

+ 5 - 0
day03/codes/notes.txt

@@ -0,0 +1,5 @@
+
+创建对话框
+在窗体添加按钮,文本框,标签
+程序开发结构(模式)
+main.py #界面设计

+ 0 - 0
day04/monitor/main.py


+ 69 - 0
day04/monitor/ui/monitor.ui

@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Dialog</class>
+ <widget class="QDialog" name="Dialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>300</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>智能交通监控系统</string>
+  </property>
+  <widget class="QLabel" name="label">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>50</y>
+     <width>111</width>
+     <height>111</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border-width:4px;
+border-style:solid;
+border-radius:10px;
+border-top-color:green;
+border-bottom-color:pink;
+border-left-color:gold;
+border-right-color:brown;
+
+</string>
+   </property>
+   <property name="text">
+    <string>视频显示区</string>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="pushButton">
+   <property name="geometry">
+    <rect>
+     <x>30</x>
+     <y>230</y>
+     <width>75</width>
+     <height>23</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border-width:2px;
+border-style:solid;
+border-randius:10px;
+border-top-color:#ffffff;
+border-left-color:#ffffff;
+border-bottom-color:#bbbbbb;
+border-right-color:#bbbbbb
+
+
+
+</string>
+   </property>
+   <property name="text">
+    <string>处理视频</string>
+   </property>
+  </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>

+ 52 - 0
day04/monitor/ui/monitor_ui.py

@@ -0,0 +1,52 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'monitor.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_Dialog(object):
+    def setupUi(self, Dialog):
+        Dialog.setObjectName("Dialog")
+        Dialog.resize(400, 300)
+        self.label = QtWidgets.QLabel(Dialog)
+        self.label.setGeometry(QtCore.QRect(20, 50, 111, 111))
+        self.label.setStyleSheet("border-width:4px;\n"
+"border-style:solid;\n"
+"border-radius:10px;\n"
+"border-top-color:green;\n"
+"border-bottom-color:pink;\n"
+"border-left-color:gold;\n"
+"border-right-color:brown;\n"
+"\n"
+"")
+        self.label.setObjectName("label")
+        self.pushButton = QtWidgets.QPushButton(Dialog)
+        self.pushButton.setGeometry(QtCore.QRect(30, 230, 75, 23))
+        self.pushButton.setStyleSheet("border-width:2px;\n"
+"border-style:solid;\n"
+"border-randius:10px;\n"
+"border-top-color:#ffffff;\n"
+"border-left-color:#ffffff;\n"
+"border-bottom-color:#bbbbbb;\n"
+"border-right-color:#bbbbbb\n"
+"\n"
+"\n"
+"\n"
+"")
+        self.pushButton.setObjectName("pushButton")
+
+        self.retranslateUi(Dialog)
+        QtCore.QMetaObject.connectSlotsByName(Dialog)
+
+    def retranslateUi(self, Dialog):
+        _translate = QtCore.QCoreApplication.translate
+        Dialog.setWindowTitle(_translate("Dialog", "智能交通监控系统"))
+        self.label.setText(_translate("Dialog", "视频显示区"))
+        self.pushButton.setText(_translate("Dialog", "处理视频"))

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác