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:
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:
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