Hi,
I have a moving object (QGraphicsItem) on the scene. I need to detect if the item is out of scene range or not. I couldn't find a proper solution. Can anybody help?
Regards
Hi,
I have a moving object (QGraphicsItem) on the scene. I need to detect if the item is out of scene range or not. I couldn't find a proper solution. Can anybody help?
Regards
Qt Code:
item->scene()->sceneRect().contains(item->scenePos())To copy to clipboard, switch view to plain text mode
Thanks
Regards.
Bookmarks