I want to know whether by default QgraphicsView provides finger scrolling in case of Touch Screen devices or we need to have our own kineticscroller class to achieve it.
I want to have one QListWidget which will have some custom contols added to it and i am adding that list to scene and scene to graphicsview now i want to have finger scroller, whether graphics view will have this property by default ?
Qt provides the
QGestureclass for handling gesture events. You can inherit from this class and create any gesture you want or use one of the predefined gestures likeQPanGesture,QPinchGestureandQSwipeGesture.Gestures can be enabled for all
QWidgetsand forQGraphicsScenewhich is probably what you want in order to move the items in yourQGraphicsView. Notice that in most cases you have to explicitly write code about how every gesture will be evaluated.For an example of gesture programming have a look at the image gestures example. Also have a look at the Gestures Programming article of Qt docs.
If you want multi-touch support in your application have a look at this video from the 2009 DevDays. You may also want to check the
QTouchEventclass.