09 2016 档案
摘要:照着demo自己做了一遍,练练手 import sys from PyQt4 import QtGui from PyQt4 import QtCore class SysTray(QtGui.QDialog): def __init__(self, parent=None): super(SysT
阅读全文
摘要:建立了一个MainWindow,创建最基本的菜单栏、状态栏、工具栏,并重新定义了“X”关闭的默认行为。 # -*- coding: utf-8 -*- import sys from PyQt4 import QtGui from PyQt4 import QtCore class Icon(QtG
阅读全文
摘要:#coding=utf-8 import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class FontPropertiesDlg(QDialog): #初始化 def __init__(self,parent=None): #
阅读全文