I have two types of QGraphicsItems in my graphics scene: GraphicNodes (with rectangle-, ellipse- and diamond-shaped implementations) and GraphicArcs (arrows that currently lack an arrow head). When I use QGraphicsScene::itemAt to get the topmost object at a certain position, I want the GraphicArcs to be ignored.
itemat.png
In other words, I want to use itemAt as if there were no GraphicArcs on the scene, therefore returning the topmost GraphicNode at that position (if any). Is this possible?
Bookmarks