摘要:
__author__ = 'Administrator'import sysfrom PyQt4 import QtGuiclass MessageBox(QtGui.QWidget): def __init__(self,parent=None): QtGui.QWidget... 阅读全文
posted @ 2014-06-08 21:44
yufenghou
阅读(2533)
评论(0)
推荐(0)
摘要:
__author__ = 'Administrator'import sysfrom PyQt4 import QtGuifrom PyQt4 import QtCoreclass QuitButton(QtGui.QWidget): def __init__(self,parent=None... 阅读全文
posted @ 2014-06-08 19:05
yufenghou
阅读(272)
评论(0)
推荐(0)
摘要:
import sysfrom PyQt4 import QtGuifrom PyQt4 import QtCore#Icon继承了QtGui.QWidget这个类class Icon(QtGui.QWidget): def __init__(self,parent=None): ... 阅读全文
posted @ 2014-06-08 18:55
yufenghou
阅读(262)
评论(0)
推荐(0)
摘要:
import sysfrom PyQt4 import QtGui#每一个qt都需要一个application对象app=QtGui.QApplication(sys.argv)#QWidget是qt所有用户界面的父类widget=QtGui.QWidget()widget.resize(250,1... 阅读全文
posted @ 2014-06-08 17:59
yufenghou
阅读(133)
评论(0)
推荐(0)

浙公网安备 33010602011771号