Hello Community,

I have a grid set up in a QGraphicsView with some lines drawn. Now when I draw rectangles on it and I just want to check for collisions between the rectangles but QGraphicsItem::collidingItems, which I subclassed also returns the collisions between the Lines and the Rectangles. Is there any way around that?

Thanks
Alex