KWidgetsAddons
ktwofingerswipe.h
154 * Set the maximum duration of the swipe gesture. If @param i is negative, it will be set to null.
QGesture * create(QObject *target) override
Qt called this member to create a new QGesture object.
Definition ktwofingerswipe.cpp:40
void setMaxSwipeTime(int i)
Set the maximum duration of the swipe gesture.
Definition ktwofingerswipe.cpp:120
int minSswipeDistance() const
Definition ktwofingerswipe.cpp:129
Result recognize(QGesture *gesture, QObject *watched, QEvent *event) override
Handles the given event for the watched object and update the gesture object.
Definition ktwofingerswipe.cpp:46
void setSwipeDistance(int i)
Set the minimum distance of the swipe gesture.
Definition ktwofingerswipe.cpp:134
void setPos(QPointF pos)
Sets the position, relative to the widget.
Definition ktwofingerswipe.cpp:174
void setSwipeAngle(qreal swipeAngle)
Sets the angle of the swipe gesture.
Definition ktwofingerswipe.cpp:203
QGesture(QObject *parent)
QGestureRecognizer()
typedef Result
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.