aamer4yu
10th November 2006, 05:16
I want to know if i can restrict graphics items within a region of the view.:confused:
I want that items should not be moved beyond a point in the view. Is there some inbuilt function to do so ? Or I have to implement my own code for that ??
I have tried setSceneRect, but it just restricts the scrollbars, not dragging of the items.
Also if someone can throw light on setFrameRect ? I didnt understand it much :(
playing with setFrameRect just showed part of the view area, I cudnt get with reference to what the frame rect is set ?
I want that items should not be moved beyond a point in the view. Is there some inbuilt function to do so ? Or I have to implement my own code for that ??
I have tried setSceneRect, but it just restricts the scrollbars, not dragging of the items.
Also if someone can throw light on setFrameRect ? I didnt understand it much :(
playing with setFrameRect just showed part of the view area, I cudnt get with reference to what the frame rect is set ?