QGraphicsView already has panning/scrolling functionality. Set the drag mode. Look at "Colliding Mice" demo for an example. If you want to know if the mouse is over an item, then implement hoverEnterEvent() and hoverLeaveEvent() for the item.
QGraphicsView already has panning/scrolling functionality. Set the drag mode. Look at "Colliding Mice" demo for an example. If you want to know if the mouse is over an item, then implement hoverEnterEvent() and hoverLeaveEvent() for the item.
Thanks for the reply, i have done that now.
Bookmarks