Grab Lower QGraphicsItem from multiple overlaped items on scene



  • Hi
    I am placing some QGraphicsItems on QGraphicsScene. Sometimes multiple items are overlapped in such a way that lower item is completely covered by rectanglle of upper item. Now if i want to delete lower item, first i need to move/delete upper one and then lower one.
    My question is, is it possible to make hole(or something like that) in rectangle of upper QGraphicsItem and grab the lower item ?

    I am using
    @
    mouseGrabberItem();
    @

    method in the scene to grab item on mouse press event.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.