[PyQt] KHTMLPart mouse events

Christoph Burgmer chrislb at gmx.de
Fri Jan 9 16:50:07 GMT 2009

Jim, Simon, I hope you can help me.

I am trying to track a user's MidButton mouse click to track "paste" actions.

It seems that
khtmlMousePressEvent (khtml::MousePressEvent* event)
is the right place to do that, but the sip-file does not have those mouse event 
methods, they are commented out.

Can that be changed in a later version? Is there a reason for them not being 
activated? The KHTMLPart itself does the MidButton action in these methods[1].


[1] http://api.kde.org/4.x-api/kdelibs-apidocs/khtml/html/khtml__part_8cpp-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090109/edad9858/attachment.html

More information about the PyQt mailing list