Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Grab Lower QGraphicsItem from multiple overlaped items on scene

Grab Lower QGraphicsItem from multiple overlaped items on scene

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 441 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashokb
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved