This will be used by Flickable in combination with the drag distance
to improve the drag start detection logic.
Change-Id: Ica30042ef3d15041d857b07fa4173dde3d3f900f
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
KeyboardAutoRepeatRate,
ShowIsFullScreen,
PasswordMaskDelay,
- FontSmoothingGamma
+ FontSmoothingGamma,
+ StartDragVelocity
};
virtual QVariant styleHint(StyleHint hint) const;
return 0;
case FontSmoothingGamma:
return qreal(1.7);
+ case StartDragVelocity:
+ return 0; // no limit
}
return 0;
return hint(QPlatformIntegration::StartDragTime).toInt();
}
+int QStyleHints::startDragVelocity() const
+{
+ return hint(QPlatformIntegration::StartDragVelocity).toInt();
+}
+
int QStyleHints::keyboardInputInterval() const
{
return hint(QPlatformIntegration::KeyboardInputInterval).toInt();
int mouseDoubleClickInterval() const;
int startDragDistance() const;
int startDragTime() const;
+ int startDragVelocity() const;
int keyboardInputInterval() const;
int keyboardAutoRepeatRate() const;
int cursorFlashTime() const;