I want to get mouse cursor position instantaneously on a widget which is in a graphicsproxywidget; but the mouseMoveEvent is not being called anytime. I put a qDebug inside the event, nothing is written on the console when i run the application. I reimplemented the event in the proxywidget class' definition.

Qt Code:
  1. void panelProxy::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
  2. {
  3. qDebug("mousevent");
  4. }
To copy to clipboard, switch view to plain text mode 

What may be the problem?