Hello forum,
I am over-ridden the mousePressEvent(QGraphicsSceneMouseEvent) of the QGraphicsScene and doing the following to find if there is any item under the mouse press or not:
Qt Code:
if(item) cout << "Item found under the mouse press " << endl;To copy to clipboard, switch view to plain text mode
When i drag the item into the scene i can see that there is an item, the mousePressEvent() is not detecting it. Is there any basic logic that i am missing ?
Thanks
Sajjad
Bookmarks