Important: Please read the Qt Code of Conduct -

Get single pixmap from QGraphicsScene

  • HI,
    I am using QGraphicsScene to display multiple images. When camera captures images i just put them into scene at some random positions. Now when mouse click event on scene comes i want to get the pixmap present under mouse.

    How to get pixmap item under mouse just like


    returns QGraphicsItem ?

Log in to reply