[PyKDE] Canvasview.setMouseTracking and mouseMoveEvent

Karl myonlyb at gmx.net
Wed Jun 26 20:03:01 BST 2002


Hi!

In the documentation it says that I can swith setMouseTracking to TRUE to 
get Events whenever the mouse is moved over the canvasView.
I do the following:

canvasView.setMouseTracking(1)

def contentsMouseMoveEvent(self, ev):
	print "hallo"

but the method is not called when mouse is moved without any button 
pressed. It works, when I press the mouse button, but that is not what I need.

  Any ideas?
  tnx
   Karl




More information about the PyQt mailing list