I ask you for help because I could not find a way to select the red part of the image attached in a QGraphicsItem so that it can interact with other QGraphicsItems that I create.
The image will look like this:
![Make QGraphicsItem interact with an image Image10](https://i.servimg.com/u/f56/20/39/44/85/image10.png)
I wish I could find the intersection of the items I insert with the red part of the image.
QPainterPath intersectedPath = item1->shape()->intersected(item_red->shape());
Thanks for your help.
Greetings
The image will look like this:
![Make QGraphicsItem interact with an image Image10](https://i.servimg.com/u/f56/20/39/44/85/image10.png)
I wish I could find the intersection of the items I insert with the red part of the image.
QPainterPath intersectedPath = item1->shape()->intersected(item_red->shape());
Thanks for your help.
Greetings