[PyQt] mousePressEvent not getting called

2008-01-17 Thread Quoc Tran
I’m having a weird problem with using my custom Qt widget in PyQt. I created a custom QFrame in C++ and overrided: virtual void mousePressEvent( QMouseEvent * ); When I use my widget in python the mousePressEvent is never called but if I derive off of my custom class in PyQt and override

[PyQt] problem using SIP on Windows Vista 64 bit

2008-01-07 Thread Quoc Tran
Hi, I am using PyQt on Vista 64 bit. I managed to successfully compile Python2.5, Qt4.3.3, SIP4.7.3 and PyQt4.3.3 using MSVC2005. Everything works great so far and now I'm trying to use SIP to create PyQt extensions and am running into problems. I can successfully use SIP to create a non Qt C+