#-*-coding:utf-8-*-fromPyQt4.QtGuiimport*fromPyQt4.QtCoreimport*importsysQTextCodec.setCodecForTr(QTextCodec.codecForName("utf8"))classPalette(QDialog...
分类:
其他好文 时间:
2014-10-04 19:10:37
阅读次数:
299
#-*-coding:cp936-*-#!/usr/bin/envpython#-*-coding:utf-8-*-fromPyQt4importQtCore,QtGuiclassWindow(QtGui.QMainWindow):def__init__(self):super(Window,sel...
分类:
其他好文 时间:
2014-10-04 18:35:57
阅读次数:
184
fromPyQt4importQtGuifromPyQt4importQtCorefromPyQt4.QtCoreimport(QDate,QFile,QFileInfo,QIODevice,QString,QStringList,QDir,QTextStream,Qt,SIGNAL)if__nam...
分类:
其他好文 时间:
2014-10-04 17:17:36
阅读次数:
288
#-*-coding:cp936-*-fromPyQt4.QtCoreimport*fromPyQt4.QtGuiimport*classInlineEditor(QWidget):_MUTE='MUTE'def__init__(self,parent):QWidget.__init__(self,...
分类:
其他好文 时间:
2014-10-04 17:17:26
阅读次数:
184
#_*_coding:utf-8_*_fromPyQt4.QtCoreimport*fromPyQt4.QtGuiimport*importsysQTextCodec.setCodecForTr(QTextCodec.codecForName("utf8"))classFindDialog(QDia...
分类:
其他好文 时间:
2014-10-04 17:16:06
阅读次数:
1984
#!/usr/bin/python#-*-coding:utf-8-*-#sender.pyimportsysfromPyQt4importQtGui,QtCoreclassExample(QtGui.QMainWindow):def__init__(self):super(Example,self...
分类:
其他好文 时间:
2014-10-04 17:15:36
阅读次数:
794
#-*-coding:cp936-*-#-*-coding:cp936-*-importsysfromPyQt4importQtCore,QtGui#导入模块app=QtGui.QApplication(sys.argv)#创建一个application对象Python脚本可以通过shell运行,这...
分类:
其他好文 时间:
2014-10-04 17:12:56
阅读次数:
1785
defbz(self):self.lable1=QtGui.QLabel(u'帮助说明'u'联系专区'u'另类高级说明'u'本地文档说明(是为未连接internet用户准备的)')self.lable1.setWindowTitle(u'帮助与支持')self.lable1.resize(100,1...
分类:
其他好文 时间:
2014-10-04 16:54:46
阅读次数:
177
PyQt在Windows+Visual Studio下安装所需文件如下:python-2.7.3.msi(www.python.org/download)sip-4.14.2.zip(www.riverbankcomputing.co.uk/software/sip/download)PyQt-Py...
分类:
其他好文 时间:
2014-10-04 08:52:56
阅读次数:
232
# 便签软件 ## 为什么写便签软件 > - 一直都有做一个笔记软件的想法,而我给笔记软件设计的一个特色功能就是它的便签功能。不过由于各种原因,笔记软件无法完成,但是他的便签功能也可以脱离笔记单独存在。不过功...
分类:
其他好文 时间:
2014-09-25 03:26:18
阅读次数:
381