Hi friends,
Is it possible to move the mouse cursor only in a particular region of a graphicsview or scene . i just want to restrict the mouse move only in specific rectangular region.
currently i tried eventFilter but is there any other way ...
Thanks & Regards,
Wagmare


Reply With Quote

Do you want to restrict the physical cursor pointer (I don't think Qt can do that) or mouse events you're getting from the widget (Graphics View can do that)? If the requirement is to force the user to choose some point from within a restricted area then restricting events should be enough.

Bookmarks