摘要: pip --proxy http://user:password@dc1proxy01.xxxx.com:3128 install pyqt5 阅读全文
posted @ 2021-11-04 13:41 coral_sea 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.New resource file *.qrc in QT designer Resource Browser. 2.Add picture in resource file. 3.use picture in Qlabel->pixmap 4.generated picture_rc.py f 阅读全文
posted @ 2021-06-15 10:14 coral_sea 阅读(263) 评论(0) 推荐(0) 编辑
摘要: pyinstaller -F -w -i logo.ico main.py -F 单一文件模式,只生成一个*.exe文件,启动稍慢。 -w 隐藏启动时的cmd窗口 -i *.ico 替换应用程序图标 阅读全文
posted @ 2021-05-28 11:16 coral_sea 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 构造函数: class MainWindow(QMainWindow, Ui_MainWindow): def __init__(self, parent=None): super(MainWindow, self).__init__(parent) self.setupUi(self) __ini 阅读全文
posted @ 2021-04-30 10:37 coral_sea 阅读(60) 评论(0) 推荐(0) 编辑
摘要: python 3.8.6 pip install pyqt5,可以使用QT的库。 pip install qt5-tools,可以使用QT designer工具进行ui开发。 QT designer新建MainWindow,生成MainWindow.ui文件。 python -m PyQt5.uic 阅读全文
posted @ 2021-04-26 13:43 coral_sea 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 膜拜大佬的博客园自定义博客,上链接 https://github.com/BNDong/Cnblogs-Theme-SimpleMemory/releases https://www.dbnuo.com/Cnblogs-Theme-SimpleMemory/docs/v1.1/#/Docs/Gett 阅读全文
posted @ 2021-04-20 16:59 coral_sea 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 给自己的网页添加一个访问人数计数器 https://clustrmaps.com/ 阅读全文
posted @ 2021-04-19 15:47 coral_sea 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 添加Application Component New Application Component Types New Init Runnable and 10ms period Runnable and add trigger New Implentation Data Types(New Rec 阅读全文
posted @ 2020-09-09 17:23 coral_sea 阅读(825) 评论(0) 推荐(0) 编辑
摘要: 1.CAN总线是什么? CAN(Controller Area Network)是ISO国际标准化的串行通信协议。广泛应用于汽车、船舶等。具有已经被大家认可的高性能和可靠性。 CAN控制器通过组成总线的2根线(CAN-H和CAN-L)的电位差来确定总线的电平,在任一时刻,总线上有2种电平:显性电平和 阅读全文
posted @ 2019-08-24 15:43 coral_sea 阅读(597) 评论(0) 推荐(0) 编辑
摘要: CAN CAN总线概念CAN总线协议基础 CAN总线概念 CAN(Controller Area Network),控制器局域网广... 阅读全文
posted @ 2019-08-24 15:26 coral_sea 阅读(848) 评论(0) 推荐(0) 编辑