Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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

    @
    mouseGrabberItem()
    @

    returns QGraphicsItem ?


Log in to reply