summaryrefslogtreecommitdiffstats
path: root/qkineticscroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'qkineticscroller.h')
-rw-r--r--qkineticscroller.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/qkineticscroller.h b/qkineticscroller.h
index a574891..145f5cb 100644
--- a/qkineticscroller.h
+++ b/qkineticscroller.h
@@ -58,7 +58,7 @@ class QKineticScrollerPrivate;
class Q_GUI_EXPORT QKineticScroller
{
public:
- ~QKineticScroller();
+ virtual ~QKineticScroller();
bool isEnabled() const;
void setEnabled(bool b);
@@ -89,11 +89,10 @@ public:
DragVelocitySmoothingFactor, // qreal [0..1/s] (complex calculation involving time) v = v_new* DASF + v_old * (1-DASF)
LinearDecelerationFactor, // qreal [m/s^2]
- ExponentialDecelerationBase, // qreal [0..1]
- OvershootSpringConstant, // qreal [0..1]
+ ExponentialDecelerationBase, // qreal
+ OvershootSpringConstant, // qreal [kg/s^2]
OvershootDragResistanceFactor, // qreal [0..1]
OvershootMaximumDistance, // QPointF([m], [m])
- OvershootMaximumVelocity, // qreal [m/s]
DragStartDistance, // qreal [m]
DragStartDirectionErrorMargin, // qreal [m]