[PyQt] QSizeGrip does not work

Giovanni Bajo rasky at develer.com
Tue Aug 7 11:24:54 BST 2007


Hi Phil,

it looks like QSizeGrip does not work at all in Windows. Something 
really simple like:

================================
 >>> from PyQt4.Qt import *
 >>> app = QApplication([])
 >>> mw = QMainWindow()
 >>> QSizeGrip(mw)
 >>> mw.show()
================================

can be used to verify that it does not work. I debugged it a little and 
found out that QSizeEvent::winEvent() (the C++ function) is never 
invoked. The equivalent C++ code works perfectly (and 
QSizeEvent::winEvent() is invoked for every event, like expected).

Any idea what's going on?
-- 
Giovanni Bajo



More information about the PyQt mailing list