KWin
|
#include <gestures.h>
Public Member Functions | |
GestureRecognizer (QObject *parent=nullptr) | |
~GestureRecognizer () override | |
void | registerSwipeGesture (SwipeGesture *gesture) |
void | unregisterSwipeGesture (SwipeGesture *gesture) |
void | registerPinchGesture (PinchGesture *gesture) |
void | unregisterPinchGesture (PinchGesture *gesture) |
int | startSwipeGesture (uint fingerCount) |
int | startSwipeGesture (const QPointF &startPos) |
void | updateSwipeGesture (const QPointF &delta) |
void | cancelSwipeGesture () |
void | endSwipeGesture () |
int | startPinchGesture (uint fingerCount) |
void | updatePinchGesture (qreal scale, qreal angleDelta, const QPointF &posDelta) |
void | cancelPinchGesture () |
void | endPinchGesture () |
Definition at line 170 of file gestures.h.
KWin::GestureRecognizer::GestureRecognizer | ( | QObject * | parent = nullptr | ) |
Definition at line 84 of file gestures.cpp.
|
overridedefault |
void KWin::GestureRecognizer::cancelPinchGesture | ( | ) |
Definition at line 367 of file gestures.cpp.
void KWin::GestureRecognizer::cancelSwipeGesture | ( | ) |
Definition at line 281 of file gestures.cpp.
void KWin::GestureRecognizer::endPinchGesture | ( | ) |
Definition at line 375 of file gestures.cpp.
void KWin::GestureRecognizer::endSwipeGesture | ( | ) |
Definition at line 289 of file gestures.cpp.
void KWin::GestureRecognizer::registerPinchGesture | ( | KWin::PinchGesture * | gesture | ) |
Definition at line 112 of file gestures.cpp.
void KWin::GestureRecognizer::registerSwipeGesture | ( | KWin::SwipeGesture * | gesture | ) |
Definition at line 91 of file gestures.cpp.
int KWin::GestureRecognizer::startPinchGesture | ( | uint | fingerCount | ) |
Definition at line 305 of file gestures.cpp.
int KWin::GestureRecognizer::startSwipeGesture | ( | const QPointF & | startPos | ) |
Definition at line 576 of file gestures.cpp.
int KWin::GestureRecognizer::startSwipeGesture | ( | uint | fingerCount | ) |
Definition at line 571 of file gestures.cpp.
void KWin::GestureRecognizer::unregisterPinchGesture | ( | KWin::PinchGesture * | gesture | ) |
Definition at line 120 of file gestures.cpp.
void KWin::GestureRecognizer::unregisterSwipeGesture | ( | KWin::SwipeGesture * | gesture | ) |
Definition at line 99 of file gestures.cpp.
void KWin::GestureRecognizer::updatePinchGesture | ( | qreal | scale, |
qreal | angleDelta, | ||
const QPointF & | posDelta ) |
Definition at line 332 of file gestures.cpp.
void KWin::GestureRecognizer::updateSwipeGesture | ( | const QPointF & | delta | ) |
Definition at line 199 of file gestures.cpp.