void hoverEnterEvent ( QGraphicsSceneHoverEvent * event ); void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event ); void mousePressEvent ( QGraphicsSceneMouseEvent * event ); void mouseMoveEvent ( QGraphicsSceneMouseEvent * event ); void mouseReleaseEvent ( QGraphicsSceneMouseEvent * mouseEvent );
item->setAcceptsHoverEvents(true); item->setFlag(QGraphicsItem::ItemIsFocusable,true); item->setFlag(QGraphicsItem::ItemIsMovable,true);...