Good Day,
Subclassed QGraphicsView
Created functions for mouseMove & mousePressed events accordingly
after that a user must be given the option to move the image in graphicsView
how do I disable the mouseEvent functions so the user can move the image
Is there a way I can create a Toggle button of sorts to decide which mouseEvent must be calledQt Code:
newImage2->setFlag(QGraphicsItem::ItemIsMovable); // this does not work because the mouse events were overriddenTo copy to clipboard, switch view to plain text mode
Ideas please
Kind Regards
Bookmarks