30 bool isHoldType()
const;
31 bool isAvailable(KisInputActionGroupsMask mask)
const override;
33 void setMinimumTouchPoints(
int min );
34 void setMaximumTouchPoints(
int max );
36 void setIsTouchPainting(
bool value);
38 bool matchTapType(
const QTouchEvent *event, Qt::TouchPointStates allowedStates);
39 bool matchDragType(
const QTouchEvent *event, Qt::TouchPointStates allowedStates);
40 bool matchHoldType(
const QTouchEvent *event, Qt::TouchPointStates allowedStates);
41 bool matchTouchPoint(
const QTouchEvent *event, Qt::TouchPointStates allowedStates);
43 qreal minDragThreshold()
const;
44 void setMinDragThreshold(qreal
value);
47 return Qt::TouchPointStationary | Qt::TouchPointPressed | Qt::TouchPointMoved | Qt::TouchPointReleased;
51 return Qt::TouchPointStationary | Qt::TouchPointPressed | Qt::TouchPointMoved;
54 static int countTouchPoints(
const QTouchEvent *event, Qt::TouchPointStates allowedStates);
56 static qreal touchDragDistance(
const QTouchEvent *event, Qt::TouchPointStates allowedStates);