Hi,
I am using QGrphicsItem, QGraphicsScene and QGraphicsView, i have the QGrphicsItem movable flag enabled and i want the items movement to be restricted inside the scene, how to achieve the same??
i am using
Qt Code:
graphicsView->setScene(scene); scene->setSceneRect(graphicsView->rect());To copy to clipboard, switch view to plain text mode
Bookmarks