摘要:
// from pyqt_examplesfrom PyQt4 import QtCore, QtGuiclass WigglyWidget(QtGui.QWidget): def __init__(self, parent=None): super(WigglyWidget, self).__init__(parent) self.setBackgroundRole(QtGui.QPalette.Midlight) self.setAutoFillBackground(True) newFont = self.font() newFont.setPointSize(newFont.point 阅读全文
![](/skins/gray/images/separator.gif)