摘要: eg:# icon.pyimport sysfrom PyQt4 import QtGuiclass Icon(QtGui.QWidget): def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.setGeometry(300, 300, 250, 150) self.setWindowTitle('Icon') #窗体标题 self.setWindowIcon(QtGui.QIcon('icons/web.png')) #窗体icon self.setToolTi 阅读全文
posted @ 2011-04-18 22:30 zhoucc 阅读(237) 评论(0) 推荐(0)