Style class for PagedViewport.
More...
#include <pagedviewportstyle.h>
Detailed Description
Style class for PagedViewport.
The following styling attributes are provided:
- drag-threshold - defines a threshold distance to drag the view until a page change occurs when the pointer is released - from 1.0, meaning a page's width, to zero.
- velocity-threshold - defines the minimum velocity of a flick gesture that causes a page change, setting this to a smaller value allows the page to be changed with smaller gestures
- page-snap-spring-k - k constant of the spring model used when the view snaps to a page, higher value causes a faster snap.
- page-snap-friction-c - friction constant used when the view was snaps to a page, affects the damping of the snap.
- slide-limit - defines the maximum number of pages to change per gesture, value of zero means there's no limit.
- pan-threshold - defines the length of swipe before it taken determined to be panning
- See also:
- MPannableWidgetStyle
The documentation for this class was generated from the following file: