随笔分类 -  pyqt

python GUI
摘要:多个界面跳转 阅读全文
posted @ 2018-10-17 12:12 m*x*h 阅读(3460) 评论(0) 推荐(0)
摘要:今天在做pyqt5的多页面跳转时遇到问题,一点击button按钮,程序会崩溃。在网上查了下,应该是当窗口A调用窗口B的时候,两个窗口不能是同一类型。我写的时候把A、B同时写成了QWidget。把窗口B改成Dialog类型后,就可以成功调用了;如果想关联更多窗口,方法相似即可。 大概的模板如下: cl 阅读全文
posted @ 2018-09-04 18:00 m*x*h 阅读(1860) 评论(0) 推荐(0)
摘要:CMD下使用pip安装PyQt4或者PYQT5 这里要注意,你下载的PYQT5不包含QT designer 还要:pip3 install PyQt5-tools,好像Pyqt5中将designer分离了或者查看源码:https://github.com/altendky/pyqt5-tools,编 阅读全文
posted @ 2018-08-28 19:19 m*x*h 阅读(3591) 评论(0) 推荐(1)
摘要:官方文档: http://pyqt.sourceforge.net/Docs/PyQt4/classes.html 啄木鸟社区:https://wiki.woodpecker.org.cn/moin/The_PyQt4_tutorial PyQt教程:http://www.qaulau.com/bo 阅读全文
posted @ 2018-08-28 18:21 m*x*h 阅读(144) 评论(0) 推荐(0)
摘要:http://zetcode.com/gui/pyqt5/ http://www.thehackeruniversity.com/2014/01/23/pyqt5-beginner-tutorial/ http://www.thehackeruniversity.com/2014/01/26/pyq 阅读全文
posted @ 2018-08-28 18:20 m*x*h 阅读(365) 评论(0) 推荐(0)