Flickable interface with snapping to certain spots
-
Hello there, currently I'm working on a graphical user interface to be used with a touchscreen. The flickable container that is used is a series of images that follow each other horizontally (so far so good). Now, the problem is that I want the content that's seen in the flickable container to be snapped to certain points; whenever the user stops with inputting (releases the mouse button, etc.) I want the flickable to move so, that the current position is changed to nearest of these snapping points.
Any help would be greatly appreciated.
-
Maybe "PathView":http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-pathview.html will help you.