VSCode + PYQT5 + QtDesigner

本文代码参考:https://www.cnblogs.com/huluwa508/p/10320027.html

VSCode + PYQT5 + QtDesigner 环境搭建和测试:https://www.jb51.net/article/167015.htm

结果:UI界面验证读取本地文件没问题,但是怎么让open的槽函数与run_all.Python合二为一,暂时比较头疼

运行:main.py即可开启gui界面,主程序在VideoDisplay.py

界面:先选择本地还是视频流,再open开启,close是停止当前工作

用QT Design修改DisplayUI.ui文件即可实现自定义界面,然后在VideoDisplay.py中设置功能函数,以及动作等等

VSCode + PYQT5 + QtDesigner

VSCode + PYQT5 + QtDesigner

VSCode + PYQT5 + QtDesigner