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:
  1. graphicsView->setScene(scene);
  2. scene->setSceneRect(graphicsView->rect());
To copy to clipboard, switch view to plain text mode