If you mean you are moving a line item and want to check whether it currently insects with a rectangle item, see QGraphicsItem::collidesWith and QGraphicsScene::collidingItems.
Cheers,
_
If you mean you are moving a line item and want to check whether it currently insects with a rectangle item, see QGraphicsItem::collidesWith and QGraphicsScene::collidingItems.
Cheers,
_
Bookmarks