Here is my problem and I totally want an advice, it will be helpful to me.
I want to add two items in my plot (for example two svg items). The first item is ID1, and the second item is ID2.
When I click the first svg item it should emit a signal. Similarly, when I click the second svg item it should emit another signal. But I dont want to use coordinates of items.
My aim is this, items must say to me their IDs when I click on them. **But I don't want to use coordinates of items. I can not figure it out how, please give me an advise.
Regards.