资源简介


资源截图

代码片段和文件信息

# 逻辑文件

import re
import sys
import binascii
import time
from PyQt5.QtCore import QTimer QUrl
from PyQt5.QtWidgets import *
from PyQt5.QtSerialPort import QSerialPort QSerialPortInfo
from PyQt5.QtWidgets import QApplication QMainWindow
from PyQt5.QtWebEngineWidgets import *
from Ui_SerialPort import Ui_Form
from PyQt5.QtCore import QDate

class MyMainWindow(QMainWindow Ui_Form):
    def __init__(self parent=None):
        super(MyMainWindow self).__init__(parent)
        self.setupUi(self)
        # 设置实例
        self.CreateItems()
        # 设置信号与槽
        self.CreateSignalSlot()
        
    # 设置实例 
    def CreateItems(self):
        # Qt 串口类
        self.com = QSerialPort()
        # Qt 定时器类
        self.timer = QTimer(self) #初始化一个定时器
        self.timer.

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\
     文件          55  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\CMD_Pyinstaller.txt
     文件        6340  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\Call_Ui_SerialPort.py
     文件        1062  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\LICENSE
     文件        1414  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\README.md
     文件       11364  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\SerialPort.ui
     文件       11418  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\Ui_SerialPort.py
     文件       19518  2019-02-21 02:16  PyQt5-SerialPort-Stable-master\man.ico

评论

共有 条评论