I have fixed the problem. The reason was that I implemented my own GrpahicsView and I had implemented the mouse events in my GraphicsView too.
It works perfect as soon as I remove the mouse events from MyGraphicsView.
Thanks for your answers.