QGraphicsItem: How to get graphicsitem id?
Unsolved
General and Desktop
-
Hello Everyone,
I want to identify two graphics item. I want to know there id, How to get item-id??
Many Thanks,
-
Hi
you could use
http://doc.qt.io/qt-5.5/qgraphicsitem.html#setData
to insert a TAG/ID of you own.Then use data() to read to and check if the correct TAG/ID