Style class for standard pannable widgets.
More...
Inherits MWidgetStyle.
List of all members.
Detailed Description
Style class for standard pannable widgets.
The pannable widget provides following styling attributes:
- pan-threshold - defines threshold distance used to recognize panning gesture.
- pan-click-threshold - defines maximum speed of the panning that will be stopped by clicking. If the speed is lower, mousePress event will be relayed to panned widget.
- pointer-spring-k - k constant of the spring model used when the user is panning the view.
- friction-c - friction constant used when the user is panning the view.
- sliding-friction-c - friction constant used when the user released the finger and the view is moved by physics.
- border-spring-k - friction constant used when the view was moved beyond normal range by user and needs to return to the correct bounds.
- border-friction-c - friction constant used when the view was moved beyond normal range by user and needs to return to the correct bounds.
- maximum-velocity - maximum speed that the panning of the pannable viewport can reach.
- See also:
- MPannableWidget MWidgetStyle
Property Documentation
qreal MPannableWidgetStyle::borderFrictionC [read, write] |
qreal MPannableWidgetStyle::borderSpringK [read, write] |
qreal MPannableWidgetStyle::frictionC [read, write] |
qreal MPannableWidgetStyle::maximumVelocity [read, write] |
qreal MPannableWidgetStyle::maximumVelocityForPress [read, write] |
qreal MPannableWidgetStyle::panClickThreshold [read, write] |
qreal MPannableWidgetStyle::panThreshold [read, write] |
qreal MPannableWidgetStyle::pointerSpringK [read, write] |
qreal MPannableWidgetStyle::slidingFrictionC [read, write] |