Hi,
I've a problem with mouseMoveEvet reimplementation. I've a class called myMainWindow witch inherit from QWidget and I reimplement it's mouseMoveEvent to know every time the position of the mouse on the screen. I set for it's istance the setMouseTracking(true).
The myMainWindow mainWindow istance has 3 child ( each has several widget inside) in a grid layout so my mouseMoveEvet don't work. It works only in the space between two child. I think that the solution is to set setMouseTracking for all the widgets on the screen but it requires a lot of work.
Is there a way to say to all child of mainWindow to tracking the mouse move event?
Bookmarks