// this method is inside a class that inherits from QGraphicsItem. it prints out the coordinates when i click on the items, but the items themselves don't move anymore, so i guess the basemethod is overwritten. void QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) { QPointF test = event->lastScenePos(); std::cout << "x: " << test.x() << " "; std::cout << "y: " << test.y() << " "; std::cout << "index: " << index << std::endl; }