[PyQt] QSizeGrip does not work
Giovanni Bajo
rasky at develer.com
Tue Aug 7 11:30:47 BST 2007
On 8/7/2007 12:24 PM, Giovanni Bajo wrote:
> 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).
Typo: I meant "QSizeGrip::winEvent".
--
Giovanni Bajo
More information about the PyQt
mailing list