[PyQt] mousePressEvent not getting called
g7quoc at hotmail.com
Thu Jan 17 19:14:53 GMT 2008
I’m having a weird problem with using my custom Qt widget in
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
the mousePressEvent it will get called.
print "mouse event"
Any ideas what I’m doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt