hi, > > if some widget has the setMouseTracking set to true, the event > mouseMoveEvent is detected only when a clicked is perfomed. > > This doesn't sound right, enabling the mouse tracking causes mouse move > events to be dispatched to the widget without the need to have a mouse > click (provided the mouse is hovering over the widget, if not, mouse > tracking doesn't do you any good). yes it's doesn't sound right,that's why I try to figure what's going on. You can easily find some topics about that problem on internet.
> > > I set the SetMouseTracking to true when the mouse enters the widget, and > I set it to false when the mouse leave the widget. The reason I do that, I > read somewhere on internet (I didn't kept the link sry) that only one > widget at a time can truly have settled to true. and I > want to use it for several widgets. > > No need to do that. Just enable the mouse tracking for whichever widget you > want to receive the mouse move events. I believe you're confusing the mouse > tracking with grabbing the mouse, which is exclusive. Initially I just set several widget with setMouseTracking but it didn't worked. No, I'm not confusing between tracking and grabbing. I have no use of grabing. Regards, Nicolas _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest