I have more QGraphicsItems on top of each other. How can I make hover event available for all items? Only the last added item (the one on the top) accepts hover events.
Thanks
I have more QGraphicsItems on top of each other. How can I make hover event available for all items? Only the last added item (the one on the top) accepts hover events.
Thanks
You could simulate those events, you "just" have to:
mouseMoveEvent in a QGraphicsView or QGraphicsScene derived class,QGraphicsView::items(QPointF) get the item list below the mouseQGraphicsScene::sendEvent whenever an item is added or removed from the list for all items but the one at the top of the stack (which is already handled).