Quote Originally Posted by wysota View Post
If you ignore() the event in the item, it will propagate to other items and then to the scene and then to the view. Another solution is to install an event filter on the item - then the scene will get the event before the item does.
hi, wysota,Thank you very much!
i want to tell you that I haven't use any ignore() in my item class before.

I know what you mean. now my thought is : First, if i don't press mouse left button, then the mouseMoveEvent must be passed to qGraphicsView class, if i press mouse left button,
i should pass the mousemoveevent to the qgraphicsItem class. And should i install an event filter on the qGraphicsItem class or on the qGraphicsView class?
And how to do this?

Wish you reply again! Thank you!