
Python/PyQT
sofire
I Love C Only.
展开
-
用Pyinstaller编译后的一个错误处理备忘
用pyrcode写了一个二维码的简单生成程序。http://pyqrcode.sourceforge.net/ def img(): baseimg = Image.open(u'15mm.jpg') qrimg = Image.open(u'qrcode_img.jpg') pt = (5, 5) baseimg.paste(qrimg...原创 2013-02-10 20:28:06 · 329 阅读 · 0 评论 -
Python、Pyqt的多线程学习笔记、备忘
先列个提纲。 子线程如果抛出错误了,并不能在终端显示出来。我开始以为是程序不能那样写,就各种改,后来才发现是这样一个问题。原创 2013-02-10 20:30:39 · 147 阅读 · 0 评论 -
New-style Signal and Slot 学习笔记[转]
来源:http://blog.youkuaiyun.com/hlqyq/article/details/6713828注意,原文有些错误 1、信号定义通过类成员变量定义信号对象,如:class MyWidget(QWidget): Signal_NoParameters = PyQt4.QtCore.pyqtSignal() ...原创 2013-02-11 12:20:29 · 218 阅读 · 0 评论 -
《Old-style Signal and Slot Support》文档的测试程序
《Old-style Signal and Slot Support》文档的测试程序 #!/usr/bin/env python#coding:utf8__version__ = "1.0""""《Old-style Signal and Slot Support》文档的测试程序 - sofire@gmail.com @2013.02.11http://...2013-02-11 19:13:49 · 138 阅读 · 0 评论 -
New-style Signal and Slot Support 简单注释
New-style Signal and Slot SupportThis section describes the new style of connecting signals and slots introduced in PyQt4 v4.5.One of the key features of Qt is its use of signals and slots to co...原创 2013-02-11 22:53:51 · 221 阅读 · 0 评论