I have the qmainwindow which homes several qgraphicsitems(an inherited class from qgraphicsitems) within a qgraphicsview. These items contains their personal items which are inherited from qgraphicsitems also. These items listen to mouse press events. These items also have their own other data properties such as custom id.
I can pass mouse events from these items to the main window. I need to pass the above said custom id of the clicked item to the main window also with the event, so that main window can change its appearance to suite the clicked item.
What way can i do this ??