[PyKDE] PyQT, QMainWindow and OpenGL
Gordon Tyler
gordon at doxxx.net
Wed Sep 22 15:49:12 BST 2004
dunk wrote:
> i have generated a file with pyuic and its all great. the main content
> of the window is open gl. before the opengl widget works perfectly
> outside the form i have generated. the trouble is that running inside
> the form it only receives mouse movement events when a button is
> pressed! no good :) i tried overriding the function mouseMoveEvent in my
> generated form but it doesnt seem to get called.
> Is there any way to get these events from the form?
Try setting the mouseTracking property to true.
Ciao,
Gordon
More information about the PyQt
mailing list