Qt Code:
  1. item->scene()->sceneRect().contains(item->scenePos())
To copy to clipboard, switch view to plain text mode