on xenial help sign in
Improve documentation of minSpeed
7c0cc27Daniel d'Andrada
plugins/Ubuntu/Gestures/DirectionalDragArea.h+3−1
@@ -90,7 +90,9 @@ class UBUNTUGESTURES_EXPORT DirectionalDragArea : public QQuickItem {
90 Q_PROPERTY(qreal distanceThreshold READ distanceThreshold WRITE setDistanceThreshold
90 Q_PROPERTY(qreal distanceThreshold READ distanceThreshold WRITE setDistanceThreshold
91 NOTIFY distanceThresholdChanged)
91 NOTIFY distanceThresholdChanged)
92
92
93+ // Minimum speed a gesture needs to have in order to be recognized as a
94+ // directional drag.
93− // In units per second
95+ // In pixels per second
94 Q_PROPERTY(qreal minSpeed READ minSpeed WRITE setMinSpeed NOTIFY minSpeedChanged)
96 Q_PROPERTY(qreal minSpeed READ minSpeed WRITE setMinSpeed NOTIFY minSpeedChanged)
95
97
96 // A gesture will be rejected if more than maxSilenceTime milliseconds has
98 // A gesture will be rejected if more than maxSilenceTime milliseconds has